Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70088 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51601 invoked from network); 10 Nov 2013 20:02:56 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2013 20:02:56 -0000 Authentication-Results: pb1.pair.com smtp.mail=swhitemanlistens-software@cypressintegrated.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=swhitemanlistens-software@cypressintegrated.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cypressintegrated.com designates 173.1.104.101 as permitted sender) X-PHP-List-Original-Sender: swhitemanlistens-software@cypressintegrated.com X-Host-Fingerprint: 173.1.104.101 rproxy2-b-iv.figureone.com Windows 2000 SP2+, XP SP1 (seldom 98 4.10.2222) Received: from [173.1.104.101] ([173.1.104.101:55296] helo=rproxy2-b-iv.figureone.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 68/C1-42270-F66EF725 for ; Sun, 10 Nov 2013 15:02:56 -0500 Received: from localhost ([216.220.114.66]) by rproxy2-b-iv.figureone.com (Brand New Heavy v1.0) with ASMTP id VFM91953 for ; Sun, 10 Nov 2013 12:02:53 -0800 Date: Sun, 10 Nov 2013 15:02:46 -0500 Reply-To: Sanford Whiteman X-Priority: 3 (Normal) Message-ID: <226973622.20131110150246@cypressintegrated.com> To: Yasuo Ohgaki In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: [RFC] Comparison and conversion inconsistency - need more info From: swhitemanlistens-software@cypressintegrated.com (Sanford Whiteman) > Anyway, the manual is better to explain explicitly > TRUE always evaluated as 1 while > NULL/FALSE is evaluated as 0 or least. No, FALSE < TRUE is still the most appropriate way to express this. "Explaining" a strict boolean comparison in terms of integers/bits is misleading. -- S.