Five patterns SplObjectStorage solves better than arrays: observers, cycles, sets, metadata, and identity-based tracking. With code.
How PHP’s SplObjectStorage Solves Problems You Didn’t Know You Had
This article was originally published on Level Up Coding and is republished here under RSS syndication for informational purposes. All rights and intellectual property remain with the original author. If you are the author and wish to have this article removed, please contact us at [email protected].