Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35372 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 11413 invoked by uid 1010); 11 Feb 2008 13:13:52 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 11397 invoked from network); 11 Feb 2008 13:13:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2008 13:13:52 -0000 Authentication-Results: pb1.pair.com smtp.mail=jani.taskinen@sci.fi; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=jani.taskinen@sci.fi; sender-id=unknown Received-SPF: error (pb1.pair.com: domain sci.fi from 63.208.196.179 cause and error) X-PHP-List-Original-Sender: jani.taskinen@sci.fi X-Host-Fingerprint: 63.208.196.179 mho-02-bos.mailhop.org Received: from [63.208.196.179] ([63.208.196.179:61921] helo=mho-02-bos.mailhop.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B5/51-64922-F0A40B74 for ; Mon, 11 Feb 2008 08:13:51 -0500 Received: from [81.22.163.71] (helo=[10.6.109.198]) by mho-02-bos.mailhop.org with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.68) (envelope-from ) id 1JOYTl-00094K-0p; Mon, 11 Feb 2008 13:13:49 +0000 X-Mail-Handler: MailHop Outbound by DynDNS X-Originating-IP: 81.22.163.71 X-Report-Abuse-To: abuse@dyndns.com (see http://www.mailhop.org/outbound/abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX1+vQoGEDWVWIMOo9FoNJJDnuR/hJ4zN+ac= Reply-To: jani.taskinen@iki.fi To: Marcus Boerger Cc: PHP Internals List In-Reply-To: <971575499.20080209153315@marcus-boerger.de> References: <971575499.20080209153315@marcus-boerger.de> Content-Type: text/plain Date: Mon, 11 Feb 2008 15:13:46 +0200 Message-ID: <1202735626.7973.10.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.8.3 (2.8.3-2.fc6) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Conditional INI support From: jani.taskinen@sci.fi (Jani Taskinen) 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/