Travis Swicegood wrote: > On Nov 6, 2008, at 11:59 PM, Ronald Chmara wrote: > >> 1. All built-in PHP functions should be aliased in the worlds most >> used languages, so that declaring a "function" could also be written >> as: "funktsioon", "otstarve", "λειτουργία ", "ویرایش", "Fonction", >> "funcionar", "fungsi", "funzionare", "қызмет", "可算", "メソッド", >> "funkcja" (etc.) >> >> Can I get a +1? > > +1, but it'd be a ++1 if we could also take into consideration > dyslexic programmers. I would like to be able to write: > > } (oof$) cnuf_emos noitcnuf > ;oof$ ohce > { > I'd say that's more left-handed than dyslexic. Of course, handling mistakes in variable names would reduce the number of possibilities available:
$foo++; echo $ofo; if ($oof > 4) break; I am now very tempted to write something that does this. I can think of a fairly easy and not-hugely-intensive implementation, too. I'd imagine the canonical form for each variable would be an anagram dictionary-style representation, with the letters arranged into alphabetical order for storage/lookup. Mead Raving (er, I mean, "Dave Ingram") -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php