12. Using PEAR

One part of my definition of “advanced” PHP is simply: Do the things you already do but better and faster. Toward this end, PEAR is a miraculous tool. PEAR, the PHP Extension and Application Repository (http://pear.php.net), is a shared library of PHP code that you can use to develop your own applications. The library is made up of packages, each package providing functionality within a specific area.

In some other chapters, I have either mentioned related PEAR packages or outright used them (because why reinvent the wheel, right?). In this chapter I am going to demonstrate three more PEAR packages, which did not fit in elsewhere. These packages address common problems PHP programmers encounter, and frequently asked questions ...

Get PHP 5 Advanced: Visual QuickPro Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.