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: 2834429 |
Download: 294 |
Latest Downloads
Red Alert Online
Delta Force
Pokémon UNITE
Fantasy Aquarium
Girls Frontline
Wings of Stars
Little Flower Fairy Fairy Paradise
Restaurant Cute Story
Shanhe Travel Exploration
Love and Producer
24 HoursReading Leaderboard
- 1 How Can C 11 Type Traits Detect the Presence of a Member Function with a Specific Signature?
- 2 How to Implement Multi-File Uploads in PHP?
- 3 How Can I Create Partial Borders in CSS?
- 4 How to Build a Highly Scalable TCP/IP Server?
- 5 What Does the C `restrict` Keyword Do and How Does It Optimize Code?
- 6 Class vs. ID in HTML Divs: When to Use Which?
- 7 How to Secure Your MySQL Database: Best Practices for Data Protection
- 8 Why Do I Get an IndexError When Assigning Values to an Empty Python List?
- 9 How Can I Efficiently Locate Div Elements with Specific CSS Classes Using XPath?
- 10 Understanding and Fixing Uncaught SyntaxError: Cannot Use Import Statement Outside a Module in JavaScript
- 11 Why Should You Avoid Async Void Methods in C#?
- 12 Why Doesn't BULK INSERT Accept Variable File Paths in Stored Procedures?
- 13 How Does SQL Collation Impact Data Sorting and Query Results?
- 14 Planet Zoo: How To Pick A Biome For Your Zoo
- 15 Why Doesn't `table > tr > td` Select `td` Elements in HTML Tables?
Latest Tutorials
-
- Go language practical GraphQL
- 2366 2024-04-19
-
- 550W fan master learns JavaScript from scratch step by step
- 3780 2024-04-18
-
- Getting Started with MySQL (Teacher mosh)
- 2011 2024-04-07
-
- Mock.js | Axios.js | Json | Ajax--Ten days of quality class
- 2790 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