Re: [VOTE] ::class feature to resolve namespaced class names to scalars
| From: | Patrick Schaaf | Date: | Fri, 14 Sep 2012 08:33:16 +0000 |
| Subject: | Re: [VOTE] ::class feature to resolve namespaced class names to scalars | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62999@lists.php.net to get a copy of this message | ||
Hi,
if it looks, smells, and works like a class constant, can't just BE a class
constant, automatically created, but just as-if "const class = 'xxx';" had
been present in the definition in the first place?
Not that I know php code internals in any thorough way, but I imagine that
that approach would obviate the need for any new opcodes.
best regards
Patrick