I don’t know if I can ask this question here. I usually mistake, but…
I every want the “array json style” on PHP, like $a = [1, 2, $value];. But I read that PHP developers HATE this idea because too many people wants, and they thought it best not to offer the feature.
The question is: WHY?
I thought that might conflict with some existing feature, but I could not think of any.
Additional: someone know what is the PHP dev features list (where it is presented and discussed)?
There is a possibly that this will be added in PHP 5.4. As you can see, Andrei Zmievski, Andi Gutmans, and Rasmus Lerdorf, all very important people in PHP’s development, voted in favour of the new syntax.
You can see all feature requests that are being proposed and voted on here.