On 27 Mar 2009, at 9:40, Kevin wrote:

And I quote:
"Error suppression is slow. This is because PHP dynamically changes
error_reporting to 0 before executing the suppressed statement, then
immediately changes it back. This is expensive."

Using error suppression is always a bad thing. It makes debugging in the future much more difficult. If you want to include only files that exist just wrap it in an if ( file_exists($file) ). This makes the code much more
clearer and you don't sacrifice missing other potential errors that
include_once might throw.

Thank you. That is the answer I was looking for.

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

UPHPU mailing list
[email protected]
http://uphpu.org/mailman/listinfo/uphpu
IRC: #uphpu on irc.freenode.net

Reply via email to