Re: Add support $object::class
| From: | Nicolas Grekas | Date: | Mon, 27 Apr 2015 17:33:03 +0000 |
| Subject: | Re: Add support $object::class | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85972@lists.php.net to get a copy of this message | ||
> 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.