Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:57930 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 27619 invoked from network); 22 Feb 2012 05:49:35 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 22 Feb 2012 05:49:35 -0000 Authentication-Results: pb1.pair.com smtp.mail=wgpdeepak1989@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=wgpdeepak1989@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.210.42 as permitted sender) X-PHP-List-Original-Sender: wgpdeepak1989@gmail.com X-Host-Fingerprint: 209.85.210.42 mail-pz0-f42.google.com Received: from [209.85.210.42] ([209.85.210.42:52545] helo=mail-pz0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E1/90-16342-FE1844F4 for ; Wed, 22 Feb 2012 00:49:35 -0500 Received: by dang27 with SMTP id g27so8795824dan.29 for ; Tue, 21 Feb 2012 21:49:32 -0800 (PST) Received-SPF: pass (google.com: domain of wgpdeepak1989@gmail.com designates 10.68.226.166 as permitted sender) client-ip=10.68.226.166; Authentication-Results: mr.google.com; spf=pass (google.com: domain of wgpdeepak1989@gmail.com designates 10.68.226.166 as permitted sender) smtp.mail=wgpdeepak1989@gmail.com; dkim=pass header.i=wgpdeepak1989@gmail.com Received: from mr.google.com ([10.68.226.166]) by 10.68.226.166 with SMTP id rt6mr85464015pbc.23.1329889772386 (num_hops = 1); Tue, 21 Feb 2012 21:49:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; bh=YG6UMWZkr/C1PSMrHQf5Fxbl+pjb4ygrL01jIiX8Olk=; b=mQjW5TZg2auLvmIDadwgp0mlOFwCGGkghctSWLuQc5enJXsep2VACyvojLBygO87o9 R0h36gEyIL93RTkeI23a3zAY6MLOFOZQEYtNaAl4noAkQUM5yuQpu9Rp0Jxwd2JYZfyo lMorQFlbS8KlZ5oCJ6zIwfYQVoDA5YNR0C5kc= MIME-Version: 1.0 Received: by 10.68.226.166 with SMTP id rt6mr70347606pbc.23.1329889772345; Tue, 21 Feb 2012 21:49:32 -0800 (PST) Received: by 10.68.240.101 with HTTP; Tue, 21 Feb 2012 21:49:32 -0800 (PST) Date: Wed, 22 Feb 2012 11:19:32 +0530 Message-ID: To: internals@lists.php.net Content-Type: multipart/alternative; boundary=e89a8ff246ed7898f304b98717fc Subject: PHP Script Compile System From: wgpdeepak1989@gmail.com (Deepak Balani) --e89a8ff246ed7898f304b98717fc Content-Type: text/plain; charset=ISO-8859-1 Hello all, I am think(actually drafting) about the compilation system of PHP scripts. I want to make a native C extension which is able to compile the scripts in the Zend Engines opcodes and execute directly when called. The extension may have two functions. bool gpc_compile($source, $target): compile file to opcodes. mixed gpc_import($target) Include file to current script. gpc_import function accepting path to the compiled file and execute file into the zend engine. I want to know perception of you all about this. Thank you. Deepak Balani --e89a8ff246ed7898f304b98717fc--