A WeakMap is a new class in PHP 8 that has array like behaviour. Unlike a regular arrays, WeakMaps are keyed by objects. These objects are referenced in a weak way.
In this video, you'll see what that means, and how Weakmaps can be used
+32 3 292 56 79
Click to call us