Skip to content

Conversation

@jrfnl
Copy link
Member

@jrfnl jrfnl commented Jun 10, 2019

As of PHP 7.4, throwing exceptions from __toString() is now permitted. Previously this resulted in a fatal error. Existing recoverable fatals in string conversions have been converted to Error exceptions.

Refs:

Related #808

> As of PHP 7.4, throwing exceptions from __toString() is now permitted. Previously this resulted in a fatal error. Existing recoverable fatals in string conversions have been converted to Error exceptions.

Refs:
* https://wiki.php.net/rfc/tostring_exceptions
* https://github.com/php/php-src/blob/374f7699821eb723a3a82a9854d18c0530b9d4e9/UPGRADING#L190
* php/php-src@a31f464
@wimg wimg merged commit 37b4866 into master Jun 16, 2019
@delete-merged-branch delete-merged-branch bot deleted the php-7.4/new-to-string-exceptions branch June 16, 2019 13:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants