Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60667 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 86802 invoked from network); 23 May 2012 02:11:50 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2012 02:11:50 -0000 Authentication-Results: pb1.pair.com header.from=smalyshev@sugarcrm.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=smalyshev@sugarcrm.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain sugarcrm.com designates 173.203.6.131 as permitted sender) X-PHP-List-Original-Sender: smalyshev@sugarcrm.com X-Host-Fingerprint: 173.203.6.131 smtp131.ord.emailsrvr.com Linux 2.6 Received: from [173.203.6.131] ([173.203.6.131:38722] helo=smtp131.ord.emailsrvr.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id AD/52-02619-4674CBF4 for ; Tue, 22 May 2012 22:11:49 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp13.relay.ord1a.emailsrvr.com (SMTP Server) with ESMTP id 6CBA11980A1 for ; Tue, 22 May 2012 22:11:46 -0400 (EDT) X-Virus-Scanned: OK Received: by smtp13.relay.ord1a.emailsrvr.com (Authenticated sender: smalyshev-AT-sugarcrm.com) with ESMTPSA id 4236A19809D for ; Tue, 22 May 2012 22:11:45 -0400 (EDT) Message-ID: <4FBC4761.9000204@sugarcrm.com> Date: Tue, 22 May 2012 22:11:45 -0400 Organization: SugarCRM User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:12.0) Gecko/20120428 Thunderbird/12.0.1 MIME-Version: 1.0 To: "internals@lists.php.net" References: <55e590f078f22ca2bbe10d5187cd3d84.squirrel@www.l-i-e.com> In-Reply-To: <55e590f078f22ca2bbe10d5187cd3d84.squirrel@www.l-i-e.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] php interpreter From: smalyshev@sugarcrm.com (Stas Malyshev) 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