How do PHP folks deal with exception handling?
try {
.. block that may fail ..
}catch($err){
.. clean up resources, etc..
}
Is setting a die handler the only way to do this?
Jamie
try {
.. block that may fail ..
}catch($err){
.. clean up resources, etc..
}
Is setting a die handler the only way to do this?
Jamie
Comment