Justtechjobs.com Find a programming school near you






Online Campus Both


php4-beta | 199912

[PHP4BETA] Problem passing by reference to a global in a function From: Jade Meskill (jmeskill <email protected>)
Date: 12/30/99

Hello all,

I am having a problem passing by reference to a global variable inside of a
function. The variable seems to be unset once the function has exited. The
same procedure works as long as I do not call the variables inside of a
function. To better explain my predicament, I have created four simple test
cases. The names and content of them are pretty much self explanatory. Any
suggestions? If I am trying to do something crazy please let me know, but
as far as I can tell, this should work. Thanks!! :)

I am using latest CVS (December 30, 1999 approx 6pm MST) on Redhat 6.1,
Apache 1.3.9 as a DSO.
./configure --with-xml --with-mysql --with-apxs --enable-track-vars --disabl
e-inline --disable-debugging

I checked the apache error logs, and PHP is not reporting anything
unusual... thanks!

Jade Meskill
Software Developer
Liberty Distribution Company
Email : jmeskill <email protected>

-- 
PHP 4.0 Beta Mailing List <http://www.php.net/version4/>
To unsubscribe, e-mail: php4beta-unsubscribe <email protected>
For additional commands, e-mail: php4beta-help <email protected>
To contact the list administrators, e-mail: php4beta-admin <email protected>