Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113211 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 81889 invoked from network); 19 Feb 2021 12:19:41 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 19 Feb 2021 12:19:41 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id C9BED1804F4 for ; Fri, 19 Feb 2021 04:07:06 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on php-smtp4.php.net X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,NICE_REPLY_A, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mout.gmx.net (mout.gmx.net [212.227.17.20]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by php-smtp4.php.net (Postfix) with ESMTPS for ; Fri, 19 Feb 2021 04:07:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1613736424; bh=u5Rm855or2nzVZ9JNFeSitJQ8cpMzMN/0+/jBIAlO6M=; h=X-UI-Sender-Class:Subject:To:References:From:Date:In-Reply-To; b=IziYxhcNH2yKptywlPTAkX1Qsd8TQRhdiE8hB+UmvO/RSSFZk8dHUgaWYAVLILJMJ 6vPs7uYlVJCnAbZ/MnZxZVQDi5aa69oNLOvO6i33cRLTaTzUIqDNgAxV28ifvlI8sR R49ABxn1Ec44BuompID1wlG9DVrCIVGYg9crmLjg= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [192.168.2.130] ([84.179.232.41]) by mail.gmx.net (mrgmx105 [212.227.17.168]) with ESMTPSA (Nemesis) id 1MGQj7-1l54jy3WaT-00GnY3; Fri, 19 Feb 2021 13:07:03 +0100 To: Daniel Beardsley , PHP internals References: Message-ID: Date: Fri, 19 Feb 2021 13:07:03 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: de-DE Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:HRRRmRvMUmAQWirUF9k/XPTapvfRRxOR3VlFNKnRSf33hwJCCwK 9SNzzoK33lBjkg40ahuxhT6D/Ior0bSM5XHUgatCiTi7GimojwfEwUBq5qczboNksuh7MA5 CoIOA4hkAwJZcsAY7XDhlR2AFmztFCBT8iuc5BasLoPELDFC8o8nCFIwmu2xPY4yoKF+PUp ydIc5G07oiC3bm4A1QcgA== X-UI-Out-Filterresults: notjunk:1;V03:K0:SrNT1rNXTUI=:BNKQWRKTmARMdkEuWJTBtq Sn4J/yj2YDD62FwGoNr885YgLgh4FD10wHqadFgXcB8t6W7XFcOT6UFG6sWQkV+ppkwXNXvt/ gdCQsQZFt6rdqcv/lBRN2WQaqXunlZeMy1Stoc//izGRxqmpjdgeeOnbKWI+3oNU3JSS6fWF/ LcphMqQN4YRJE42xJaSiOCssg52XR5xB/iGDhgzapPOqDDmv5A/bF5v7f5qsqAtmPByltQjAo wg3rV2Ue78Q9B2d48+X2eXbPuti8Jo1lcyPgi7F8aGzofklCG+a/GGOO36CLEWqdHHuCTo2Ly X7t2ajS25bZ/ZmRD9F2DNZbJf5vEfpoF4B4qteMRr8ia6EJsKh/b8+KCWDUCk7kppWfhjsjjn j0YaltHgVn7AHieBfZ1DNxzTuDjXbv9fbRJ3XqZvps7y32kVNQ7j+JADO+uIt3tULD/yGt7uK RXUIWMPOFX82K5L+350fDbOcHrhYJHsfqSvqToMwJUyM84OcixXDpi075YaDjYhZsxrKsHewe uRzHNKsT3bu/V9zZlHkR02RmnSWRpIe54SoPuyz3loIUxc3sEdwLLHdW1z0du3aJB9KLbsjbz 7uuUtFL4RyxN43zgsI4ykmXb9nrCo548S9dFxIQLbmi5y+8hc722zQCX8s1bgFSxllbkq4Iq8 AozGM0PVX47W2Nd2LQshgs9TLql/nMySo/H0OmVsCV6nthiOiQAIQgyoYe+hM8T0p/Ao1p9D5 2qmKGkXTUUGvHpE4/KzyktqLXFO39H1as2Wn0bM5rO/ArMqpsDZ2o7w9zTwFwNo07U0qKvVT4 B4GEMX0iZjXh8a19fylhYrCJ+jmupfZHB00gkmQzQpVMVNA4P+1hCZYn9RyoZIFDrD+uhALb6 upZGndzTVR5bsTFTfM1A== Subject: Re: Potential RFC around PDO From: cmbecker69@gmx.de ("Christoph M. Becker") Hi Daniel! On 18.02.2021 at 01:57, Daniel Beardsley wrote: > wiki username: danielbeardsley > > =3D=3D=3D Background > I was told to introduce myself. I've been in software development for mo= re > than 20 years and have been working with php for 10 or so of that. I've > only had a little contact with this group, but I've got at least one pas= t > pull merged on the php-src repo: https://github.com/php/php-src/pull/271= . > At iFixit we use a forked version of php with a small change to allow > automatically html-escaping echoed strings: > https://github.com/iFixit/php-src/commit/cb6eb5c35a07c843e5b357884186d77= e3a1a2981 > . It's not something this list would be interested in as it's rather > special-purpose, but I'm mentioning it to show I'm somewhat familiar wit= h > the php build system. > > =3D=3D=3D Why I'm emailing now: > I've opened a pull request on php-src: > https://github.com/php/php-src/pull/6677 and I've been advised to make a= n > RFC. The first step is emailing! > > I'd like to propose adding a function to the mysql pdo driver (in the sa= me > way postgres and sqlite have) to extract the count of warnings from the > last executed statement. > > See the pull request linked above for a more thorough description. > > Should I make an RFC out of this? Yes, I think this needs an RFC, because adding driver specific methods is rather controversial. See e.g. . Anyhow, RFC karma has been granted. =2D- Christoph