Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:80720 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 37906 invoked from network); 18 Jan 2015 02:58:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 18 Jan 2015 02:58:10 -0000 Authentication-Results: pb1.pair.com header.from=php@golemon.com; sender-id=softfail Authentication-Results: pb1.pair.com smtp.mail=php@golemon.com; spf=softfail; sender-id=softfail Received-SPF: softfail (pb1.pair.com: domain golemon.com does not designate 209.85.217.182 as permitted sender) X-PHP-List-Original-Sender: php@golemon.com X-Host-Fingerprint: 209.85.217.182 mail-lb0-f182.google.com Received: from [209.85.217.182] ([209.85.217.182:53746] helo=mail-lb0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/53-18613-1412BB45 for ; Sat, 17 Jan 2015 21:58:09 -0500 Received: by mail-lb0-f182.google.com with SMTP id u10so23444492lbd.13 for ; Sat, 17 Jan 2015 18:58:06 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:date:message-id:subject:from :to:content-type; bh=Y7M8A1pmxku2MGPT3BLUeajuBxzgfT1IiW9ZboWKEmw=; b=ID6EEqMaud76Z2/bOBCwLeXSgP9wJsPp0KtvNv7VuvkkjsV0q4jcIMBWyuKfl40Od9 cQ+zhg8CbMQIjkMTQcBRubEo7uSlR9Oyg2+7BqKkHz7u4ejbMZHBhrMrq1Hfyuwrelr1 nEB2LntxH1uJzE8jOKvwVkXTB1x3PhxTC/oH3vJfHp0A7hRxF/8vJxYqGH46RV74IcKi Hwysn1AmmdbpyRzKvM42di28dqF9cxBmtBEIk6QRDBCdKVt8X7amQY2wqBAXmsgiRuit Z2AqN+bgj4/nPBR3hxvsokVOp12d/12+RzHRZYEyne5Ay7sc8pb0B6yM7/6FurDp8Yle b6/A== X-Gm-Message-State: ALoCoQlVz8lxBMYRp22gbel2O20Sna3kKZvUDgHY5b34RxBvYhoMbqrVHlvFBBKTzGlJLJ6oTKlC MIME-Version: 1.0 X-Received: by 10.152.115.212 with SMTP id jq20mr2891332lab.36.1421549885941; Sat, 17 Jan 2015 18:58:05 -0800 (PST) Sender: php@golemon.com Received: by 10.112.126.65 with HTTP; Sat, 17 Jan 2015 18:58:05 -0800 (PST) X-Originating-IP: [69.63.185.56] Date: Sat, 17 Jan 2015 18:58:05 -0800 X-Google-Sender-Auth: ShiEgWi9xOMTe6qycpB2tzZDsz4 Message-ID: To: PHP internals Content-Type: text/plain; charset=UTF-8 Subject: Mind if I hook the compiler? From: pollita@php.net (Sara Golemon) 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... -Sara