39 PHP Extensions
The supreme discipline of PHP development is, of course, the development of PHP and its extensions. In this chapter, we will create a simple PHP extension and test it on various operating systems.
PHP is a very powerful language; we hope the previous book chapters have demonstrated this. However, there is always a point where the built-in functionality is not enough. This chapter is about PECL. As with PEAR, you can contribute your own (good) packages to PECL. The main difference is that these packages are written in C and must therefore be compiled.
Note
This begs the question: What is the difference between a PHP extension and a PECL package? Well, there isn't a big one, at least. You use PECL packages just like PHP extensions, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access