Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35351 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 87530 invoked by uid 1010); 11 Feb 2008 05:42:40 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 87515 invoked from network); 11 Feb 2008 05:42:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2008 05:42:40 -0000 Authentication-Results: pb1.pair.com smtp.mail=stas@zend.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=stas@zend.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.162 as permitted sender) X-PHP-List-Original-Sender: stas@zend.com X-Host-Fingerprint: 212.25.124.162 mail.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.162] ([212.25.124.162:62688] helo=mx1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 55/6F-64922-F40EFA74 for ; Mon, 11 Feb 2008 00:42:40 -0500 Received: from us-ex1.zend.com ([192.168.16.5]) by mx1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Mon, 11 Feb 2008 07:42:39 +0200 Received: from [192.168.17.10] ([192.168.17.10]) by us-ex1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Sun, 10 Feb 2008 21:42:36 -0800 Message-ID: <47AFE049.3020507@zend.com> Date: Sun, 10 Feb 2008 21:42:33 -0800 Organization: Zend Technologies User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Marcus Boerger CC: PHP Internals List References: <971575499.20080209153315@marcus-boerger.de> In-Reply-To: <971575499.20080209153315@marcus-boerger.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 11 Feb 2008 05:42:36.0884 (UTC) FILETIME=[E8421140:01C86C70] Subject: Re: [PHP-DEV] [RFC] Conditional INI support From: stas@zend.com (Stanislav Malyshev) 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