Fix call by reference for PHP 5.4