I am currently working on a container for a php project that would seem like a perfect candidate to simplify with the ArrayAccess interface.
I feel like this would be great but the only drawback I see to implementing the interface might be performance.
Is there a significant performance hit when methods are being called from an offsetGet or offsetSet method? Are there any other downsides to using ArrayAccess?
Cheers.