RE: Fwd: Re: [PHP-GTK] Binary Files
| From: | Edward A. McLain | Date: | Mon, 05 Mar 2001 18:42:10 +0000 |
| Subject: | RE: Fwd: Re: [PHP-GTK] Binary Files | ||
| Groups: | php.gtk | ||
| Request: | Send a blank email to php-gtk+get-311@lists.php.net to get a copy of this message | ||
This actually brings up a good point. Under what license is gtk-php?
The company I work for currently has a purchased license for the Zend
Compiler Unlimited so as any ZendOptimizer will translate the compiled
code and run it. If we were to design a closed source project that
included the gtk-php library would there be any type of licensing fee or
anything else that would be required, or is gtk-php released under the
GNU?
Just wandering.
Ed McLain
-----Original Message-----
From: Andrew Lawrence [mailto:ausage@smoke-and-mirrors.net]
Sent: Monday, March 05, 2001 12:03 PM
To: Iuri Fiedoruk; php-gtk@lists.php.net
Subject: Re: Fwd: Re: [PHP-GTK] Binary Files
On Monday 05 March 2001 09:24, Iuri Fiedoruk wrote:
> Some time ago, I was reading a text on zend with explained php.
> On the beggining it said that php was a real language (and not a
script
> one) because php4 even compiled .php files once they where called by
the
> web-server, after compiling it executed the file instead of using
> interpreting mode.
> So if php compiles internally the php files, there's not much problem
on
> compile as a executable file (I think).
> I am right?
Actually its a little bit more complex than that... PHP is a "real"
language
because it has a structure and a grammer and a full set of programming
features and functions (actually rather advanced compared to many
languages I
work with). It is a compiled language because Zend does compile it and
can
even optimize the compiled code. It is also an interpreted language
because
the Zend output is not pure machine code, but rather an intermediate
pseudo
code that needs to be interpreted.
So while you can't compile and link php the way you would a C program,
you
could wrap the compiled psuedo code with a stub module to a run time
environment the way java or VB do, provided an arrangement with Zend for
licensing the run time enviroment is worked out.
--
Andrew Lawrence
Smoke & Mirrors
http://www.smoke-and-mirrors.net
Tel: 416 461-8708 Fax: 416 461-1758
--
PHP GTK Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net
For additional commands, e-mail: php-gtk-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net