ID:               11379
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: any
 PHP Version:      4.0.5
 New Comment:

I suggest the creating of a allways global scope's function like at
http://bugs.php.net/bug.php?id=14712


Previous Comments:
------------------------------------------------------------------------

[2001-06-09 15:04:49] [EMAIL PROTECTED]

Hello,

I just wanted to tell you that hidding Global scope variables when you
are inside a function seems really totally weird to me...

Why do I have to make a Global statement with hundreds of variables
names each time I want to build a function ?
I had created those as Global in the main code, so why the hell should
I declare them global again ???

Now each time I want to build a function, I think twice about it
because there are so much scope troubles that it is very hard to do...
aren't functions supposed to simplify the code ?

Anyway, thanks you very much for PHP, it is a great language... to me,
it would be absolutely perfect without this scope problem

Germain

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=11379&edit=1

Reply via email to