On Thu, Jan 21, 2021 at 12:05 AM Kamil Tekiela <tekiela...@gmail.com> wrote:
> Hi Internals, > > Following my earlier announcement in > https://wiki.php.net/rfc/improve_mysqli > I decided to submit a dedicated RFC for the first proposal. > > This RFC proposes to change the default mysqli error reporting mode to > exception mode. This change follows the same change in PDO. The RFC can be > found here https://wiki.php.net/rfc/mysqli_default_errmode > > Kind Regards, > Kamil Tekiela > Fully support this proposal. Throwing exceptions is the right default, it matches what PDO does, and restoring the old behavior is one line of code. Regards, Nikita