Re: [PHP] Call-time pass-by-reference ??

2005-01-26 Thread Jason Wong
On Thursday 27 January 2005 14:47, Michael Gale wrote: I am trying to start a small php ncurses app but the documenatation is not helping. OK, I've never used the ncurse functions before, but cursory glance at the manual results in the following observations: What does the following mean:

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

Re: [PHP] Call-time pass by reference has deprecated

2001-05-10 Thread Aaron Tuller
ummm, not to be insensitive but that error told you everything you want to know. passing by reference at call time is putting an in front of a variable. if you want to make it work, either modify your script to not need call time pass by reference (you can change the function declaration