Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70291 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72741 invoked from network); 22 Nov 2013 19:56:07 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Nov 2013 19:56:07 -0000 Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.52 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 74.125.82.52 mail-wg0-f52.google.com Received: from [74.125.82.52] ([74.125.82.52:59802] helo=mail-wg0-f52.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id BB/1E-28674-6D6BF825 for ; Fri, 22 Nov 2013 14:56:06 -0500 Received: by mail-wg0-f52.google.com with SMTP id x13so1608029wgg.31 for ; Fri, 22 Nov 2013 11:56:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=UX0UvhnTM11TKPj+OHDAhhiff4EjPhbTvRvi+wlIUKo=; b=XINGvJY5MgQe5gBeJ7Qer3VGk7NzGcYhKtMMbizA3Qw+53XDHc6p+mulDKlp7d9p4J 7MYYOLW56kVStD6+njTD7M4Ye1mXWKMdSQ952fA1bQGrfNtKq8BErDBxLVFEK5/z2A7u NcGkzW07Fq5ffG0xOrX3arQ6dK8FYsIPpTtIuv9qjtCy7nbTJ0ibzz6Vj6oXy2JCW6y+ zT2aOldsl86vcNVOMQ30s3SnIn3xVauO5f2LNqYdAEBvr6UsbtjQYI65Uu7iht/QCeaq OLx9ePUh6FM9UqBhbxUoCvskfZFmI6o85jF6y/s+wKPsetRL+PFoZTQsQ/fjCgG7Z/Oo 0eAw== MIME-Version: 1.0 X-Received: by 10.180.183.72 with SMTP id ek8mr4045266wic.49.1385150163764; Fri, 22 Nov 2013 11:56:03 -0800 (PST) Received: by 10.227.134.196 with HTTP; Fri, 22 Nov 2013 11:56:03 -0800 (PST) In-Reply-To: References: Date: Fri, 22 Nov 2013 14:56:03 -0500 Message-ID: To: Tjerk Meesters Cc: Leigh , PHP Internals Content-Type: multipart/alternative; boundary=001a11c3556e78cdc004ebc96714 Subject: Re: [PHP-DEV] Power function as operator From: theanomaly.is@gmail.com (Sherif Ramadan) --001a11c3556e78cdc004ebc96714 Content-Type: text/plain; charset=ISO-8859-1 On Fri, Nov 22, 2013 at 1:03 PM, Tjerk Meesters wrote: > > 2 ** 3 ** 2 == 512 > That looks very wrong. pow(pow(2,3),2) == 64 Exponent precedence should always be one higher than multiplication precedence. --001a11c3556e78cdc004ebc96714--