Re: $GLOBALS problem

From: Date: Thu, 08 Apr 1999 17:59:15 +0000
Subject: Re: $GLOBALS problem
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-18@lists.php.net to get a copy of this message
$GLOBALS doesn't work yet - we had to think of a solution that doesn't impose a huge performance penalty as the PHP3 solution did... I'll try to get it working this evening. Zeev At 10:42 08/04/99 +0200, Stig Bakken wrote: >Don't know if this is a known bug: > ><?php > >function foo() { > print "x=".$GLOBALS['x']."\n"; >} > >for ($x = 1; $x < 10; $x++) { > foo(); >} > >?> > > - Stig > > -- Zeev Suraski <zeev@zend.com> http://www.zend.com/ For a PGP public key, finger bourbon@netvision.net.il

« previous php.version4 (#18) next »