| That means that you should create a .htaccess file containing that:
|
| php_value allow_call_time_pass_reference 1
|
| That should work :)
But as the errormessage mentioned it may not supported in future version.
I think if you declare your function arguments to be passed by variables
Hello C,
That means that you should create a .htaccess file containing that:
php_value allow_call_time_pass_reference 1
That should work :)
C> Prior to 4.0.6 it worked fine, however, now when I try:
C> $result = call_user_func("foo", &$bar);
C> function foo( &$bar ) {
C>$bar .= 'foobar'
Prior to 4.0.6 it worked fine, however, now when I try:
$result = call_user_func("foo", &$bar);
function foo( &$bar ) {
$bar .= 'foobar';
return 1;
}
I get this:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference
3 matches
Mail list logo