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

Popular posts from this blog

asp.net - Change the driver in the connection string to a data source in VB.Net -

Getting started consuming web services in a Ruby on Rails 3 application -

objective c - iPhone and it's wireless area -