These are the slides for a talk about writing PHP extensions that I gave at the Berlin PHP User Group:
Extending PHP - How to mount a rocket launcher on the back of an elephant (online) (PDF version)
The code I used for demos is available on github and can serve as a kind of starting point for PHP extensions.
Other than that, the main thing to know is to not bother with the official documentation on php.net - it’s incomplete and outdated in parts - and to go straight to blog posts and other resources on the net. Google is your friend here.
Another good resource are the extensions that ship with php. They are of varying quality but most can serve as decent examples for how to get your own extension off the ground.
Happy Hacking!
more
{ 0 comments... » Intro to PHP extensions read them below or add one }
Post a Comment