On 05/31/2011 02:59 PM, Michael Shadle wrote: > Forgive me for injecting my $.02 here but what is the original reason > for changing the most basic language syntax to be a little bit > shorter? > > Is it hurting anyone to type out "array()" or something? > > I think it is silly that "shortening array syntax" is up for > discussion but ensuring Unicode compatibility isn't a higher priority. > Not to mention named parameters in functions. Or Consistent naming for > functions str_* vs str*, needle/haystack ordering, etc. If you're > wanting to augment or change fundamentals of the language why not > clean some stuff up there first?
Because most of those can't be done without breaking millions of lines of code out there. And a couple of people worked on Unicode for years and got very little support. That is not a small project. This short syntax for arrays is probably the most requested PHP feature right now and we have a working patch that doesn't break any existing code so the effort involved is minimal. If you have a working patch that solves the Unicode issues, by all means, show us. -Rasmus -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php