Fix call-time pass-by-reference

To support PHP >= 5.4, call-time pass-by-reference must be avoided.
See http://fr2.php.net/manual/en/language.references.pass.php