Error: call-time pass-by-reference has been removed

This error may occur when PHP is upgraded to version 5.4 of PHP:
If a function (or class) is used in this way, a PHP Fatal error will result :
foo(& $var);
In fact, that’s what’s going to happen in PHp5.3, but it’s just going to Deprecated.

// Right
function myFunc(&$arg) { do something... }
myFunc($var);//Call myFunc
function myFunc($arg) { do something... }
myFunc(&$arg);//Call myFunc

Read More: