https://github.com/wkhayrattee/training-phpextensions
My learning experience with creating PHP Extensions, mentored by Sara Golemon
https://github.com/wkhayrattee/training-phpextensions
cprogramming learning mentors php php-extension phpextension
Last synced: about 1 year ago
JSON representation
My learning experience with creating PHP Extensions, mentored by Sara Golemon
- Host: GitHub
- URL: https://github.com/wkhayrattee/training-phpextensions
- Owner: wkhayrattee
- License: mit
- Created: 2018-01-19T11:44:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2018-02-27T02:02:35.000Z (over 8 years ago)
- Last Synced: 2025-04-03T09:01:48.412Z (about 1 year ago)
- Topics: cprogramming, learning, mentors, php, php-extension, phpextension
- Language: C
- Size: 41 KB
- Stars: 7
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
# About
- I want to learn how to create PHP Extensions from Scratch
- The amazing & prodigious @sgolemon is currently my mentor (see: [https://twitter.com/7php/status/953722250116530176](https://twitter.com/7php/status/953722250116530176))
- This repo will serve as: my workbook & journal
## My Objectives
- Get started with PHP Extensions
- Create a PHP 7 compatible wrapper for [https://github.com/LMDB/lmdb](LMDB) - something similar to [https://github.com/mpremus/lmdb-php](https://github.com/mpremus/lmdb-php)
### Questions For Later (After the initial training is done)
- Is there a different approach to create an extension for multi-process & multi-threaded?
- How to approach the creation of the php extension, so that it's both PHP 5.6+ & PHP 7+ compatible?
## Observations
- Revisiting **Macros** would be an advantage:
- https://www.cprogramming.com/tutorial/cpreprocessor.html
- https://gcc.gnu.org/onlinedocs/cpp/Macros.html