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

PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to