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://github.com/kchodorow/rlyeh.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.