ZF's Zend_Dom - The DOMDocument Wrapper
View Single Post
06-06-2009, 01:08 PM
Join Date: Apr 2007
Originally Posted by
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
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..
View Public Profile
Send a private message to Salathe
Visit Salathe's homepage!
Find More Posts by Salathe