ID: 9863
Updated by: hholzgra
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Assigned To: 

can't reproduce anymore, please ignore

Previous Comments:

[2001-03-20 06:27:17] [EMAIL PROTECTED]
consider the following code snippet:

function foo() {
  global $bar;


echo $bar;

in PHP 3 calling foo() will create a global variable $bar
if it doesn't exist

in PHP 4 there will be no $bar after calling foo

i think PHP 4 should behave like PHP 3 here not only due
to compatibility reasons but also due to the "least supprise" rule


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to