I have to fight with people that using error suppression operator - they just hide their bugs.
I wrote simple patch that allows set disable_error_suppression=On in php.ini that causes engine to ignore '@' operators.


But often errors/warnings are *not* bugs. Or maybe you don't want to show your users the ugly messages from something like include -- if ([EMAIL PROTECTED] 'foo.php') die('Couldn\'t..');

Ken

http://strony.wp.pl/wp/wmeler/error_suppression.patch.txt

Regards,
Wojtek


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




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



Reply via email to