Right now I'm reading an interesting tutorial about writing a PHP extension in C by Sara Golemon on zend.com

Index
Part I
Part II
Part III