Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:109575 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 33717 invoked from network); 9 Apr 2020 10:44:06 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 9 Apr 2020 10:44:06 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C3B991801FD for ; Thu, 9 Apr 2020 02:12:28 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-ASN: AS8943 85.119.80.0/21 X-Spam-Virus: No X-Envelope-From: Received: from mail.apserver.co.uk (server2.alteredperspective.co.uk [85.119.82.103]) by php-smtp4.php.net (Postfix) with ESMTP for ; Thu, 9 Apr 2020 02:12:28 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.apserver.co.uk (Postfix) with ESMTP id A67294F4066 for ; Thu, 9 Apr 2020 10:11:25 +0100 (BST) Received: from mail.apserver.co.uk ([127.0.0.1]) by localhost (server2.alteredperspective.co.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id Z5c8C7Hh8xrN; Thu, 9 Apr 2020 10:11:22 +0100 (BST) Received: from [192.168.0.6] (cpc113420-maid7-2-0-cust1808.20-1.cable.virginm.net [86.18.119.17]) by mail.apserver.co.uk (Postfix) with ESMTPA id CD6814F4061; Thu, 9 Apr 2020 10:11:22 +0100 (BST) To: AllenJB , "internals@lists.php.net" References: <2e6a4b99-bd78-657f-dbca-bad312858691@allenjb.me.uk> Message-ID: <81ba3ee9-2fc1-21b9-eca0-fdf72b44c88d@allenjb.me.uk> Date: Thu, 9 Apr 2020 10:12:22 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.6.0 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 Content-Language: en-GB Subject: Re: [PHP-DEV] [RFC] Change default PDO error mode From: php.lists@allenjb.me.uk (AllenJB) 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 >