Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80728 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63235 invoked from network); 18 Jan 2015 07:36:44 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 07:36:44 -0000 Authentication-Results: pb1.pair.com header.from=pierre.php@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=pierre.php@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.216.175 as permitted sender) X-PHP-List-Original-Sender: pierre.php@gmail.com X-Host-Fingerprint: 209.85.216.175 mail-qc0-f175.google.com Received: from [209.85.216.175] ([209.85.216.175:48064] helo=mail-qc0-f175.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id F0/97-18613-B826BB45 for ; Sun, 18 Jan 2015 02:36:44 -0500 Received: by mail-qc0-f175.google.com with SMTP id p6so22452904qcv.6 for ; Sat, 17 Jan 2015 23:36:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Kp0bhSsGqSWoLns4wwoz1vju3lCMfgE0N5tQqcJ/izw=; b=aJVKIEqZQVlG2Qy0EI3SrkMhTzOWv2NbwRtt2DDAAaplqyijttuRMfKOpMWw/WMjTV MbtvifhYBsyPEHIanXXoOcaFyctzzkUqEmdIjyWv3ZKAzUDWbRRhWLB8XY5/3FmXFKh7 HmDKQSp/OZRBYoX8v4mHnyMdPTO1fkCL+oK/HnucKXEDFWtUGcIpeFEz+bnADmfNPVAn DLO7tMAEJfzOS61ShZk5J9unLTDXnkq/DZ+mpZ+xXRMWfi6OoHWwJcoRP6nXx6i8wktG mVzjbzlp7LZyajXlixwCQcIEcBzkLbhD4qe1tWFkVvYGzGc/c3aPqyRA0BU1XoPa80HM wfqw== MIME-Version: 1.0 X-Received: by 10.229.37.136 with SMTP id x8mr38729107qcd.30.1421566601562; Sat, 17 Jan 2015 23:36:41 -0800 (PST) Received: by 10.140.22.106 with HTTP; Sat, 17 Jan 2015 23:36:41 -0800 (PST) Received: by 10.140.22.106 with HTTP; Sat, 17 Jan 2015 23:36:41 -0800 (PST) In-Reply-To: References: Date: Sun, 18 Jan 2015 14:36:41 +0700 Message-ID: To: Sara Golemon Cc: PHP internals Content-Type: multipart/alternative; boundary=001a1133b5724f9414050ce8446f Subject: Re: [PHP-DEV] Mind if I hook the compiler? From: pierre.php@gmail.com (Pierre Joye) --001a1133b5724f9414050ce8446f Content-Type: text/plain; charset=UTF-8 Hi, On Jan 18, 2015 9:58 AM, "Sara Golemon" wrote: > > https://github.com/php/php-src/pull/1004 > > Wondering if anyone has an objection to me merging this. It just > offers extensions a chance to alter the AST prior to bytecode > emission. Mostly for evil things, but potentially for 3rd-party > optimizers or whatevs. Does it need an RFC? The very minor > indirection cost hides itself behind OpCache, so it should harm > anything... Good idea. I think it was even planed when AST was introduced. You may check with Nikita :) Cheers, Pierre --001a1133b5724f9414050ce8446f--