Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70240 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47558 invoked from network); 20 Nov 2013 17:55:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 20 Nov 2013 17:55:26 -0000 Authentication-Results: pb1.pair.com header.from=bobwei9@hotmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=bobwei9@hotmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain hotmail.com designates 65.55.111.105 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.105 blu0-omc2-s30.blu0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [65.55.111.105] ([65.55.111.105:24884] helo=blu0-omc2-s30.blu0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 32/F2-27452-C87FC825 for ; Wed, 20 Nov 2013 12:55:24 -0500 Received: from BLU0-SMTP444 ([65.55.111.72]) by blu0-omc2-s30.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Wed, 20 Nov 2013 09:55:21 -0800 X-TMN: [I61uGIV3qVjgFnZuTiJ3SLVmH5fTHRMS] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Received: from bobweinandsimac.fritz.box ([83.99.63.185]) by BLU0-SMTP444.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 20 Nov 2013 09:55:18 -0800 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 (Mac OS X Mail 7.0 \(1822\)) In-Reply-To: <9A0DE52C-8991-47A7-9C0E-6BEEB4AC51D1@rouvenwessling.de> Date: Wed, 20 Nov 2013 18:55:16 +0100 CC: List PHP Mailing List Content-Transfer-Encoding: quoted-printable References: <9A0DE52C-8991-47A7-9C0E-6BEEB4AC51D1@rouvenwessling.de> To: =?iso-8859-1?Q?Rouven_We=DFling?= X-Mailer: Apple Mail (2.1822) X-OriginalArrivalTime: 20 Nov 2013 17:55:18.0667 (UTC) FILETIME=[ACB88DB0:01CEE619] Subject: Re: [PHP-DEV] [RFC] [VOTE] Constant scalar expressions From: bobwei9@hotmail.com (Bob Weinand) Am 20.11.2013 um 18:43 schrieb Rouven We=DFling : > Hello Bob, >=20 > I know I'm late (and have no voting right) but O wonder how this = interacts with. >=20 > a) Constants defined in a different file > b) Constants defined using the define() function. >=20 > I couldn't find either case in the RFC or the previous discussion. >=20 > Best regards > Rouven >=20 >> On 20.11.2013, at 17:54, Bob Weinand wrote: >>=20 >> Hi, >>=20 >> I just have moved the RFC to vote as there was no negative feedback = nor unresolved issues. >>=20 >> Find the vote (and the RFC) at: >>=20 >> https://wiki.php.net/rfc/const_scalar_exprs#vote >>=20 >> Vote will last for one week. >>=20 >> Bob No top posting please :-) Constant evaluation order is not changed in this RFC. So, like const A =3D B; const B =3D 10; results in constant A being a string(1) "B", this RFC shows the same = behavior: const A =3D B."1"; const B =3D 10; results in constant A being string(2) "B1". Using a more lazy constant evaluation is not in the scope of this RFC. Bob