Global Variables -- why not have them?

From: Date: Sat, 07 Jul 2001 18:55:52 +0000
Subject: Global Variables -- why not have them?
Groups: php.general 
Request: Send a blank email to php-general+get-56658@lists.php.net to get a copy of this message
I've been using PHP for several years now and one question has plagued me the entire time. Why doesn't PHP have global variables? Before someone says it, I do know PHP sort of does have global variables, but having to specify GLOBAL in any function I want to see that variable in disqualifies it from being a truly global variable IMHO.. I suppose I'm more curious than anything else.. Thanks! -Mitch

« previous php.general (#56658) next »