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: 2834488 |
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 The Witcher 3: Collect 'Em All - Where to get every Gwent card
- 2 The Headliners: Every Shop Item And What They Do
- 3 How to fix Windows update error 0x800f0826?
- 4 How do I use Bootstrap's Icons library?
- 5 Genshin Impact Sakura bloom locations: How to farm Sakura Bloom
- 6 Where can I find Bootstrap templates and themes?
- 7 Genshin Impact Nilotpala Lotus locations and Nilotpala farming tips
- 8 Zelda: Tears of the Kingdom - Yiga Hideout & Base Locations
- 9 How to fix "Ucrtbase_clr0400.dll is either not designed to run on Windows or it contains an error"?
- 10 Silent Hill f Pre-Order Guide: Platforms, Physical Editions, And Where To Buy
- 11 How do I contribute to the Bootstrap community?
- 12 NYT Connections Answers And Hints - March 15, 2025 Solution #643
- 13 How do I override Bootstrap's styles without modifying the core framework files?
- 14 How do I test Bootstrap websites?
- 15 How do I customize Bootstrap's default styles using CSS variables (Sass)?
Latest Tutorials
-
- Go language practical GraphQL
- 2955 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 4297 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2322 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 3066 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
