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';
C> return 1;
C> }
C> I get this:
C> Warning: Call-time pass-by-reference has been deprecated - argument passed
C> by value; If you would like to pass it by reference, modify the declaration
C> of call_user_func(). If you would like to enable call-time
C> pass-by-reference, you can set allow_call_time_pass_reference to true in
C> your INI file. However, future versions may not support this any longer.
C> Does that mean I can't pass by reference anymore? I kinda need to (the two
C> functions above are not my actual functions btw)....
------------------------------------------------
Ivan 'Faeton aka xetrix' Danishevsky
ICQ(240266) [EMAIL PROTECTED] www.xemichat.com
::: ����� �� ��p����� �� ������. ��� ���y�, �� �� ������. :::
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]