Re: Creating custom superglobals

From: Date: Mon, 14 Aug 2006 15:32:26 +0000
Subject: Re: Creating custom superglobals
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-240639@lists.php.net to get a copy of this message
Robert Cummings wrote:
Which will make your application incompatible with any distribution where runkit is not enabled :/ Which kinda sucks, I wish more stuff was part of the core. Cheers, Rob.
I agree, this module looks very powerful. The ability to write wrappers around internal functions by renaming the existing functions could come in very handy, and defining new superglobals would help make code more readable (IE, $settings['foo'] rather than $GLOBALS['settings']['foo']). Heck, even runkit_lint_file would be somewhat helpful, since it's save us from having to make a shell call for syntax checking. Regards, Adam.

« previous php.general (#240639) next »