I have written some C/C++ extension modules for PHP, using the 'old fashioned way' - i.e. by using the manual way (as described by Sarah Golemon in her book).
This is too fiddly for me, and since I am lazy, and would like to automate as much as possible. Also, I have used SWIG now to generate extensions to Python, and I am getting to like using it quite a lot.
I am thinking of using SWIG to generate my future PHP extensions. I am using PHP v5.2 (and above) on my production servers.
My questions are:
I have extensively used SWIG in production environment for generating PHP wrappers. Its pretty stable and can be used without issues.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With