Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70048 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14401 invoked from network); 7 Nov 2013 12:01:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2013 12:01:21 -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.116.35 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.116.35 blu0-omc1-s24.blu0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [65.55.116.35] ([65.55.116.35:22368] helo=blu0-omc1-s24.blu0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 6B/50-11369-F018B725 for ; Thu, 07 Nov 2013 07:01:20 -0500 Received: from BLU0-SMTP458 ([65.55.116.9]) by blu0-omc1-s24.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Nov 2013 04:01:17 -0800 X-TMN: [SN1tJ1f7jpnHUn2Adciwooo1//KgCBYv] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Received: from bobweinandsimac.fritz.box ([83.99.63.185]) by BLU0-SMTP458.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Nov 2013 04:01:14 -0800 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Thu, 7 Nov 2013 13:01:11 +0100 CC: Dmitry Stogov To: List PHP Mailing List MIME-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) X-Mailer: Apple Mail (2.1816) X-OriginalArrivalTime: 07 Nov 2013 12:01:14.0841 (UTC) FILETIME=[0F0B3490:01CEDBB1] Subject: [RFC] Constant Scalar Expressions (with constants) From: bobwei9@hotmail.com (Bob Weinand) Hi! As you all know, Anthony Ferrara had withdrawn his RFC a few months ago, = which was without support for constants in these expressions: const foo =3D 10; const bar =3D 10 * foo; The use of a constant in a declaration of a constant was not yet = possible with his patch. That's what I changed. Enjoy reading the RFC at: https://wiki.php.net/rfc/const_scalar_exprs Bob Weinand Special thanks go to Dmitry who had helped me a lot with feedback and a = deep review of the patch.=