I have been searching on the web but can't find an answer to this question. How do I make a simple script that will read the functions in a php.net dll file where it can be used in c++. The main reason why I am trying to do this is so that I can make a dll which is a plugin for gamemaker and php dll's can plugin to my dll extending functionality.

So as I asked, are there any links/tutorials or code for reading the php.net dll files just like php does because php's source code is massive and is hard to decipher the required & junk stuff.