It would probably help if you had experience on both sides - as the comment suggests, the author doesn't seem to have much insight into how PHP works: "PHP also allows you to link libraries written in C, but we must recompile the interpreter with the appropriate options".