Sample code for PHP Extensions Made Eldrich tutorial
Latest commit fbc8e38 Aug 11, 2011 @kchodorow fix markdown
Failed to load latest commit information.
.gitignore added gitignore Aug 3, 2011
README.markdown fix markdown Aug 11, 2011
config.m4 hello, world Aug 3, 2011
php_rlyeh.c hello, world Aug 3, 2011
php_rlyeh.h hello, world Aug 3, 2011


PHP Extensions Made Eldritch: Code Samples

The code in this repository accompanies the PHP Extensions Made Eldritch tutorial, available at:

If you don't want to copy/paste all of the code, you can clone this repo and check out sections as you go.

$ git clone git://

Part 2 of the tutorial (Hello, world!) is on the master branch. Stating in part 3, each "unit" has a branch: <branchname> at the beginning. You can checkout this branch if you want to see the code example in context.

For example, if you see branch: oop, you'd do:

$ git checkout -b oop origin/oop

Then you can compare what you're doing to the example.