php: catch exception and continue execution, is it possible? -
Is it possible to hold the exception and continue execution of the script?
Sure, just catch the exception where you want to continue execution ...
< Pre> try {SomeOperation (); } Hold (some expedition $ E) {// nothing ... PHP will ignore and keep going}
Of course it is a problem of leaving it quiet that can be a very important error Some operations () may be difficult to understand other subtle problems, but you will never know that you quietly leave the exception.
Comments
Post a Comment