Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70770 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29405 invoked from network); 19 Dec 2013 22:34:57 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 19 Dec 2013 22:34:57 -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 Received: from [173.1.104.101] ([173.1.104.101:62815] helo=rproxy2-b-iv.figureone.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/DE-42949-F8473B25 for ; Thu, 19 Dec 2013 17:34:56 -0500 Received: from [192.168.0.2] ([184.248.4.139]) by rproxy2-b-iv.figureone.com (Brand New Heavy v1.0) with ASMTP id EIB91749 for ; Thu, 19 Dec 2013 14:34:49 -0800 Date: Thu, 19 Dec 2013 17:34:31 -0500 Reply-To: Sanford Whiteman X-Priority: 3 (Normal) Message-ID: <1077500642.20131219173431@cypressintegrated.com> To: Lester Caine In-Reply-To: <52B370F4.5010909@lsces.co.uk> References: <52B36BFC.4080708@lerdorf.com> <52B370F4.5010909@lsces.co.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: power operator (again) From: swhitemanlistens-software@cypressintegrated.com (Sanford Whiteman) > - (3**2) is simply not the same as (- 3)**2 but '-3' should always be (-3) the > space has a significance in this case as far as I am concerned. But it doesn't... the - is just another operator (even in "real math") and doesn't have the highest precedence, space or not. What's fascinating is that some portion of devs have been making assumptions for years and years and only now is there an case that requires consensus -- since the (wrong) assumption still ends up with the right results ~100% of the time given the current precedence table and other math rules. -- S.