Section 15.3. Summary


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.



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

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