Hi,
I just got a warning message on a system using php version 4.3.1:
snip
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
On Thursday 19 June 2003 23:53, dorgon wrote:
I just got a warning message on a system using php version 4.3.1:
snip
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
Maybe, there's a setting for this in php.ini.
yes. there is:
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.
pass-by-reference has not been dropped, it is Call-time
Isn't Call-time pass-by-reference the following
$variable = myFunction1($x); Where
myFunction1() is defined as function myFunction1($x)
Where as pass-be-reference is called as
$variable = myFunction2($x); Where is defined as function myFunction2
($Obj);
I think the latter is better anyways,
I think you are absolutely right.
thanx!
I'll fix it and see if the warning still remains.
/Dorgon
Bobby Patel wrote:
Isn't Call-time pass-by-reference the following
$variable = myFunction1($x); Where
myFunction1() is defined as function myFunction1($x)
Where as pass-be-reference is called as
On Friday 20 June 2003 01:11, dorgon wrote:
Maybe, there's a setting for this in php.ini.
yes. there is:
Yes, I know there is ;-) The 'maybe' is maybe you have it set different on the
two systems.
declaration of [runtime function name](). If you would like to enable
call-time
Thanks for the explanation.
Yes, let us drop call-time pass-by-reference!! I'm with you. ;-)
/dorgon
Jason Wong wrote:
On Friday 20 June 2003 01:11, dorgon wrote:
Maybe, there's a setting for this in php.ini.
yes. there is:
Yes, I know there is ;-) The 'maybe' is maybe you have it set
7 matches
Mail list logo