Thanks for your reply Installer.
I agree that error reporting should be left on in production, and use of the set_error_handler() function should be used to define your own error handling methods which should include logging of errors to a seperate logfile ect.
I was trying to state that if error reporting was off, how does php deal with a defunct language construct? It wouldnt return false? I see that now.
I wonder if PHP5 allows you to throw an exception if the file isnt required.
Im just trying to explore the more inner workings of how php operates, Im not seeking help with this issue, more just seeking discussion.
Thanks for all your points and views, I agree with all of them. Using a simple if statement could contain all this, Im just simply trying to explore other options and see how PHP really deals with the execution of my applications.
Cheers.