Hi Dan,

On 15/05/2019 03:15, Dan Ackroyd wrote:
Immediately nothing.

Eventually, when a __toString() method throws an exception, and the
extension doesn't check for an exception being throw, bad things will
happen.

But in my opinion, if people don't understand the implications of the
RFC even after reading the details in the RFC and this thread, then
this probably is an RFC they should skip voting on.

I don't agree. I've worked on a few bug fixes and features in php-src, but never worked directly with exceptions, so I have to admit my ignorance on the topic. I was expecting "bad things to happen", but I wasn't quite sure about it.

"Extension authors who would like to ensure that they handle exceptions from string conversions gracefully" and "It is generally sufficient to check whether an exception has been thrown" do not convey any sense of urgency.

Since there are many people who can vote and only do PHP userland, I believe that clarifying impact on the RFC itself would surely benefit everyone. Suggesting that they shouldn't vote is definitely not helping.

My 2c.


Cheers
--
Matteo Beccati

Development & Consulting - http://www.beccati.com/

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to