Rasmus wrote: >I swore I would not have the same problem in PHP and thus the requirement >for people to be explicit about using global variables inside functions. >Hopefully it also forces a little bit of structure and organization on >people. Hear, hear and thank you Rasmus. It seems to me that the several other ways folks have listed to solve this one example indicates that we don't really need the temporary convenience of wide open globals (temporary as in it doesn't end up very convenient when they create problems). Visit the Gates Motel webgame: http://www.gameslate.com/gatesmotel/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- [PHP] PHP globals aren't really globals Christian Dechery
- Re: [PHP] PHP globals aren't really globals Thierry Coopman
- Re: [PHP] PHP globals aren't really globals Rasmus Lerdorf
- Re: [PHP] PHP globals aren't really globals Rog
- Re: [PHP] PHP globals aren't really global... John Vanderbeck
- Re: [PHP] PHP globals aren't really globals Christian Dechery
- Re: [PHP] PHP globals aren't really globals John Monfort
- Re: [PHP] PHP globals aren't really globals Rasmus Lerdorf
- RE: [PHP] PHP globals aren't really globals Boget, Chris
- RE: [PHP] PHP globals aren't really globals Christian Dechery
- RE: [PHP] PHP globals aren't really globals Boget, Chris
- Re: [PHP] PHP globals aren't really globals John Vanderbeck
- Re: [PHP] PHP globals aren't really globals Michael McGlothlin
- RE: [PHP] PHP globals aren't really globals Maxim Maletsky