Re: Fix ReflectionType::__toString() BC break
| From: | Nicolas Grekas | Date: | Wed, 21 Sep 2016 10:12:02 +0000 |
| Subject: | Re: Fix ReflectionType::__toString() BC break | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96047@lists.php.net to get a copy of this message | ||
> Curious: Why do you depend on the string representation?
__toString is the only public interface on ReflectionType that allows
getting the type name, so people already build things on top.
See http://php.net/ReflectionType