Re: Re: "use strict" or similar in PHP?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux