how to write PHP module in C
Asked Answered
Q

1

16

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

Quadrat answered 12/4, 2011 at 6:32 Comment(4)
devzone.zend.com/article/1021Teddi
if you have posted the comment as an answer i will be able to vote up and select it as answerQuadrat
possible duplicate of where can i learn php internals, how they work ?Jamnis
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.Chinua
T
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

Teddi answered 12/4, 2011 at 6:40 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.