How to Develop PHP extensions? What should I pay attention to when using PHP extensions?

Source: Internet
Author: User
0 reply content: A lot of online extension development tutorials, 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.

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.