I'm looking for a way to convert PHP code to C++. There are a few reasons I want to do so:
Main reason: There are bunch of great PHP tools/software that I'd love to use and incorporate into C++ GUI or non-GUI applications
- To boost performance
- To avoid dependency on PHP libraries
- To avoid disclosing source code on shared hosting environments
- To be empowered by C++ language features and make use of frameworks like Qt C++ and Poco
So far I've found:
http://sourceforge.net/projects/binaryphp
http://www.mibsoftware.com/php2cpp/
Please share your ideas and tools that you know. Thank you in advance!
EDIT: I also need cross-platform operability and good match for $$, syntactic sugar functions and Interface.
EDIT: Please note that 2 aforementioned tools use 2 different approaches. The former has built-in libraries to convert PHP procedural code and make it run. The latter translates (word by word) from PHP to C++.