yeah but anyone who is has nothing even close to this to look at. Essentially you have the source code and a few undocumented examples to figure out how to extend the language.
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.