Replace error reporting with exception handlers with PHP
As part of a series of posts about PHP exception handling, this post looks at how to make regular errors use exception model. Normally only the newer object-oriented extensions throw exceptions but it is possible to make all errors throw an exception instead using set_error_handler.

| Hits: | 25 | Last Updated: | 2010-03-24 |
VIEW ALL
PHP Tutorials