#23288 [NEW]: $GLOBALS & INCLUDE

From: Date: Sun, 20 Apr 2003 19:54:07 +0000
Subject: #23288 [NEW]: $GLOBALS & INCLUDE
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-37926@lists.php.net to get a copy of this message
From: joshua at six6 dot nu Operating system: red PHP version: 4.3.1 PHP Bug Type: Variables related Bug description: $GLOBALS & INCLUDE /* test.php $html_smalls = ("sups"); \* /* test2.php smalls(); function smalls() { include ("test.php"); echo $GLOBALS['html_smalls']; } It won't output 'sups' if a file is included in a function. -- Edit bug report at http://bugs.php.net/?id=23288&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23288&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23288&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23288&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23288&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23288&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23288&r=support Expected behavior: http://bugs.php.net/fix.php?id=23288&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23288&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23288&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23288&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23288&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23288&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23288&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23288&r=gnused

« previous php.bugs (#37926) next »