current location: Home > Download > Learning resources > php e-book > Zend API: Deep into the PHP core
Zend API: Deep into the PHP core
Classify: Learning materials / php e-book | Release time: 2018-02-23 | visits: 2834409 |
Download: 294 |
Latest Downloads
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
The most powerful brain 3
Odd Dust: Damila
Young Journey to the West 2
24 HoursReading Leaderboard
- 1 Where\'s the Best Place to Put My JavaScript Files in an HTML Document?
- 2 How to Create a Go SOCKS5 Client Using net/proxy?
- 3 dwfile.dll - What is dwfile.dll?
- 4 python session day t payilagam
- 5 Can I Control Scroll Speed in Web Pages Using CSS or JavaScript?
- 6 How Can I Extract a Subdomain from a URL in PHP?
- 7 How Do I Import Classes from the Same or Subdirectories in Python?
- 8 Why Do MySQL Dumps Contain Mysterious Comments, and Should I Remove Them?
- 9 How to Convert \'MM/DD/YYYY\' Date Strings to MySQL DATETIME Fields?
- 10 How Can I Disable Magic Quotes GPC in a Shared Hosting Environment Without php.ini Access?
- 11 If you are starting in AI field ...
- 12 How Can I Dynamically Display Text with Custom Fonts and Colors in Pygame?
- 13 How Can I Export All Symbols from a DLL in Visual Studio Without Using Macros or .def Files?
- 14 Are Channels Passed by Value or Reference in Go?
- 15 How Can I Prevent Resource Leaks When Using a Scanner in Java?
Latest Tutorials
-
- Go language practical GraphQL
- 2154 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 3584 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 1883 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 2694 2024-03-29
1. First use ext_skel to create a PHP extended module skeleton:
What should be noted here is that the ext_skel tool is generally in the ext directory of the PHP source code package, but I prefer to put it out, that is, not to create a module in the ext directory of the PHP source code package. Suppose I now create a module in /home/php The module named php_hello
#cd /home/php
#/path/to/ext_skel --extname=php_hello
#cd php_hello
Modify the config.m4 file as follows: Simply remove some dnl comments:
PHP_ARG_WITH(php_hello, for php_hello support,
dnl Make sure that the comment is aligned:
[ --with-php_hello Include php_hello support])
or
PHP_ARG_WITH(php_hello, for php_hello support,
dnl Make sure that the comment is aligned:
[ --with-php_hello Include php_hello support])
This completes the skeleton of an extended module. Take a look at the end of config.m4: PHP_NEW_EXTENSION(php_hello, php_hello.c, $ext_shared) This line specifies the target file that the php_hello module needs to compile, which is php_hello.c