News Feed
Sections




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

Johannes Schluter's Blog:
Scream!
February 27, 2009 @ 11:14:50

After being tasked with some code that was filled with the suppression character (@) all over, Johannes Schluter decided to take matters into his own hands and write an extension to disable it.

That's annoying. So I wrote a simple extension disabling this operator. That helped. I then proposed that extension to pecl, while doing that I found out that Gopal has written a similar extension before. After short discussions we added that extension, using the name scream to pecl and released the extension there.

Documentation for the extension has already been added to the PHP manual for the "Break the Silence" operator. By enabling the setting (either in your php.ini or via an ini_set) turning on "scream_enabled", any use of the suppression operator (@) will be nulled out and all according error messages will be displayed.

0 comments voice your opinion now!
screan suppression operator pecl extension remove phpini


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: ext/snarl: PHP interface to the Windows Snarl Notification Tool API

Alex Bilbie's Blog: MongoDB + CodeIgniter 101 (Part 1)

Community News: Announcing Go Live Beta of FastCGI Extension for PHP hosting on IIS5.1/IIS6.0

Community News: Latest PECL Releases for 09.04.2007

Hartmut Holzgraefe's Blog: PHP Graphviz Extension


Community Events





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


introduction language interview laravel podcast security version library opinion composer framework voicesoftheelephpant community artisanfiles series release conference symfony list tool

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