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: 2834535 |
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 Top Tech Deals: Galaxy Watch 7, AirPods 4, AMD Ryzen 5 CPU, and More!
- 2 Oblivion Remastered: All Skill Trainer Locations
- 3 Oblivion Remastered: How To Get Varla Stones
- 4 Get a 512GB Samsung microSD Card for $30 Today
- 5 4 Ways to Fix Taskbar Color Not Changing in Windows 10 - MiniTool
- 6 Fix Windows Update Check for Updates Grayed out
- 7 Remote Desktop Service Is Currently Busy - Targeted Solutions
- 8 Network Error Message Appears in ChatGPT? Try 7 Ways to Fix! - MiniTool
- 9 iCloud Mail Login/Sign-up | How to Access iCloud Mail PC/Android - MiniTool
- 10 Download and Install Windows ADK for Windows [Full Versions] - MiniTool
- 11 What are the limitations of React?
- 12 Google Cloud vs AWS | Two Services Feature Compared Review - MiniTool
- 13 How to Find Cyberpunk 2077 Saves? How to Back up Them? - MiniTool
- 14 Composer: The Package Manager for PHP Developers
- 15 Smart Guide: Enable/Disable Microsoft Vulnerable Driver Blocklist
Latest Tutorials
-
- Go language practical GraphQL
- 3236 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 4567 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2586 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 3294 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
