Error suppression with @ is very slow
Wednesday, January 9th, 2013 - 4:23 PM - Optimization, PHP
In PHP, @
is called the error suppression operator. It is sometime a convenient way to tell PHP that it shouldn’t generate a warning (or a notice) at some piece of code because you know it’s perfectly correct to ignore that particular warning. I’ve found out that the @
operator, if overused, can impose an important speed penalty. Hense, here is a list of things you shouldn’t do with this operator.
Source:- http://michelf.ca/blog/2005/bad-uses-of-the-at-operator/