Php-to-c-extension, allowing developer to developer php extension using just php

2 points by jimthunderbird ↗ HN
php-to-c-extension is a tool written in php to allow developers to write php extension using just php. It also has options for developers to mix C code with php when developing the extensions, thus opening the option to further tapping into the power of C and a lot of existing C libraries.

Check it out at github: https://github.com/jimthunderbird/php-to-c-extension

3 comments

[ 0.21 ms ] story [ 24.0 ms ] thread
thank you. I had tested it on ubuntu 14.04 LTS in VMWARE on my windows-7 Toshiba laptop. I had tested the array_sum built-in function of PHP by rewriting it as a PHP function. The performance of that function after the compilation as an extension is exactly equal to the performance of the built-in function.