Extending PHP

Yippeee!! Today I compiled and ran my first (and totally useless) PHP extension, It is a stand alone .so file which implements a function called spit(), It just spits back whatever string you pass to it as a parameter. It took me all of 20 min to do it… Now I am kicking myself for not starting at it 2 years ago. It took Rasmus to convince me sheeesh

Well better late than never, now wishing that I have just bit of time free to pursue this as well.

Hmmm… Lets see apart form commercial work what am I doing? Reading, photography, UT2003 with Aasim, enhancing Coppermine, must find some more time

  • Oh, and you had to dabble in C code to get the .so done?

    And, Coppermine.sourceforge.net? That one?

    • Yes C :-O

      But thankfully the PHP build system takes care of the m4 files and creating a proper skeleton for the extension etc etc… making life very easy.

      Yes again I am the lead dev for https://coppermine.sf.net