Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35520 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 82282 invoked by uid 1010); 15 Feb 2008 13:27:27 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 82267 invoked from network); 15 Feb 2008 13:27:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Feb 2008 13:27:27 -0000 Authentication-Results: pb1.pair.com header.from=chrisstocktonaz@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=chrisstocktonaz@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 66.249.82.236 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: chrisstocktonaz@gmail.com X-Host-Fingerprint: 66.249.82.236 wx-out-0506.google.com Received: from [66.249.82.236] ([66.249.82.236:14750] helo=wx-out-0506.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4C/E8-26828-E3395B74 for ; Fri, 15 Feb 2008 08:27:27 -0500 Received: by wx-out-0506.google.com with SMTP id s14so847373wxc.26 for ; Fri, 15 Feb 2008 05:27:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=0BrSYzTx2SUKoOPkSiHgfrADzXMRuVn3rW5WAzPFjnE=; b=UP4Am5eIseP1OgQYbx34SxOnkWIW/rq2R/KqMqNLGFrOYSU8S8QKA6b144TWDtCW2rSEFPnIpbRvAK/BQoiCqUz3z4d5Owmtvc5noHZ30io/wngWHbXPmAhHrZA4g2QIupChzqGqSU3pU+f1WZDAcKig7sLqlDYsP6yAt9MNPng= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ehg063jp3ljfBkfO6ssvqc7yZoVdIZvVxYx/z6y1T8TJVR2YJQaLJMP8MxrDwlhCtC1gktgI6UcGN6mSrVrfQ+7KdTess/yayIgeLxDDpyMXhp53OuuUu5ppM+Rh0gSKRWrj9gL6tYg6Rrf4Rms5knvZ1VV0AhXfPbeB8LdzZxg= Received: by 10.142.148.7 with SMTP id v7mr2230762wfd.153.1203082043336; Fri, 15 Feb 2008 05:27:23 -0800 (PST) Received: by 10.142.240.16 with HTTP; Fri, 15 Feb 2008 05:27:23 -0800 (PST) Message-ID: Date: Fri, 15 Feb 2008 06:27:23 -0700 To: "Marcus Boerger" , "PHP Internals List" In-Reply-To: <47B58B5D.9020301@zend.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <971575499.20080209153315@marcus-boerger.de> <47B54F0C.2090700@zend.com> <1203067815.10500.5.camel@localhost.localdomain> <47B56334.9070007@zend.com> <1203070677.10500.12.camel@localhost.localdomain> <47B568A6.9060704@zend.com> <1158304008.20080215122414@marcus-boerger.de> <47B58B5D.9020301@zend.com> Subject: Re: [PHP-DEV] [RFC] Conditional INI support From: chrisstocktonaz@gmail.com ("Chris Stockton") When I think INI I think constants. What happens when I log into some server I have to debug some app instance and one of the first things I might do is check the INI and I see. [IF ${value} == 1] setting = 1 [ELIF ${value} == 2] [IF ${valuex} == 1] setting = 1 [ELIF ${valuex} == 2] settingx = ${valuexc?1: ${valuexcl?1:2}} [ELSE] [ELSE] setting = 3 [ENDIF] What is setting and settingx? Do I have to debug within the app with ini_get? Or can I dump the ini values very easily somewhere, I guess php_info() maybe?I won't deny it could be useful specially for cross-platform cross-version INI setup, but it just won't feel like a configuration file anymore is all. I almost think you should just allow PHP tags lol.. -Chris