There has been numerous articles like that posted over the years, even recently, that talk about adding extensions and working with PHP internals. This is an excellent article, but you have much more than just the source code and a few undocumented examples.