Possible Duplicate:
Using Hiphop for PHP extension development
This question is similar to the following: Using Hiphop for PHP extension development
I do not think that question was answered properly, if at all.
I am sure you can use HipHop PHP to convert a php file to C++, without adding facebooks webserver. So, you would just have your php file converted to C++ source. Could you then compile that code to a php extension? I have some security related functions that I would like to compile to extensions, but I dont know C/C++. And please, no responses of "are you as big as facebook? you dont need hiphop", or "Use Ioncube/Zend Guard". I know those products exist. They are also expensive.