[VOTE] Allow throwing exceptions from __toString()

php.internals

Nikita Popov

7 years ago
Hi internals, I've opened voting on the __toString() exceptions RFC: https://wiki.php.net/rfc/tostring_exceptions The vote will be open until 2019-06-05. See https://externals.io/message/105515 for the related discussion. Regards, Nikita

Johannes Schlueter

7 years ago
On Mi, 2019-05-22 at 15:44 +0200, Nikita Popov wrote:
> Hi internals, > > I've opened voting on the __toString() exceptions RFC: > https://wiki.php.net/rfc/tostring_exceptions
I raised some concerns as this can lead to subtle bugs. I however want to publicly applaud you for the effort and dedication behind this and the work trying to find the edge cases! johannes

Nikita Popov

7 years ago
On Wed, May 22, 2019 at 3:44 PM Nikita Popov <nikita.ppv@gmail.com> wrote:
> Hi internals, > > I've opened voting on the __toString() exceptions RFC: > https://wiki.php.net/rfc/tostring_exceptions > > The vote will be open until 2019-06-05. See > https://externals.io/message/105515 for the related discussion. >
I'm happy to announce that this RFC has passed unanimously, with 42 votes in favor. Nikita