16

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

4
  • 2
    devzone.zend.com/article/1021 Commented Apr 12, 2011 at 6:34
  • if you have posted the comment as an answer i will be able to vote up and select it as answer Commented Apr 12, 2011 at 6:37
  • possible duplicate of where can i learn php internals, how they work ? Commented Apr 12, 2011 at 6:40
  • 1
    Old question but since 2014 you can also use PHP-CPP library (www.php-cpp.com, Apache license) to simplify the writing of PHP extensions. Commented Feb 11, 2016 at 22:21

1 Answer 1

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:

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

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.