Re: Re: [RFC] Allow throwing exceptions from __toString()
| From: | Christoph M. Becker | Date: | Tue, 14 May 2019 14:13:14 +0000 |
| Subject: | Re: Re: [RFC] Allow throwing exceptions from __toString() | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-105700@lists.php.net to get a copy of this message | ||
On 14.05.2019 at 15:52, Matteo Beccati wrote:
> On 14/05/2019 12:44, Nikita Popov wrote:
>
>> The target is 7.4 because the BC break is minimal and largely
>> theoretical.
>> I think the main affected code will be Symfony's existing hack around the
>> issue -- they'll have to disable the hack for PHP >= 7.4 and just use the
>> native support.
>
> How would the change affect extension developers?
See <https://wiki.php.net/rfc/tostring_exceptions#extension_guidelines>.
--
Christoph M. Becker