On Wed, 21 Nov 2001, Chris Newbill wrote: > Bingo! > > What is happening is I have PHP code that will eventually be pulled from > a database, and some of them need to import the global scope (although I > have changed this for security reasons). Only way to do this (easily) > when eval'ing code is with extract($GLOBALS) or know which variables I > want and pull them in one at a time. Well for prototyping the code is > included in the file instead of being pulled from the DB. > > Here is the minimum script that will crash for me. Funny this used to > work, I tried it as an experiment and when it worked I proceeded as if > it would always work. > > <?php > > extract($GLOBALS); > > ?> > > Guess extract() doesn't like the recursion of $GLOBALS??
I don't get a crash with this.. -Andrei "This isn't right. This isn't even wrong." -- Wolfgang Pauli -- PHP Development 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]