Re: [RFC] Change default PDO error mode

From: Date: Thu, 09 Apr 2020 09:12:22 +0000
Subject: Re: [RFC] Change default PDO error mode
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-109575@lists.php.net to get a copy of this message
Hi all, A quick "bump" to make sure everyone's seen this RFC amongst all the other exciting discussions that are going on. I'm hoping the lack of discussion means this is a boring obvious change that everyone's going to vote 'yes' to. With the lack of any raised concerns or issues, I intend to open voting this weekend. Regards, AllenJB On 28/03/2020 19:02, AllenJB wrote:
Hi, I present for discussion an RFC to change the default PDO error mode: https://wiki.php.net/rfc/pdo_default_errmode Previous discussion: https://externals.io/message/109015 I believe this change will help new developers who are presently presented only with knock-on errors, which can be confusing, when using PDO unless they implement "boilerplate" error handling every time a query is made. I believe it also brings the behavior inline with what developers would actually expect the default to be in modern PHP. Regards, AllenJB


« previous php.internals (#109575) next »