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/

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to