Re: PHP - Interpreted or Compiled Language

From: Date: Thu, 14 Aug 2003 15:26:08 +0000
Subject: Re: PHP - Interpreted or Compiled Language
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-159593@lists.php.net to get a copy of this message
* Thus wrote Robert Cummings (robert@wocmud.org): > While is is true that the opcodes cannot be run as machine code, the > opcode (bytecode) can be run on any machine which has the PHP engine (or > an opcode reader). Does Java not call itself a compiled language? If so > then the simple addition of PHP Accelerator, or Zend Accelerator should > be sufficient to call it a compiled language. Anyways I can't really say > for sure, traditional scripting languages didn't create such blurry > lines between compiled and interpreted :) Excellent point. You can even generate bytecode for perl and skip the parsing. There is always that level from parsing -> bytecode -> execution. It all comes down to who is actually running the bytecode level, in a compiled binary it is the OS that executes it otherwise its the interpreter. Curt -- "I used to think I was indecisive, but now I'm not so sure."

« previous php.general (#159593) next »