$GLOBALS problem

From: Date: Thu, 08 Apr 1999 08:42:24 +0000
Subject: $GLOBALS problem
Groups: php.version4 
Request: Send a blank email to php-version4+get-15@lists.php.net to get a copy of this message
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

« previous php.version4 (#15) next »