How to develop PHP extensions? What should I pay attention to when using PHP extensions? -Php Tutorial

Source: Internet
Author: User
Php Chinese network (www.php.cn) provides the most comprehensive basic tutorial on programming technology, introducing HTML, CSS, Javascript, Python, Java, Ruby, C, PHP, basic knowledge of MySQL and other programming languages. At the same time, this site also provides a large number of online instances, through which you can better learn programming... There are many extension development tutorials on the Internet, such as: http://www.laruence.com/2009/04/28/719.html The ext directory in the source code also comes with many classic examples.
Note that,
1. use PHP extension to build the system to create/publish Extensions. do not write Makefile or build. sh on your own.
2. try to prioritize Zend APIs or PHP APIs to ensure platform independence to a large extent.
3. try to use c89.
4. more exercises... we recommend this book Extending and Embedding PHP. PHP extensions are written in C language, and most function libraries are provided by zend. you are advised to read the source code of many open-source extensions on github/code. google.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.