News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Sameer Borate's Blog:
Disabling the silence @-operator in PHP
July 06, 2010 @ 08:42:22

As Sameer Borate points out in his latest post to his blog, there's a way to disable that pesky suppression operator (@) in your PHP installation thanks to the scream extension.

PHP supports one error control operator: the at sign (@). When prepended to an expression any error generated by that expression will be ignored. It can also be useful for hiding errors generated by various functions. [...] Although quite useful at some times, using the @-operator can have some annoying side effects.

He shows you how to install the extension on a stock Ubuntu platform (including the PHP packages) and how use the feature in your application by means of a call to ini_set (or, of course, setting it in your php.ini file).

0 comments voice your opinion now!
disable supress operator scream extension


blog comments powered by Disqus

Similar Posts

Pierre-Alain Joye's Blog: Zip 1.8.7, safemode and open_basedir fixes

Pierre-Alain Joye's Blog: PECL Zip 1.5.0, features additions, modify OpenDocument

Christoph Dorn's Blog: FirePHP 0.2 Released

Rasmus Lerdorf's Blog: Writing an OAuth Provider Service

Community News: Komodo IDE 4.0 Released


Community Events





Don't see your event here?
Let us know!


community testing developer introduction unittest framework code laravel language threedevsandamaybe release series opinion podcast refactor interview symfony2 list configure install

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework