3 ms·
You could write that if you wanted, using __call, would be like 10 lines of code or something.
by TamDenholm 15y ago
You could write that if you wanted, using __call, would be like 10 lines of code or something.
- swivelmaster 15y agoPhp arrays don't act as objects and have no methods, so I'm not sure what you are suggesting.
- abredow 15y agoYou can create an object that implements the ArrayAccess interface, but it doesn't extend the native array object in the traditional sense.