Re: [RFC] Conditional INI support

From: Date: Mon, 11 Feb 2008 05:42:33 +0000
Subject: Re: [RFC] Conditional INI support
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-35351@lists.php.net to get a copy of this message
Hi!
1) Ternary support for values setting = ${value?1:2}
I think it's an overkill. If you need PHP, write it in PHP. Building another programming language into the config system looks wrong to me. It's complex enough as it is. We already have the programming language, and we have ini_set, it should be enough for doing advanced stuff.
3) Add more values to INI parsing, namely: ${php.version} = 50300 ${php.debug} = 0 ${php.zts} = 0 ${php.sapi} = CLI
What these would be used for? -- Stanislav Malyshev, Zend Software Architect stas@zend.com http://www.zend.com/ (408)253-8829 MSN: stas@zend.com

« previous php.internals (#35351) next »