how to write PHP module in C

2020-02-25 07:44发布

问题:

how can i write my own module in C ? is it possible ?

回答1:

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:

http://www.php.net/manual/en/internals2.php