Re: Invokation on __toString() for object used as array key
| From: | Andrea Faulds | Date: | Wed, 24 Sep 2014 21:21:12 +0000 |
| Subject: | Re: Invokation on __toString() for object used as array key | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-77596@lists.php.net to get a copy of this message | ||
On 24 Sep 2014, at 21:46, Johannes Schlüter <johannes@schlueters.de> wrote:
> I don't think there is a clear leader on usage of __toString(), for some
> it is a debugging feature, for some a "normal" operation.
If people want debugging, there is a method specifically for that, __debugInfo.
--
Andrea Faulds
http://ajf.me/