Kia ora,

I am proposing that the SQLite3 extension stops using warnings for
errors and instead throws exceptions by default:

https://wiki.php.net/rfc/sqlite3_exceptions

Whether we just deprecate warnings first and default to exceptions, and
then remove warnings altogether in a later version, or just disable
warnings directly, is probably the important part of the RFC.

My personal point of view is that modern code probably already have
enabled exceptions in the class, or is transforming warnings into
exceptions using an error handler.

If not, it's relatively easy to set a exception handler to dismiss the
new exceptions if you don't want to see them.

So going throught depreciation might not be necessary, but it's open
for discussion.

Feedback is welcome :)

Thanks.

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

Reply via email to