Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70074 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1126 invoked from network); 10 Nov 2013 09:07:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 10 Nov 2013 09:07:29 -0000 Authentication-Results: pb1.pair.com header.from=swhitemanlistens-software@cypressintegrated.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=swhitemanlistens-software@cypressintegrated.com; spf=pass; 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:64585] helo=rproxy2-b-iv.figureone.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 3B/83-14014-1DC4F725 for ; Sun, 10 Nov 2013 04:07:29 -0500 Received: from localhost ([216.220.114.66]) by rproxy2-b-iv.figureone.com (Brand New Heavy v1.0) with ASMTP id VUR22227 for ; Sun, 10 Nov 2013 01:07:27 -0800 Date: Sun, 10 Nov 2013 04:07:19 -0500 Reply-To: Sanford Whiteman X-Priority: 3 (Normal) Message-ID: <905797983.20131110040719@cypressintegrated.com> To: Yasuo Ohgaki In-Reply-To: References: <527DF228.1080108@sugarcrm.com> <527F3B9B.8040006@sugarcrm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Comparison and conversion inconsistency - need more info From: swhitemanlistens-software@cypressintegrated.com (Sanford Whiteman) > ----------------------------------- > if (-1 < NULL) > echo 'NULL is smaller'; > else > echo '-1 is smaller'; > ----------------------------------- > returns '-1 is smaller' as all of us expects. Please go over the conditions and the echos in this example one more time. -- S.