News for hackers. Stuff that matters.
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.
Re:PHP Short Syntax for Arrays: developers say no. by abredow on Tuesday May 31, 2011 @11:40PM (#2605853)
You can create an object that implements the ArrayAccess interface, but it doesn't extend the native array object in the traditional sense.