Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:104337 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 63205 invoked from network); 11 Feb 2019 11:30:05 -0000 Received: from unknown (HELO smtp.opensides.be) (195.154.20.141) by pb1.pair.com with SMTP; 11 Feb 2019 11:30:05 -0000 Received: from localhost (localhost [127.0.0.1]) by smtp.opensides.be (Postfix) with ESMTP id 59CFE268715 for ; Mon, 11 Feb 2019 09:12:40 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at opensides.be Received: from smtp.opensides.be ([127.0.0.1]) by localhost (smtp.opensides.be [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 7f52yQ_vKfhM for ; Mon, 11 Feb 2019 09:12:37 +0100 (CET) Received: from mcmic-probook.opensides.be (63.120.199.77.rev.sfr.net [77.199.120.63]) by smtp.opensides.be (Postfix) with ESMTPSA id D9DEC268706 for ; Mon, 11 Feb 2019 09:12:37 +0100 (CET) To: internals@lists.php.net Date: Mon, 11 Feb 2019 09:12:35 +0100 Message-ID: <1771547.4hLCfmCBrS@mcmic-probook> Organization: OpenSides User-Agent: KMail/5.2.3 (Linux/4.9.0-8-amd64; KDE/5.28.0; x86_64; ; ) In-Reply-To: References: <1cac1e56-56bd-5995-353b-283cd7c89c7a@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" Subject: Re: [PHP-DEV] Don't silence fatal errors From: come@opensides.be (=?ISO-8859-1?Q?C=F4me?= Chilliet) Le dimanche 10 f=C3=A9vrier 2019, 09:34:16 CET Pierre Joye a =C3=A9crit : > However I think you are right as well in your other replies. While I wrote > @ free code since years and I rarely see some in modern code, removing it > may bring some BC issues that could delay 8 adoptions. Not sure where in this thread is the right place to answer, but I felt like= I had to report that the php-ldap module triggers warning for about all er= rors and is almost impossible to use without @ because of this. I did not attempt at fixing this for now since it would be huge BC breaks a= nd if we=E2=80=99re going for BC breaks a lot of the ldap module API could = be redesigned. The other case where error handling through warning is a big problem is fop= en, for which I usually use the same kind of wrapper (setting error handler= ) as posted by someone else. C=C3=B4me