|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2003-11-08 01:52 UTC] myle34 at hotmail dot com
  [2003-11-08 01:53 UTC] myle34 at hotmail dot com
  [2003-11-26 13:16 UTC] kharris at lhinfo dot com
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 08:00:01 2025 UTC | 
Description: ------------ I'm not sure if this is a bug, but I haven't found anything so far stating that it isn't so... I am using Windows XP Home and Apache 2.0.47 with PHP beta 2. Reproduce code: --------------- // Uncommenting the following makes it work... // global $foo; $foo = 'bar'; // Uncommenting the following doesn't help... // global $foo; function Test() { global $foo; echo $foo; } Expected result: ---------------- bar Actual result: -------------- No output