Re: php interpreter
| From: | Stas Malyshev | Date: | Wed, 23 May 2012 02:11:45 +0000 |
| Subject: | Re: php interpreter | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-60667@lists.php.net to get a copy of this message | ||
Hi!
>> I am new to php runtime. i am doing some research on runtime
>> interpreter. can anyone please tell me where the interpreter of the
>> php runtime is ? which file ? and does the php runtime has a JIT
>> compiler ?
PHP compiles source code into Zend Engine bytecode - this is done by the
compiler in zend_language_scanner.l, zend_language_parser.y and
zend_compile.c. This code is the executed by the opcode engine in
zend_execute.c and zend_vm_execute.h. The latter is generated from
zend_vm_def.h by means of the script zend_vm_gen.php.
--
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227