[PHP] call-time pass-by-reference feature really deprecated?

2003-06-19 Thread dorgon
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

Re: [PHP] call-time pass-by-reference feature really deprecated?

2003-06-19 Thread Jason Wong
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

Re: [PHP] call-time pass-by-reference feature really deprecated?

2003-06-19 Thread dorgon
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

Re: [PHP] call-time pass-by-reference feature really deprecated?

2003-06-19 Thread Bobby Patel
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,

Re: [PHP] call-time pass-by-reference feature really deprecated?

2003-06-19 Thread dorgon
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

Re: [PHP] call-time pass-by-reference feature really deprecated?

2003-06-19 Thread Jason Wong
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

Re: [PHP] call-time pass-by-reference feature really deprecated?

2003-06-19 Thread dorgon
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