Code not working in 4.1

From: Date: Thu, 03 Jan 2002 00:31:30 +0000
Subject: Code not working in 4.1
Groups: php.general 
Request: Send a blank email to php-general+get-79275@lists.php.net to get a copy of this message
I used to run PHP 4.0.3 and at the beginning of some functions that used a lot of global variables, I would add the following lines so I could access all the global variables inside the functions. foreach($GLOBALS as $GlobalVarName => $GlobalVarValue) { global $$GlobalVarName; } I upgraded to 4.1 and this code now causes PHP to die about 50-100 lines after it is executed. Any ideas? - Jonathan

« previous php.general (#79275) next »