Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:75164 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24263 invoked from network); 2 Jul 2014 10:43:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 2 Jul 2014 10:43:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.111.83 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.83 blu004-omc2s8.hotmail.com Received: from [65.55.111.83] ([65.55.111.83:54379] helo=BLU004-OMC2S8.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 26/E2-08005-E32E3B35 for ; Wed, 02 Jul 2014 06:43:11 -0400 Received: from BLU436-SMTP228 ([65.55.111.72]) by BLU004-OMC2S8.hotmail.com with Microsoft SMTPSVC(7.5.7601.22712); Wed, 2 Jul 2014 03:43:07 -0700 X-TMN: [w2c2rydqIxDI8s4JelisKtYPucURkJfV] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Received: from bobweinandsimac.fritz.box ([88.207.214.175]) by BLU436-SMTP228.smtp.hotmail.com over TLS secured channel with Microsoft SMTPSVC(8.0.9200.16384); Wed, 2 Jul 2014 03:43:05 -0700 Content-Type: multipart/alternative; boundary="Apple-Mail=_5EC3A140-6427-4F16-85CA-71E235D4D4DF" MIME-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) In-Reply-To: Date: Wed, 2 Jul 2014 12:43:01 +0200 CC: PHP Internals References: To: Dmitry Stogov X-Mailer: Apple Mail (2.1878.2) X-OriginalArrivalTime: 02 Jul 2014 10:43:05.0461 (UTC) FILETIME=[67DB5A50:01CF95E2] Subject: Re: [PHP-DEV] Wired constant expression syntax and bug From: bobwei9@hotmail.com (Bob Weinand) --Apple-Mail=_5EC3A140-6427-4F16-85CA-71E235D4D4DF Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="windows-1252" Am 30.6.2014 um 21:32 schrieb Dmitry Stogov : > In case you like to keep this new syntax in PHP-5.6 at least please = cover > it with tests. I added two tests now, one of them is failing: the bug with the self-referencing constants = Nikita showed here. I still have no idea how to fix it in a way to satisfy opcache and the = self-references detector, except copying everything again (at every = subnode)... Which is not the way to go=85 I hope? Any idea? Bob= --Apple-Mail=_5EC3A140-6427-4F16-85CA-71E235D4D4DF--