Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:113324 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 98342 invoked from network); 27 Feb 2021 23:17:29 -0000 Received: from unknown (HELO php-smtp4.php.net) (45.112.84.5) by pb1.pair.com with SMTP; 27 Feb 2021 23:17:29 -0000 Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id CA5331804D1 for ; Sat, 27 Feb 2021 15:07:04 -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=0.6 required=5.0 tests=BAYES_05,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,HTML_MESSAGE,MISSING_HEADERS,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.2 X-Spam-Virus: No X-Envelope-From: Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com [209.85.218.52]) (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 ; Sat, 27 Feb 2021 15:07:04 -0800 (PST) Received: by mail-ej1-f52.google.com with SMTP id ci14so2291211ejc.7 for ; Sat, 27 Feb 2021 15:07:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:cc; bh=Kw+Zgsg2Qx9hzgY4QMl+wjV1upbyISbkSH9yWzYj4MQ=; b=a8CHin6y+DN+KlpruMV6MYyPUN83sGMTFbtZdUOkul0lTWjQENiis8fQyweRa75wFP pNmMiTcQxL7093DkZjYBBphcKhqg+7Zw9NEhfKrJVbLl/E2/vcWF0M4/6y1/6dX0dcxF C1HZOV1DqjCpftG3t05E05K71iOmpe7WpqPgBZmtJn1L7oV65K6NBrlFkyi5OmSi7inb l94BJehKBodbiAmwpQeYxPHqs95PW0DUSNjVOMrwKavWdsiqvILhaFtZps7y1zf8lkaY WLGfuYI3E/fbKEjqngmbuSVRQuzn3900GaBUQGnx6kuT3ExoDlXWF5ZO87lnub6sEIyF avxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:cc; bh=Kw+Zgsg2Qx9hzgY4QMl+wjV1upbyISbkSH9yWzYj4MQ=; b=HD26DTutDNMDAhxTxNxEq47QhSwsxw1ejS8x0nYwDsin3usddPPPjP/6cQhCyrkSR/ CaNzF3VyBNXxaBrvAVyy+3+ONq4bRXFFhTu2ZoEbzfswTxhBIJfc+NUXnNeO8vN48VlQ Fvw17pGgv/yU3w7VyXcWCdXBKYI5oEL+Xx2Pab71EhOHagk+3EMp0OTM4E1m/qMmYAwT ia/kh2MrxnJ9BTVcusQI/TnsSWWF9h9Gs1Jyt51V1TcVfsxw/V/vL9Wirg0sBPG91UtU uiK6/WfV5GkcyvcmPxfl8J1X1BF6SBGoHMDIsM4PRF0t2zslnnwLbvZvxgkEOG4tPGml Z1Ag== X-Gm-Message-State: AOAM531KJs9dRplRcw6rWe/PmONWmztWLBdZ4ObdXz/wkeok+EQN6Q56 nJyxNOeLPMkYzhPi8NmNTxTKIW0tUqpFkxkFjLw0PnhUcg6IA6xa X-Google-Smtp-Source: ABdhPJzZop5/GjxleslMCQf6BQgBK04I5rNm6DltQ18lqUjWhKD2mE5O5Tf2aqagzw5/ahUCxPezK7l/0dwAEeoOu2g= X-Received: by 2002:a17:907:9862:: with SMTP id ko2mr6798650ejc.222.1614467223052; Sat, 27 Feb 2021 15:07:03 -0800 (PST) MIME-Version: 1.0 References: <84a86f15-313e-1fb3-eb09-7fd6bbdeb5ce@php.net> <821813eb972cd5dad30a0e10385a115a9a8908a2.camel@schlueters.de> <2d9e003c-2a05-9cfa-8625-5aedf5b069f6@gmail.com> <445707c1-2b67-1f46-8d93-d9e0ca420b87@gmail.com> <3746C84D-AA34-4259-854B-9DB03C071CBD@schlueters.de> In-Reply-To: <3746C84D-AA34-4259-854B-9DB03C071CBD@schlueters.de> Date: Sat, 27 Feb 2021 23:06:52 +0000 Message-ID: Cc: PHP internals Content-Type: multipart/alternative; boundary="00000000000054e4b505bc597115" Subject: Re: [PHP-DEV] [RFC]: Change Default mysqli Error Mode From: tekiela246@gmail.com (Kamil Tekiela) --00000000000054e4b505bc597115 Content-Type: text/plain; charset="UTF-8" Your opinion is highly appreciated, Johannes. I feel that we will have to implement this change as you are proposing. I don't think I am rushing this change, because I believe is already late. It should have been fixed in PHP 7 or PHP 8, but because very little people use mysqli this extension hasn't seen much love. I know we can't remove mysqli completely so I am trying to improve the situation a little bit. The reason why I think the time is now is because of changes to PDO default error reporting mode and the move from Warnings to Errors in PHP 8. Moving to mysqli exceptions makes sense now. Other warnings in mysqli extension have already been turned to exceptions. I don't think the deprecation notice will reach as many people as we hope, but at least it will give us peace of mind. I am sorry if I sound a little bit defensive about my ideas, but I know from experience that many developers are allergic to any kind of change and I have to use a lot of convincing to achieve anything. I'll close the voting tomorrow and then I will think on how to adapt the RFC to deploy deprecation notice first. Thanks. Kamil --00000000000054e4b505bc597115--