Re: Add support $object::class
| From: | S.A.N | Date: | Mon, 27 Apr 2015 17:35:04 +0000 |
| Subject: | Re: Add support $object::class | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85973@lists.php.net to get a copy of this message | ||
2015-04-27 20:33 GMT+03:00 Nicolas Grekas <nicolas.grekas@gmail.com>:
>
>> Systems that depend on
get_class() a lot would
>
> An for non-objects types, I suggest that $var::class could return the same
> as get_type($var). That would allow saving ref mismatches when $var is a
> ref.
+1