|
尝试了一下,发现这个东东做个命令行程序还是不错的。不过也仅仅是玩玩而已,感觉实用程序不高:
Bambalam PHP EXE Compiler/Embedder
- What is it?
Bambalam PHP EXE Compiler/Embedder is a free command line tool to convert PHP applications to standalone Windows .exe applications. The exe files produced are totally standalone, no need for php dlls etc. The php code is encoded using the Turck MMCache Encode library so it's a perfect solution if you want to distribute your application while protecting your source code. The converter is also suitable for producing .exe files for windowed PHP applications (created using for example the WinBinder library). It's also good for making stand-alone PHP Socket servers/clients (using the php_sockets.dll extension).
It's NOT really a compiler in the sense that it doesn't produce native machine code from PHP sources, but it works!
http://www.bambalam.se/bamcompile/ |
|