Re: [VOTE] ::class feature to resolve namespaced class names to scalars
| From: | jpauli | Date: | Thu, 13 Sep 2012 09:02:11 +0000 |
| Subject: | Re: [VOTE] ::class feature to resolve namespaced class names to scalars | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-62969@lists.php.net to get a copy of this message | ||
On Thu, Sep 13, 2012 at 10:36 AM, Lars Strojny <lars@strojny.net> wrote:
> Hi Simon,
>
> Am 13.09.2012 um 10:34 schrieb Simon J Welsh <simon@simon.geek.nz>:
> [...]
>> I would expect $variable::class to work (like late static bindings).
> [...]
>
> Than better try the patch, as it doesn’t work now :)
>
> But it is a good point indeed. @Ralph: what do you think?
>
Perhaps get_class_fqn(string:ClassName) ?
Julien.P