If you don't care the error so the include file is useless

That's not necessarily true.  I can think of several situations in
which a hypothetical programmer (possibly even myself) may want to
include a file if it's present, but ignore it if it isn't.

I know of a good example here. I have a project where we encode modules as include files...if they are present we load them up and they provide additional functionality to the system. By having the files include we provide additional functionality that the customer has purchased for the particular deployment.

My $0.02 - don't ever suppress error/warning messages. I am a big fan of try/catch and error handling.


--
thebigdog

_______________________________________________

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

Reply via email to