Re: [RFC]: Change Default mysqli Error Mode

From: Date: Sat, 27 Feb 2021 15:23:19 +0000
Subject: Re: [RFC]: Change Default mysqli Error Mode
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-113302@lists.php.net to get a copy of this message
On Wed, 2021-01-27 at 15:17 +0100, Sebastian Bergmann wrote: > Am 25.01.2021 um 11:03 schrieb Nikita Popov: > > 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. > > I second that emotion. The issue is, as said, that this only happens in an error situation. Thus if users only test "does my site still work after update?" (what many do ...) won't notice this, till something fails, which would have been caught nice beforehand. I agree that the proposed behavior is better, but we have to mind migration paths. johannes

« previous php.internals (#113302) next »