Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109526 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 24589 invoked from network); 3 Apr 2020 22:56:25 -0000 Received: from unknown (HELO localhost.localdomain) (76.75.200.58) by pb1.pair.com with SMTP; 3 Apr 2020 22:56:25 -0000 To: internals@lists.php.net References: <2e6a4b99-bd78-657f-dbca-bad312858691@allenjb.me.uk> Date: Fri, 3 Apr 2020 23:23:26 +0200 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:52.0) Gecko/20100101 Firefox/52.0 SeaMonkey/2.49.2 MIME-Version: 1.0 In-Reply-To: <2e6a4b99-bd78-657f-dbca-bad312858691@allenjb.me.uk> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 46.59.72.204 Subject: Re: [RFC] Change default PDO error mode From: ajf@ajf.me (Andrea Faulds) Message-ID: Hi, AllenJB wrote: > I present for discussion an RFC to change the default PDO error mode: > > https://wiki.php.net/rfc/pdo_default_errmode A good thing about this RFC is that if you prefer the traditional error mode and need to keep that behaviour working in whatever new PHP version hypothetically implements this RFC, adding the call to set the error mode will not make your code incompatible with previous PHP versions, which means it should be tolerable for the authors of libraries or other software packages. :) Thanks, Andrea