Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:21475 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 75763 invoked by uid 1010); 11 Jan 2006 11:39:35 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 75748 invoked from network); 11 Jan 2006 11:39:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Jan 2006 11:39:35 -0000 X-Host-Fingerprint: 82.94.239.5 jdi.jdi-ict.nl Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:40424] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 9A/59-29075-57EE4C34 for ; Wed, 11 Jan 2006 06:39:33 -0500 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id k0BBdVc9003174; Wed, 11 Jan 2006 12:39:31 +0100 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id k0BBdQOc003153; Wed, 11 Jan 2006 12:39:26 +0100 Date: Wed, 11 Jan 2006 12:39:26 +0100 (CET) X-X-Sender: derick@localhost To: Tim Starling cc: internals@lists.php.net In-Reply-To: Message-ID: References: <200601101613.02531.thiago.silva@kdemail.net> <43C40D11.6020001@zend.com> X-Face: "L'&?Ah3MYF@FB4hU'XhNhLB]222(Lbr2Y@F:GE[OO;"F5p>qtFBl|yVVA&D{A(g3[C}mG:199P+5C'v.M/u@Z\![0b:Mv.[l6[uWl' MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at jdi-ict.nl Subject: Re: [PHP-DEV] [PATCH] entry #35269 From: derick@php.net (Derick Rethans) On Wed, 11 Jan 2006, Tim Starling wrote: > Suppression of fatals is an irritating misfeature. There's nothing worse > than trying to work out where in tens of thousands of lines of code some > idiot developer put an @ before a function invocation where the function is > only available on some systems. In MediaWiki we use wfSuppressWarnings() and > wfRestoreWarnings() instead of @, but of course that's slower to type and to > execute, so the temptation is always there to use the evil @. > > If suppression of fatals could be switched off, even as an INI setting off > by default, it would be a great help to developers. error_reporting( E_ALL ^ (E_RECOVERABLE_ERROR | E_WARNING | E_NOTICE) ); regards, Derick -- Derick Rethans http://derickrethans.nl | http://ez.no | http://xdebug.org