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

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to