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)?
array(1,2,$value)isn't good enough for you?$a = array(1, 2, $value);? The only difference is you put array before it and use parenthesis instead of curly braces.[1, 2, {3: 4}]vs.array(1, 2, array(3 => 4))