473,562 Members | 3,059 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

PHP compiler

Is the a PHP compiler? A program that compiles PHP code to executable
which doesn't need php interpreter to execute...

--
Pozdrav/Regards, Nikola [Nick] Skoric.
"...Usne, tice-rugalice - a u oku tajac
Da sam kaput sa dva lica, da sam Gospo'n Propalica..."
http://newusers.cjb.net/ - site o Usenetu na hrvatskom!
Jul 17 '05 #1
34 3668
Nikola Skoric wrote:
Is the a PHP compiler? A program that compiles PHP code to executable
which doesn't need php interpreter to execute...


oh you sick freak. You want compiled binaries for what reason?
efficiency??? use a language that allows efficiency then...

mwhaha...

J
Jul 17 '05 #2
Hi J,
On Sun, 07 Mar 2004 23:57:47 +0000, J Taylor <jt@imen.org.uk > wrote:
Nikola Skoric wrote:
Is the a PHP compiler? A program that compiles PHP code to executable
which doesn't need php interpreter to execute...

oh you sick freak. You want compiled binaries for what reason?
efficiency?? ? use a language that allows efficiency then...


He might want it to distribute it to people that are not able to set
up a webserver.

if this is the case, have a look at MicroWeb. Its not free though.

HTH, Jochen

mwhaha...

J


--
Jochen Daum - Cabletalk Group Ltd.
PHP DB Edit Toolkit -- PHP scripts for building
database editing interfaces.
http://sourceforge.net/projects/phpdbedittk/
Jul 17 '05 #3
Jochen Daum <jo*********@ca ns.co.nz> wrote in message news:<rf******* *************** **********@4ax. com>...

He might want it to distribute it to people that are not able to set
up a webserver.

if this is the case, have a look at MicroWeb. Its not free though.


But then he should write a simple executable that starts apache with
the right config file. The only real reason for a compiler is to
protect the copyright of your source code. And for this there is a
zend solution availabl.e
Jul 17 '05 #4
In article <6e************ **************@ posting.google. com>,
ll*****@web.de says...
Jochen Daum <jo*********@ca ns.co.nz> wrote in message news:<rf******* *************** **********@4ax. com>...

He might want it to distribute it to people that are not able to set
up a webserver.

if this is the case, have a look at MicroWeb. Its not free though.


But then he should write a simple executable that starts apache with
the right config file. The only real reason for a compiler is to
protect the copyright of your source code. And for this there is a
zend solution availabl.e


Zend solution? Can you explaint that a little bit?

--
Pozdrav/Regards, Nikola [Nick] Skoric.
"...Usne, tice-rugalice - a u oku tajac
Da sam kaput sa dva lica, da sam Gospo'n Propalica..."
http://newusers.cjb.net/ - site o Usenetu na hrvatskom!
Jul 17 '05 #5
In article <40************ ***********@new s-text.dial.pipex .com>,
jt@imen.org.uk says...
Nikola Skoric wrote:
Is the a PHP compiler? A program that compiles PHP code to executable
which doesn't need php interpreter to execute...


oh you sick freak. You want compiled binaries for what reason?
efficiency??? use a language that allows efficiency then...

mwhaha...


No. See, you didn't understand my question correctly. I don't actually
need a PHP compiler, what I need is an *information* wether that
compiler exists. And why's that? Becouse my team and I might be doing a
PHP compiler as a student project for my Comiler Design course at
University (I, as a group leader, have 10 people and 4 months on my
hands to build a comiler of my own). So, it would be very nice to have
"nobody did it before" in my project documentation. And I can write that
if I'm not sure, right?

--
Pozdrav/Regards, Nikola [Nick] Skoric.
"...Usne, tice-rugalice - a u oku tajac
Da sam kaput sa dva lica, da sam Gospo'n Propalica..."
http://newusers.cjb.net/ - site o Usenetu na hrvatskom!
Jul 17 '05 #6
Nikola Skoric wrote:
(...)
Zend solution? Can you explaint that a little bit?


"Starting at $960":
http://www.zend.com/store/products/zend-encoder.php

Rudi
Jul 17 '05 #7
That would be a nice thing to do.

AFAIK, so far there is a PHP compiler that creates code that is interpreted
by another executable. That is the case of "Zend Encoder" and "Zend
Optimizer" that runs the compiled code. Guess this can be classified as
Java: bytecode generator and an interpreter.

--
Elias
"Nikola Skoric" <ni*******@net4 u.hr> wrote in message
news:MPG.1ab64a 8fe5f7ea1198971 a@localhost...
In article <40************ ***********@new s-text.dial.pipex .com>,
jt@imen.org.uk says...
Nikola Skoric wrote:
Is the a PHP compiler? A program that compiles PHP code to executable
which doesn't need php interpreter to execute...


oh you sick freak. You want compiled binaries for what reason?
efficiency??? use a language that allows efficiency then...

mwhaha...


No. See, you didn't understand my question correctly. I don't actually
need a PHP compiler, what I need is an *information* wether that
compiler exists. And why's that? Becouse my team and I might be doing a
PHP compiler as a student project for my Comiler Design course at
University (I, as a group leader, have 10 people and 4 months on my
hands to build a comiler of my own). So, it would be very nice to have
"nobody did it before" in my project documentation. And I can write that
if I'm not sure, right?

--
Pozdrav/Regards, Nikola [Nick] Skoric.
"...Usne, tice-rugalice - a u oku tajac
Da sam kaput sa dva lica, da sam Gospo'n Propalica..."
http://newusers.cjb.net/ - site o Usenetu na hrvatskom!

Jul 17 '05 #8
On 2004-03-08, Nikola Skoric wrote:
In article <40************ ***********@new s-text.dial.pipex .com>,
jt@imen.org.uk says...
Nikola Skoric wrote:
> Is the a PHP compiler? A program that compiles PHP code to executable
> which doesn't need php interpreter to execute...
>


oh you sick freak. You want compiled binaries for what reason?
efficiency??? use a language that allows efficiency then...

mwhaha...


No. See, you didn't understand my question correctly. I don't actually
need a PHP compiler, what I need is an *information* wether that
compiler exists. And why's that? Becouse my team and I might be doing a
PHP compiler as a student project for my Comiler Design course at
University (I, as a group leader, have 10 people and 4 months on my
hands to build a comiler of my own). So, it would be very nice to have
"nobody did it before" in my project documentation. And I can write that
if I'm not sure, right?

There have been a few projects started along these lines but none seem
to have reached any kind of usable solution yet. There was a thread
discussing this on the php-internals mail list recently which mentions
some of the projects and issues. You can follow the thread from the
archives here:
http://marc.theaimsgroup.com/?l=php-...7956215002&w=2

HTH
--
Mike Peters
mike [-AT-] ice2o [-DOT-] com
http://www.ice2o.com
Jul 17 '05 #9
Nikola Skoric wrote:
In article <40************ ***********@new s-text.dial.pipex .com>,
jt@imen.org.uk says...
Nikola Skoric wrote:

Is the a PHP compiler? A program that compiles PHP code to executable
which doesn't need php interpreter to execute...


oh you sick freak. You want compiled binaries for what reason?
efficiency? ?? use a language that allows efficiency then...

mwhaha...

No. See, you didn't understand my question correctly. I don't actually
need a PHP compiler, what I need is an *information* wether that
compiler exists. And why's that? Becouse my team and I might be doing a
PHP compiler as a student project for my Comiler Design course at
University (I, as a group leader, have 10 people and 4 months on my
hands to build a comiler of my own). So, it would be very nice to have
"nobody did it before" in my project documentation. And I can write that
if I'm not sure, right?


Out of interest I have seen a set of php scripts (non free and
non-public) which convert php code (limited scope) into C or Java source
code, then call gcc | javac.

This is slightly more efficient way of writing a "quick" compiler as the
devlopers take advantage over the gcc and javac developers time and
effort in writing the compiler technology as opposed to having to
develop all the code optimisers themselves.

However I still oppose the idea of handing out a php compiler - if it
could not actually produce efficient code, is handing out this tool
going to promote peoples use of it?

J
Jul 17 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2322
by: Jeff Epler | last post by:
Hello. Recently, Generator Comprehensions were mentioned again on python-list. I have written an implementation for the compiler module. To try it out, however, you must be able to rebuild Python from source, because it also requires a change to Grammar. 1. Edit Python-2.3/Grammar/Grammar and add an alternative to the "listmaker"...
13
2547
by: Bryan Parkoff | last post by:
You may notice that switch (...) is much faster than function that can gain a big improved performance because it only use JMP instruction however function is required to use CALL, PUSH, and POP instruction that can be slower. I created three functions in an array. Array is called pArray_Func(). pArray_Func() contains three functions. "xx"...
10
2539
by: Bjorn | last post by:
I'm using interfaces in C++ by declaring classes with only pure virtual methods. If then someone wants to implement the interface they needs to inherit from the class. If the implementing class forgets to implement some method I normally get a compile error(if the class is created in some way of course). When using the Visual Studio 6...
7
3099
by: Tao Wang | last post by:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, I saw cuj's conformance roundup, but the result is quite old. I think many people like me want to know newer c++ standard conformance test result. Especially, I want to know the compiler conformance of vc7.1, vc8.0, gcc 4.x and intel c++, and also each implementation of STL. The world is...
14
3114
by: joshc | last post by:
I'm writing some C to be used in an embedded environment and the code needs to be optimized. I have a question about optimizing compilers in general. I'm using GCC for the workstation and Diab compiler for the embedded target. My question is about how compilers optimize certain code sequences. As an example, take the code below. Will the...
16
2836
by: pj | last post by:
(Was originally, probably wrongly, posted to the vc subgroup.) (This doesn't appear to be a c# problem, but a problem with a bug in the Visual Studio c# compiler, but, any help will be welcome...) Oh, I forgot to list the error messages; I would be delighted if someone could explain how to deduce which line number in which file is the one...
0
2392
by: rollasoc | last post by:
Hi, I seem to be getting a compiler error Internal Compiler Error (0xc0000005 at address 535DB439): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around this problem, try simplifying or changing the program near the locations listed below. Locations at the top of the list are closer to the point at...
3
5253
by: Mark Rockman | last post by:
------ Build started: Project: USDAver2, Configuration: Debug .NET ------ Preparing resources... Updating references... Performing main compilation... error CS0583: Internal Compiler Error (0xc0000005 at address 535F072A): likely culprit is 'BIND'. An internal error has occurred in the compiler. To work around this problem, try...
6
2937
by: toton | last post by:
Hi, Anyone have a link to comparative study of different C++ compilers and how much they conform to C++ language standard? Most of the big platforms I know have GCC which well supports C++ standard. But mainly looking for compilers for small platforms like ARM, XScale, OMAP processors, and mobile OS's. I am not getting enough imformation...
41
18112
by: Miroslaw Makowiecki | last post by:
Where can I download Comeau compiler as a trial version? Thanks in advice.
0
7652
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8095
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7934
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5476
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5193
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3621
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
1
2073
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1187
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
901
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.