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: 2834525 |
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 macOS Development: Building Native Apps with Swift & Xcode
- 2 SQL and phpMyAdmin: A Beginner's Guide
- 3 Linux: A Look at Its Fundamental Structure
- 4 MongoDB vs. Oracle: Understanding Key Differences
- 5 Fix 0x00000078 “PHASE0_EXCEPTION” Error – 5 Methods Here - MiniTool
- 6 How to type multiple lines of comments in vscode
- 7 NYT Connections Answers And Hints - April 16, 2025 Solution #675
- 8 Game_Ship.exe Error in COD Warzone & Black Ops 6, Proven Tips
- 9 Expert Guide to Finding Blue Prince Save File Location Easily
- 10 How to fix RESULT_CODE_MISSING_DATA error in Chrome and Edge?
- 11 What is the difference between vscode and pycharm
- 12 Wanderstop Stuck on Loading Screen/Not Loading: Try 6 Solutions
- 13 Star Wars: Zero Company to Be Officially Revealed From Respawn and Bit Reactor This Weekend
- 14 What language is written in vscode
- 15 ‘Star Wars Zero Company’ Announced – Live Out Your Jedi Dreams in This New Turn-Based Tactics Game
Latest Tutorials
-
- Go language practical GraphQL
- 3140 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 4473 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2475 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 3183 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
