Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:70057 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 28779 invoked from network); 7 Nov 2013 13:15:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Nov 2013 13:15:49 -0000 Authentication-Results: pb1.pair.com smtp.mail=ilias.vanpeer@cegeka.be; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ilias.vanpeer@cegeka.be; sender-id=pass Received-SPF: pass (pb1.pair.com: domain cegeka.be designates 212.113.81.163 as permitted sender) X-PHP-List-Original-Sender: ilias.vanpeer@cegeka.be X-Host-Fingerprint: 212.113.81.163 smtp21-in.cegeka.be Received: from [212.113.81.163] ([212.113.81.163:60707] helo=smtp21-in.cegeka.be) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id FA/C2-16506-3829B725 for ; Thu, 07 Nov 2013 08:15:48 -0500 X-IronPort-AV: E=Sophos;i="4.93,652,1378850400"; d="scan'208";a="176974970" Received: from cas02.intra.cegeka.be (HELO SVINTCAS02.be.cegekanv.corp.local) ([212.113.64.101]) by smtp21-out.cegeka.be with ESMTP; 07 Nov 2013 14:15:45 +0100 Received: from SVINTMB01.be.cegekanv.corp.local ([fe80::d827:d918:764c:9dc2]) by SVINTCAS02.be.cegekanv.corp.local ([192.168.1.123]) with mapi id 14.02.0318.001; Thu, 7 Nov 2013 14:15:45 +0100 CC: internals Thread-Topic: [PHP-DEV] [RFC] Constant Scalar Expressions (with constants) Thread-Index: AQHO27EyUIuMtJeGKEyB2Ga17bx6p5oZrNwAgAABJICAABFL0A== Date: Thu, 7 Nov 2013 13:15:44 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US, nl-BE Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.29.162.124] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: RE: [PHP-DEV] [RFC] Constant Scalar Expressions (with constants) From: ilias.vanpeer@cegeka.be (Van Peer Ilias) It's nice to see people get excited for things they already have. Should le= ad to a little more appreciation of what's already there, I guess.. -----Original Message----- From: Nikita Popov [mailto:nikita.ppv@gmail.com] Sent: donderdag 7 november 2013 14:13 To: Patrick Schaaf Cc: Bob Weinand; internals Subject: Re: [PHP-DEV] [RFC] Constant Scalar Expressions (with constants) On Thu, Nov 7, 2013 at 2:08 PM, Patrick Schaaf wrote: > Am 07.11.2013 13:01 schrieb "Bob Weinand" : > > > > https://wiki.php.net/rfc/const_scalar_exprs > > Wow, this looks really nice! > > Will this work with class autoloading, too? i.e. will > > class foo { > const X =3D bar::X; > } > > trigger autoloading for class bar? > Once again, the code you posted is already supported, not really part of th= is proposal. And yes, it will invoke the autoloader, see http://codepad.vip= er-7.com/2Xz8ux :) Nikita This e-mail and all files transmitted as attachment(s) thereto are confiden= tial and solely intended for the individual to whom or the organization to = which they are addressed. If you received this e-mail by mistake, please no= tify Cegeka's Service Desk at cegeka.support@cegeka.be or call +32 (0)11 24= 0 363. We thank you in advance. Cegeka hereby confirms that this message ha= s been swept by Sophos for the presence of viruses.