So sprach »Boget, Chris« am 2001-08-31 um 10:04:49 -0500 : > Or, so you don't have to specify all the variables you are using > as globals (especially if you are using *alot* of them), you can > use: > > $GLOBALS[SCRIPT_FILENAME]; What's the gain? 'global ' has 7 characters, whereas '$GLOBALS[]' has 10 characters. So, you don't type less. And with using global(), the code is more orderly, and thus easier to read. Alexander Skwar -- How to quote: http://learn.to/quote (german) http://quote.6x.to (english) Homepage: http://www.digitalprojects.com | http://www.iso-top.de iso-top.de - Die günstige Art an Linux Distributionen zu kommen Uptime: 2 days 2 hours 0 minutes -- 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]
- [PHP] PHP_SELF or REQUEST_URI within Function ? Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI within Function... Jack Dempsey
- Re: [PHP] PHP_SELF or REQUEST_URI within Func... Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI within Function... Alexander Skwar
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Jason Murray
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Boget, Chris
- RE: [PHP] PHP_SELF or REQUEST_URI within Func... Alexander Skwar
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Boget, Chris
- Re: [PHP] PHP_SELF or REQUEST_URI within Func... Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI within Func... Alexander Skwar
- Re: [PHP] PHP_SELF or REQUEST_URI within ... Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI with... Alexander Skwar
- Re: [PHP] PHP_SELF or REQUEST_URI ... Arcadius A.
- Re: [PHP] PHP_SELF or REQUEST_URI within ... Philip Olson
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Boget, Chris
- RE: [PHP] PHP_SELF or REQUEST_URI within Function... Boget, Chris