Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:42988 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24030 invoked from network); 10 Feb 2009 18:30:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Feb 2009 18:30:26 -0000 Authentication-Results: pb1.pair.com header.from=markus@fischer.name; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=markus@fischer.name; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain fischer.name from 62.179.121.33 cause and error) X-PHP-List-Original-Sender: markus@fischer.name X-Host-Fingerprint: 62.179.121.33 viefep13-int.chello.at Solaris 10 (beta) Received: from [62.179.121.33] ([62.179.121.33:39527] helo=viefep13-int.chello.at) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 76/21-12172-FB7C1994 for ; Tue, 10 Feb 2009 13:30:24 -0500 Received: from edge02.upc.biz ([192.168.13.237]) by viefep13-int.chello.at (InterMail vM.7.09.01.00 201-2219-108-20080618) with ESMTP id <20090210183019.PZTO18389.viefep13-int.chello.at@edge02.upc.biz>; Tue, 10 Feb 2009 19:30:19 +0100 Received: from genuine.home ([84.112.136.139]) by edge02.upc.biz with edge id EJWD1b02330dqkc02JWEmX; Tue, 10 Feb 2009 19:30:19 +0100 X-SourceIP: 84.112.136.139 Received: from vserv01.home ([192.168.1.20] helo=[127.0.0.1]) by genuine.home with esmtpa (Exim 4.50) id 1LWxKk-0005DH-Fz; Tue, 10 Feb 2009 19:27:46 +0100 Message-ID: <4991C7B6.9030403@fischer.name> Date: Tue, 10 Feb 2009 19:30:14 +0100 User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) MIME-Version: 1.0 To: Christopher Jones CC: Eric Stewart , internals@lists.php.net References: <4991A889.8070004@oracle.com> In-Reply-To: <4991A889.8070004@oracle.com> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Score: -31 X-Spam-Level: --- X-Spam-Report: Spam detection software, running on the system "genuine.home", has identified this incoming email as possible spam. The original message has been attached to this so you can view it (if it isn't spam) or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Sorry to hijack, but ... Christopher Jones wrote: > oci8.events and oci8.old_oci_close_semantics are boolean, so we can > take this opportunity to change the 1 and 0 to On and Off. ... I've never understood why writing On/Off is a good idea, when it is not intuitive that the value returned from ini_get() is of a different content (not meaning, however). [...] Content analysis details: (-3.2 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -3.3 ALL_TRUSTED Did not pass through any untrusted hosts 0.0 BAYES_50 BODY: Bayesian spam probability is 40 to 60% [score: 0.4702] 0.1 AWL AWL: From: address is in the auto white-list Subject: ini value of On = 1 and Off = "" ? (Re: [PHP-DEV] RFC for new INI's) From: markus@fischer.name (Markus Fischer) Sorry to hijack, but ... Christopher Jones wrote: > oci8.events and oci8.old_oci_close_semantics are boolean, so we can > take this opportunity to change the 1 and 0 to On and Off. ... I've never understood why writing On/Off is a good idea, when it is not intuitive that the value returned from ini_get() is of a different content (not meaning, however). Or has this changed in more recent versions? markus@dev01:~$ php -dregister_globals=Off -r 'var_dump(ini_get("register_globals"));' string(0) "" markus@dev01:~$ php -dregister_globals=On -r 'var_dump(ini_get("register_globals"));' string(1) "1" markus@dev01:~$ php -dregister_globals=0 -r 'var_dump(ini_get("register_globals"));' string(1) "0" markus@dev01:~$ php -dregister_globals=1 -r 'var_dump(ini_get("register_globals"));' string(1) "1" markus@dev01:~$ php -v PHP 5.2.5-3+lenny1 with Suhosin-Patch 0.9.6.2 (cli) (built: May 27 2008 21:47:08) regards, - Markus