Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70059 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 31927 invoked from network); 7 Nov 2013 13:27:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2013 13:27:43 -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.96 as permitted sender) X-PHP-List-Original-Sender: bobwei9@hotmail.com X-Host-Fingerprint: 65.55.111.96 blu0-omc2-s21.blu0.hotmail.com Windows 2000 SP4, XP SP1 Received: from [65.55.111.96] ([65.55.111.96:14238] helo=blu0-omc2-s21.blu0.hotmail.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 23/00-31766-D459B725 for ; Thu, 07 Nov 2013 08:27:42 -0500 Received: from BLU0-SMTP289 ([65.55.111.73]) by blu0-omc2-s21.blu0.hotmail.com with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Nov 2013 05:27:39 -0800 X-TMN: [3glJsluXeRUQZFdTeqsarTUgG3grrGIv] X-Originating-Email: [bobwei9@hotmail.com] Message-ID: Received: from bobweinandsimac.fritz.box ([83.99.63.185]) by BLU0-SMTP289.phx.gbl over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Thu, 7 Nov 2013 05:27:36 -0800 Content-Type: text/plain; charset="iso-8859-1" MIME-Version: 1.0 (Mac OS X Mail 7.0 \(1816\)) In-Reply-To: Date: Thu, 7 Nov 2013 14:27:32 +0100 CC: Nikita Popov , internals Content-Transfer-Encoding: quoted-printable References: To: Patrick Schaaf X-Mailer: Apple Mail (2.1816) X-OriginalArrivalTime: 07 Nov 2013 13:27:36.0504 (UTC) FILETIME=[1F8E3B80:01CEDBBD] Subject: Re: [PHP-DEV] [RFC] Constant Scalar Expressions (with constants) From: bobwei9@hotmail.com (Bob Weinand) Am 7.11.2013 um 14:19 schrieb Patrick Schaaf : > Am 07.11.2013 14:12 schrieb "Nikita Popov" : >>=20 >> Once again, the code you posted is already supported, not really part = of > this proposal. >=20 > Blush. I'm still sitting at 5.4.x :) That's no excuse :-P The only thing that RFC introduces are operations on constants and = constant values on definitions of constants/properties/statics. Not more. >> And yes, it will invoke the autoloader, see > http://codepad.viper-7.com/2Xz8ux :) >=20 > "Interesting" line number in that error message..... Yes, class constants are evaluated upon their first use. Bob >=20 > best regards > Patrick