call_user_func('array_pop', $myarray);
gives 'Parameter 1 to array_pop() expected to be a reference, value given', while
call_user_func('array_pop', &$myarray);
gives 'Call-time pass-by-reference has been deprecated'.
So what am I supposed to do? I am on "PHP Version 5.3.5" on Windows, and turning of deprecated warnings isn't an option.
Thanks!