note 111531 rejected from language.variables.superglobals by danbrown
| From: | danbrown@php.net | Date: | Mon, 04 Mar 2013 17:43:12 +0000 |
| Subject: | note 111531 rejected from language.variables.superglobals by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-193812@lists.php.net to get a copy of this message | ||
Note Submitter: otaviosoria at yahoo dot com dot br
----
Hi,
I have a library I use in all of my sites, and this library have some variables that I declare in
the begin of the code everytime.
And everytime a need to use this variables (and is a loot) a have to use the global keyword.
Can i declare this variables like a superglobal to don't need to use the global keyword
everytime?
Thanks :)