O'Reilly logo

PHP 5 Advanced: Visual QuickPro Guide by Larry Ullman

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

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 ...

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