Opinion about the using $GLOBALS directly
| From: | Sancar Saran | Date: | Wed, 19 Dec 2007 10:13:33 +0000 |
| Subject: | Opinion about the using $GLOBALS directly | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-266065@lists.php.net to get a copy of this message | ||
Hello list.
I want know to you opinions about using $GLOBALS directly.
like
$GLOBALS['myString'] = 'test';
$GLOBALS['myArray']['this'] = 'this';
$GLOBALS['myArray']['that'] = 'that';
$GLOBALS['myClassObj] = new SomeClass;
Regards
Sancar