PHP Compiler

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

PHP Compiler

Post 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
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

Why don't you try it? :)
Image Image
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post 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.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post 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 ;)
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post 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.
Slacker
Forum Newbie
Posts: 17
Joined: Thu Aug 12, 2004 9:19 pm

Post by Slacker »

Where can I get those 2 files? The mod and the gui.
User avatar
evilmonkey
Forum Regular
Posts: 823
Joined: Sun Oct 06, 2002 1:24 pm
Location: Toronto, Canada

Post by evilmonkey »

Check their forum, there are links to both under general discussion.
Post Reply