Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Sample code for PHP Extensions Made Eldrich tutorial

branch: master

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 .gitignore added gitignore August 02, 2011
Octocat-spinner-32 README.markdown
Octocat-spinner-32 config.m4
Octocat-spinner-32 php_rlyeh.c
Octocat-spinner-32 php_rlyeh.h

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.

Something went wrong with that request. Please try again.