note 102879 deleted from language.operators.errorcontrol by danbrown

From: Date: Fri, 11 Mar 2011 21:21:09 +0000
Subject: note 102879 deleted from language.operators.errorcontrol by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-177807@lists.php.net to get a copy of this message
Note Submitter: daniel dot tsviatkov at gmail dot com ---- <?php for ($i = 0; $i < 1000000; $i++) { @x(); } ?> Try it this way and you may find the difference. When the object exists there isn't really great slowdown, something like you said .005 ms which is ok, but it is used in the cases when the object doesn't exist, and in some cases it can cut performance. I think it is always better to know what are you doing and what your scripts do, than suppressing errors, which may lead you to some serious problems if you see it :)

« previous php.notes (#177807) next »