ÄúµÄλÖãºÑ°ÃÎÍøÊ×Ò³£¾±à³ÌÀÖÔ°£¾PHP ±à³Ì£¾PHP 5 Power programming
Team LiB
Previous Section Next Section

15.3. Summary

So far, you learned enough about writing PHP extensions to create your own custom extensions. This chapter covered the important fundamentals to writing and understanding PHP extensions. The extension API framework provided by the Zend Engine is extremely rich and allows you to write object-oriented extensions. For many of the advanced features, very little documentation currently exists. Of course, nothing replaces looking at the core PHP extensions bundled with PHP. You can learn a lot from skimming through existing source code, and the fundamentals you have learned in this chapter should allow you to do so.

Additional information can be found in the extending PHP chapter of the PHP manual at http://www.php.net/manual/en/zend.php. Also, you might want to consider joining the PHP developers mailing list, mailto:internals@lists.php.net, which deals with developing PHP itself. In addition, you should look at a new extension-generating tool called PECL_Gen (http://pear.php.net/package/PECL_Gen), which is under development and will have more features than the ext_skel script used in this chapter.

    Team LiB
    Previous Section Next Section