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]

Reply via email to