Re: [RFC] Conditional INI support

From: Date: Mon, 11 Feb 2008 13:13:46 +0000
Subject: Re: [RFC] Conditional INI support
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-35372@lists.php.net to get a copy of this message
On Sat, 2008-02-09 at 15:33 +0100, Marcus Boerger wrote: > 3) Add more values to INI parsing, namely: > > ${php.version} = 50300 > ${php.debug} = 0 > ${php.zts} = 0 > ${php.sapi} = CLI And btw. This also works already: php_sapi = PHP_SAPI Parser checks this kind of constant strings for equialent in the PHP side constants. (zend_get_constant()) ${foo} either refers to a directive set in the file prior the usage or if not set, to a ENV variable. --Jani -- Patches/Donations: http://pecl.php.net/~jani/

« previous php.internals (#35372) next »