The journey to understanding how variable references are managed in PHP
Not too long ago I ran into a bug that was caused by a piece of code having access to (and modifying) a variable that was referenced in a static cache (basically a static array property, storing objects). Without going too much into detail (I...