Page 1 of 1

PHP Compiler

Posted: Fri Sep 10, 2004 6:35 pm
by evilmonkey
I'm wondering about this compiler: http://www.priadoblender.com/index.php? ... &cslot_1=2. With this, you can just package the extensions with your program and write pure PHP code, with no changes (unlike the RoadSend thing).

Can anyone give me a review/reason not to use it? :P

Posted: Fri Sep 10, 2004 10:38 pm
by phice
Why don't you try it? :)

Posted: Sat Sep 11, 2004 3:01 pm
by evilmonkey
I did try it. Seems to work like a champ with PHP-GTK programs. The .exe file itself has about 17kb overhead because of the PHP interpreter (or something along those lines), and the extensions are just included with the package. Seems really cool. I'm just wondering if anyone knows some of it's faults. For instance, I found one: it doesn't understand include() and require(). All the code must be in one file.

Posted: Sat Sep 11, 2004 3:05 pm
by feyd
evilmonkey wrote:I found one: it doesn't understand include() and require(). All the code must be in one file.
kinda sucks, but isn't a huge hassle. Keeps speed up too ;)

Posted: Sat Sep 11, 2004 3:08 pm
by evilmonkey
feyd wrote:
evilmonkey wrote:I found one: it doesn't understand include() and require(). All the code must be in one file.
kinda sucks, but isn't a huge hassle. Keeps speed up too ;)
Yeah, that's a pretty big hassle. I found a GUI frontend for this compiler (it has command line interface by default), and the frontend has the option of merging all the includes into one file. I think that results in parse errors though :?

I also found a little modification that gets rid of the DOS window when running the newly created executable.

Posted: Sun Sep 12, 2004 8:14 am
by Slacker
Where can I get those 2 files? The mod and the gui.

Posted: Sun Sep 12, 2004 3:21 pm
by evilmonkey
Check their forum, there are links to both under general discussion.