Date: 04/25/01
- Next message: James Johnson: "[phplib] Simple variables question"
- Previous message: Vivek Kumar Agrawal: "[phplib] Session Management!!!"
- Next in thread: Nick Obukhov: "Re: [phplib] Warning message in session.inc"
- Maybe reply: Nick Obukhov: "Re: [phplib] Warning message in session.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello!
I have a warning message:
Warning: Call-time pass-by-reference has been deprecated - argument passed
by value; If you would like to pass it by reference, modify the
declaration of [runtime function name](). If you would like to enable
call-time pass-by-reference, you can set allow_call_time_pass_reference to
true in your INI file. However, future versions may not support this any
longer. in /home/photoforumru/photoforum.ru/php/session.inc on line 262
And the same messages on lines 273,304,305,311 in session.inc
I know that I can stop it if I set allow_call_time_pass_reference = On in
PHP.INI, but I have not access to this file and can not change it ("this
method will not support by PHP later").
Who can help me to change the code:
-------------------------
while ( "array" == $l ) {
## Structural recursion
$this->serialize($prefix."['".ereg_replace("([\\'])", "\\\\1",
$k)."']", &$str);
eval("\$l = gettype(list(\$k)=each(\$$prefix));");
}
-------------------------
so it would works good? If I change &$str to $str, the warning message
stoped, but session does not work properly.
Regards,
Nick Obukhov
P.S. I'm trying to migrate from PHP3 to PHP4 and I'm using PHPLib 7.2c,
PHP 4.04
---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>
- Next message: James Johnson: "[phplib] Simple variables question"
- Previous message: Vivek Kumar Agrawal: "[phplib] Session Management!!!"
- Next in thread: Nick Obukhov: "Re: [phplib] Warning message in session.inc"
- Maybe reply: Nick Obukhov: "Re: [phplib] Warning message in session.inc"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

