zicco wrote:
Did anyone write a module or program to \"compile\" php scripts into executable binaries (.exe in windows)?
It's impossible. PHP is fully interpreted language. Where is eval(), run-time includes and so on.
It could be useful for non-web scripting (shell scripts, etc).
For running shell scripts you can use shell. Or WHS on windows.
Advantages:
-\"Compiled\" scripts can be run on computers without installing the php interpreter.
-Faster; useful for processing large amounts of data.
-Amateurs programmers (like me) can write small customized programs without learning C++.
C++ is not more complex then PHP. Especially if you want to use it for shell scripts.
Dont you think it would be a good idea?
No.