Removed all reference signs on function calls and if needed replaced by reference signs on function definition, see note in http://php.net/manual/en/language.references.pass.php. In 5.3.0 a reference sign on the function call was tolerated and no warning was given on my test platform (PHP 5.3.17).