Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70338 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 98465 invoked from network); 24 Nov 2013 01:13:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Nov 2013 01:13:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@chrislondon.co; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@chrislondon.co; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain chrislondon.co does not designate 74.125.82.182 as permitted sender) X-PHP-List-Original-Sender: me@chrislondon.co X-Host-Fingerprint: 74.125.82.182 mail-we0-f182.google.com Received: from [74.125.82.182] ([74.125.82.182:55378] helo=mail-we0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4D/71-25904-1B251925 for ; Sat, 23 Nov 2013 20:13:22 -0500 Received: by mail-we0-f182.google.com with SMTP id q59so2564849wes.13 for ; Sat, 23 Nov 2013 17:13:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=9ljfzNumhz7pRWN5Yg/L47Ekk6yZedvGP5NSvRYMfeM=; b=hzQIpQ+XOMgX8HCRgdmp6uyXD0v2F3UhGAiamQ31H1rps4jQ7GBHxi+7IM5BUrnDdv KdCQVVU+LFuzIn1WjXYSITDv8A+iBPc9Gd5jD3niFIAqfzLFk76V2uBwZEg/Uzm/n4HP eZ9Jyktpgy8QJwYSaPUuXNXUETrAvsvqZReIeFpRN0j9k4zKxus/xKiOhUlY1MuomK/Z 1BU6+glmShe0rCdJEI4TFd7pKo+IDzOGbl8sqgYjBpvJzxTHZia8ZEi+UQ3kKPQTSIUV dYS2+h7gq5/sBSa0+iQRrjtzwMLlczkc86aQwJqVT9TAF0mJ7G61R3GuAvw1JJqM6KLV TtBg== X-Gm-Message-State: ALoCoQkmcKLFqjleM+laOnBEXY1SYMYSPzYh+3kAuJ54MBrIwYP1/qoXuuWzS/7WJaBMJzzqVY67 MIME-Version: 1.0 X-Received: by 10.194.94.167 with SMTP id dd7mr475066wjb.43.1385255598693; Sat, 23 Nov 2013 17:13:18 -0800 (PST) Received: by 10.217.153.135 with HTTP; Sat, 23 Nov 2013 17:13:18 -0800 (PST) X-Originating-IP: [172.56.38.89] Received: by 10.217.153.135 with HTTP; Sat, 23 Nov 2013 17:13:18 -0800 (PST) In-Reply-To: References: Date: Sat, 23 Nov 2013 18:13:18 -0700 Message-ID: To: Kris Craig Cc: internals@lists.php.net, Derick Rethans , Tjerk Meesters Content-Type: multipart/alternative; boundary=047d7bb03c46e250e404ebe1f338 Subject: Re: [PHP-DEV] rfc: pow-operator From: me@chrislondon.co (Chris London) --047d7bb03c46e250e404ebe1f338 Content-Type: text/plain; charset=ISO-8859-1 On Nov 23, 2013 5:31 PM, "Kris Craig" wrote: > > We should be following standard Order of Operations here. As such, the > option of no associativity should be included. Furthermore, there needs to > be a voting option regarding how to deal with even exponents of negative > bases; i.e. treat "-3 ^ 2" as "-3 ^ 2 == 9" or as "-(3 ^ 2) == -9". A more appropriate example would be to say should we treat -3 ^ 2 as (-3) ^ 2 == 9 or as -(3 ^ 2) == -9 > Without those options, my vote would be a firm No. > > --Kris > > > On Sat, Nov 23, 2013 at 9:43 AM, Derick Rethans wrote: > > > On Sat, 23 Nov 2013, Tjerk Meesters wrote: > > > > > Hi guys, > > > > > > I'm done drafting the RFC for the exponential operator: > > > https://wiki.php.net/rfc/pow-operator > > > > > > Since this is a language feature, voting will only start in two weeks > > from > > > now. > > > > Something that I missed in there, are you thinking of adding: > > > > **= > > > > in there too, just like we have: > > > > $a += 5; > > > > cheers, > > Derick > > > > -- > > http://derickrethans.nl | http://xdebug.org > > Like Xdebug? Consider a donation: http://xdebug.org/donate.php > > twitter: @derickr and @xdebug > > Posted with an email client that doesn't mangle email: alpine > > > > -- > > PHP Internals - PHP Runtime Development Mailing List > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > --047d7bb03c46e250e404ebe1f338--