O'Reilly logo

PHP 5 Power Programming by Derick Rethans, Stig Sæther Bakken, Andi Gutmans

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.5. Summary

In this chapter, you learned about the various types of errors PHP and PEAR can generate and handle. You learned how to customize error handling through php.ini, write your own error handlers, and convert PHP errors to PEAR errors or exceptions.

You learned about the problems that may be caused by differences between server back-ends (SAPI modules) and operating systems and some ways of dealing with portability.

Finally, you learned how to best use exceptions with PHP and the specifics of using exceptions with PEAR.

At the time of writing, the PEAR community is still working out how to best introduce and use exceptions with PEAR, so using exceptions with PEAR has been deliberately left out of this edition of this book. Keep an eye ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required