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: 2834495 |
Download: 294 |
Latest Downloads
Horror Beat Phase Maker
Himalayan Children
Zebra AI
Supermarket Manager Simulator
Red Alert Online
Delta Force
Pokémon UNITE
Fantasy Aquarium
Girls Frontline
Wings of Stars
24 HoursReading Leaderboard
- 1 WWE 2K25 Can’t Connect to Servers? Here’re Some Solutions
- 2 How to Use Voice Access in Windows 11
- 3 What is the smartest AI today?
- 4 Is ChatGPT still the best?
- 5 RoboCop: Rogue City Save File Location & Game File Protection
- 6 Which AI has the highest IQ?
- 7 Unlock the Power of AI Tools for Enhanced Efficiency and Productivity
- 8 Uninstall Xiaomi Game Center: Reclaim Your Device & Privacy!
- 9 Uninstall Xiaomi Game Center: Free Up Space & Boost Performance!
- 10 Windows 11 Ene.sys Driver: Troubleshooting & Solutions
- 11 Which AI is better than ChatGPT?
- 12 What Are the Key Features of ThinkPHP's Built-in Testing Framework?
- 13 How to Use ThinkPHP for Building Real-Time Stock Market Data Feeds?
- 14 Which artificial intelligence is the best?
- 15 What Are the Key Considerations for Using ThinkPHP in a Serverless Architecture?
Latest Tutorials
-
- Go language practical GraphQL
- 2974 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 4316 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2329 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 3072 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
