Archive

Posts Tagged ‘error handling’

Exception Handling In PHP5- php tutorial

February 16th, 2009 Gertjan No comments

What is Exception Handling?

An exception (or exception handler) is a programming language construct that lets web developers have a better control over error handling. Most web sites development services have the option to extend this with their own custom exceptions to trap specific bugs or errors.

Exception Handling in PHP

PHP 5 has features for dealing with errors, thanks to its Object Oriented capabilities. Now, there is no need for explicit error checks every time one connects the database. There is more scope for controlling errors by using the exception class with try and catch blocks.

Read more…

Categories: PHP Tags: , ,
Data Recovery