note 77245 deleted from language.variables.scope by nlopess
| From: | nlopess@php.net | Date: | Sat, 01 Sep 2007 12:06:19 +0000 |
| Subject: | note 77245 deleted from language.variables.scope by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-130015@lists.php.net to get a copy of this message | ||
Note Submitter: wm at tellinya dot com
Reason: useless
----
I've written a small tutorial here :
http://www.tellinya.com/art2/52/
about globals and a simple way to handle them by bringing all of them inside function scopes.
Hence you no longer have to worry about declaring globals as you write large functions that
may change often.
As I mentioned this should be used only where you need to use too many variables
to declare one by one in function header.
I only use this in a few functions I use for site but works great.
Hope it helps anyone! Any input is most welcome.