Re: Problem with reference variables.

From: Date: Thu, 07 Nov 2002 19:07:45 +0000
Subject: Re: Problem with reference variables.
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-123212@lists.php.net to get a copy of this message
On Friday 08 November 2002 02:35, R B wrote: > And when i call the myTestFunction function, i have to put & in the > variable? > > ex: > function myTestFunction(&$x) { > ........ funtion stuff here > } > > myTestFunction(&$x) No. > or > > myTestFunction($x) ? Yes. -- Jason Wong -> Gremlins Associates -> www.gremlins.com.hk Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * /* A great empire, like a great cake, is most easily diminished at the edges. -- B. Franklin */

« previous php.general (#123212) next »