On Fri, 2009-02-27 at 14:32 -0800, Michael A. Peters wrote:
> Robert Cummings wrote:
> ... the line between the
> > definition of interpreted language and compiled language is quite blurry
> > these days.
>
> #include<stdio.h>
> main()
> {
> printf("Hello World");
> }
>
> Compile that - and you can run it on any system that is binary
> compatible, whether or not is has a C compiler.
>
> However, it will not run on systems that are not binary compatible, even
> if they have a C compiler.
>
> <?php
> print ("Hello World");
> ?>
>
> That will only run on systems with a php interpreter, even if you
> "compile" it into byte-code.
>
> However, unlike the c example, it will run on any system with a php
> interpreter.
>
> Nothing fuzzy about it.
This is not the litmus test for compiled versus interpreted languages.
http://en.wikipedia.org/wiki/Compiled_language
Cheers,
Rob.
--
http://www.interjinn.com
Application and Templating Framework for PHP
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php