Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76939 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1290 invoked from network); 29 Aug 2014 00:55:20 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Aug 2014 00:55:20 -0000 Authentication-Results: pb1.pair.com header.from=ajf@ajf.me; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ajf@ajf.me; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ajf.me designates 192.64.116.200 as permitted sender) X-PHP-List-Original-Sender: ajf@ajf.me X-Host-Fingerprint: 192.64.116.200 imap1-2.ox.privateemail.com Received: from [192.64.116.200] ([192.64.116.200:49962] helo=imap1-2.ox.privateemail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 12/64-10032-67FCFF35 for ; Thu, 28 Aug 2014 20:55:19 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.privateemail.com (Postfix) with ESMTP id 6B3AAB00087; Thu, 28 Aug 2014 20:55:16 -0400 (EDT) X-Virus-Scanned: Debian amavisd-new at imap1.ox.privateemail.com Received: from mail.privateemail.com ([127.0.0.1]) by localhost (imap1.ox.privateemail.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id uuEAldWL5n6q; Thu, 28 Aug 2014 20:55:16 -0400 (EDT) Received: from [192.168.0.2] (05439dda.skybroadband.com [5.67.157.218]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.privateemail.com (Postfix) with ESMTPSA id 40D23B00085; Thu, 28 Aug 2014 20:55:14 -0400 (EDT) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\)) In-Reply-To: <20140829004320.GO11855@phcomp.co.uk> Date: Fri, 29 Aug 2014 01:55:12 +0100 Cc: PHP Internals Content-Transfer-Encoding: quoted-printable Message-ID: <45305E5B-6B16-4490-9372-813F4877AA37@ajf.me> References: <20140829004320.GO11855@phcomp.co.uk> To: Alain Williams X-Mailer: Apple Mail (2.1878.6) Subject: Re: [PHP-DEV] Documentation error From: ajf@ajf.me (Andrea Faulds) On 29 Aug 2014, at 01:43, Alain Williams wrote: > I notice that in the precedence chart the new **=3D operator is = missing: >=20 > http://uk1.php.net/manual/en/language.operators.precedence.php It=92s not on docs.php.net either, so the manual must just be = out-of-date. > The announcement (below) says that it is right associative, but the = precedent > chart above says that it is left associative. =46rom the example it = seems to be > right associative. >=20 > http://php.net/migration56.new-features Yeah, that=92s weird. If we check the actual PHP source, we see it is = right-associative: = https://github.com/php/php-src/blob/a8b97086d7c5bd5df5243d11bb8b5e9406a2b6= c2/Zend/zend_language_parser.y#L112 And I distinctly recall the RFC saying it was right-associative. -- Andrea Faulds http://ajf.me/