vnool / PHP-to-C

a PHP To C++ converter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

#PHP-to-C

BinaryPHP is a PHP To C++ converter, which will convert PHP scripts into C++ equivalents ready to be compiled using any ANSI compiler.

##DEPENDS

  • PHP (cli-sapi)

Tested using 4.X series of the CLI sapi

  • C++ compiler

Tested with: GNU g++ 2.9.5 and 3.0.4 and some unknown version of MSVC++

##BUILDING

None Needed

##USAGE

convert.php --if <inputfile.php> --of [-v | --verbose] [-h | --help]

Included Examples:

./convert.php --if examples/irc.php --of ircbot
./convert.php --if examples/helloworld.php --of hello

##CHANGELOG

see ChangeLog

Last Update: 2013-04-24

###refer to http://rosecompiler.org/

https://github.com/facebook/hhvm

About

a PHP To C++ converter


Languages

Language:C++ 50.4%Language:PHP 49.6%