Re: A Few Noob Questions [message #175164 is a reply to message #175135] |
Thu, 18 August 2011 16:40 |
Man-wai Chang
Messages: 11 Registered: December 2010
Karma:
|
Junior Member |
|
|
>> 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? :)
> 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?
|
|
|