Section 7.5. Summary


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 on this book's web site at http://php5powerprogramming.com/ for updates!



    PHP 5 Power Programming
    PHP 5 Power Programming
    ISBN: 013147149X
    EAN: 2147483647
    Year: 2003
    Pages: 240

    Similar book on Amazon

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net