Re:PHP Short Syntax for Arrays: developers say no.
by TamDenholm on Tuesday May 31, 2011 @10:08PM
(#2605603)
You could write that if you wanted, using __call, would be like 10 lines of code or something.
Re:PHP Short Syntax for Arrays: developers say no.
by swivelmaster on Tuesday May 31, 2011 @10:28PM
(#2605659)
Php arrays don't act as objects and have no methods, so I'm not sure what you are suggesting.
$newArray = $array->map("function_name");
Not gonna happen, but would be nice. Any extensions doing this?