On 26.10.2022 at 08:57, Derick Rethans wrote:

> On 25 October 2022 14:10:14 CEST, BohwaZ <p...@bohwaz.net> wrote:
>
>> * but we make SQLite3 throw exceptions by default directly in PHP 8.3,
>>  like it was done with PDO 2 years ago.
>
> I am not in favour, as it would mean that existing code suddenly may start 
> breaking, as exceptions aren't expected (and hence not catered for). We can't 
> do that in an 8.x release.

I'm not in favor of this either, but we did it for PDO (okay, PHP 8.0)
and mysqli (PHP 8.1), and it can be counteracted with a single
statement.  So yes, it would constitute a BC break, but that could be
solved easily (if all else fails, you could auto_prepend_file).

--
Christoph M. Becker

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

Reply via email to