Search code examples
phpcphp-internalsphp-extension

how to write PHP module in C


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


Solution

  • 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