emanuele is now completely confused...
function foo(&$var)
{
$var++;
}
$a=5;
foo($a);
works.
function foo(&$var)
{
$var++;
}
$a=5;
call_user_func_array('foo', array($a));
But if I understood correctly (even though it may not be the case at that point) if it is changed to:
function foo($var)
{
$var++;
}
$a=5;
call_user_func_array('foo', array(&$a));
it should raise the:
Did I miss anything?