View Single Post
Old 06-06-2009, 01:08 PM   #5 (permalink)
Salathe
Moderateur
RegEx Guru PHP Guru Top Contributor Advanced Programmer 
 
Salathe's Avatar
 
Join Date: Apr 2007
Posts: 1,393
Thanks: 5
Salathe is on a distinguished road
Default

Quote:
Originally Posted by Orc View Post
Why does it use the error suppression operator which is supposedly slow...
There are any number of reasons why the author decided to use the error suppression operator. It is very quick and painless to write (just one extra character and all the noise goes away!), they may think that is the only way to keep the errors from popping up, they may not care about any tiny, tiny, tiny performance hit incurred when the line is called (perhaps only once or a few times per page-load for most uses), etc..
Salathe is offline  
Reply With Quote