PHP 5.4 fix (call-time pass-by-reference)

Call-time pass-by-reference has been deprecated as of PHP 5.3.0 and
since PHP 5.4.0 it produces fatal errors.