Re: Allow exceptions in __toString()
| From: | Johannes Schlüter | Date: | Sun, 05 Jul 2015 20:20:23 +0000 |
| Subject: | Re: Allow exceptions in __toString() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-87031@lists.php.net to get a copy of this message | ||
On Fri, 2015-07-03 at 17:57 +0200, Nikita Popov wrote:
> I can see your concern here -- however this is nothing specific to
> exceptions thrown from __toString(). There is are a number of ways you
> can end up in this situation, the two most common being:
I summarize this a bit freely as "We already have places which are hard
to understand an predict, so let's add more!"
We should improve this but clearer rules.
johannes
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc