PHP <5.5 does *very* strange things with references

Seriously, wat? http://stackoverflow.com/a/4328049/995325
Merge pull request #107 from LordAro/la-fix

PHP <5.5 does *very* strange things with references