PHP <5.5 does *very* strange things with references

Seriously, wat? http://stackoverflow.com/a/4328049/995325