Getting the above warning with php-5.2.9. Patch attached (the current convention is to indicate pass-by-reference as part of the function declaration, not the function call).

Comments

NiklasBr’s picture

Issue summary: View changes

The patch works great. It should probably be considered by the author because since PHP 5.4 this feature has been remved completely:

PHP Fatal error: Call-time pass-by-reference has been removed…

PHP 5.4 has been around since march 2012, we should probably acknowledge its existence. Especially now that Ubuntu 14.04 Long Term Support includes PHP 5.5.