Workshop in English - US at SunshinePHP 2017
View Slides: http://www.slideshare.net/auroraeosrose/php-extensions-68195571
Short URL: https://joind.in/talk/5d432 (QR-Code (opens in new window))
Ever had a need for some library in C in your PHP code? Or want to hook into the engine to do evil? Or maybe you just want to make some part of PHP better. And then you say “but I don't know enough C”. PHP extensions are actually quite easy to write, even for those with only the smallest amount of C knowledge, if you know the secret incantations, places to find help, and where to get your tribal knowledge.
Write your own extension in this step by step tutorial which assumes you know nothing of PHP internals, the very basics of C syntax and little more, and have the ability to type “./configure && make && make install && make test”
We'll also touch on recognizing and fixing non PHP7 compatible extensions.