how can i write my own module in C ? is it possible ?
Asked
Active
Viewed 1.6k times
16
-
2http://devzone.zend.com/article/1021 – Matthew Apr 12 '11 at 06:34
-
if you have posted the comment as an answer i will be able to vote up and select it as answer – Sourav Apr 12 '11 at 06:37
-
possible duplicate of [where can i learn php internals, how they work ?](http://stackoverflow.com/questions/4389738/where-can-i-learn-php-internals-how-they-work) – Gordon Apr 12 '11 at 06:40
-
1Old question but since 2014 you can also use PHP-CPP library (www.php-cpp.com, Apache license) to simplify the writing of PHP extensions. – MV. Feb 11 '16 at 22:21
1 Answers
19
Yes, it is possible. Here's an old article that I used when I wrote my first extension:
http://web.archive.org/web/20110222035803/http://devzone.zend.com/article/1021
Things may have changed since then, so you may want to search for similar tutorials for additional references.
Oh, and this should be useful:

Martijn Pieters
- 1,048,767
- 296
- 4,058
- 3,343

Matthew
- 47,584
- 11
- 86
- 98