Re: A Few Noob Questions [message #175166 is a reply to message #175164] |
Thu, 18 August 2011 17:26 |
The Natural Philosoph
Messages: 993 Registered: September 2010
Karma:
|
Senior Member |
|
|
Man-wai Chang wrote:
>>> In the old days, "Programs" were compiled into binary codes for direct
>>> execution by the CPU. "Scripts" were not compiled, but interpreted by a
>>> program called intepreter.
>>
>> Contrary to popular belief, scripts, i. e. programs written in a
>> scripting
>> language, are compiled, too. They are *JIT-compiled* *at runtime*.
>
> Is this real compilation? :)
>
well its like pascal. Its compiled to an intermediate level interpreterd
thing.
>> PHP 4+ scripts are compiled by the Zend Engine (a virtual machine,
>> currently
>> Zend Engine II), to Zend Opcode, a platform-independent byte code
>> (much like
>> with Java). That byte code is interpreted by that VM.
>
> So is PHP still a script?
who gives a damn?
|
|
|