Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55466 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73823 invoked from network); 16 Sep 2011 06:47:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Sep 2011 06:47:42 -0000 Authentication-Results: pb1.pair.com header.from=nicolas.grekas@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=nicolas.grekas@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: nicolas.grekas@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:58322] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 25/57-20496-E01F27E4 for ; Fri, 16 Sep 2011 02:47:42 -0400 Received: by ywa8 with SMTP id 8so3137756ywa.29 for ; Thu, 15 Sep 2011 23:47:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=CrnF11tViPyNoXU1JRz6gJjUcW5GaSekWpPDNFR8R74=; b=kCjYStmEXq7VR45ktTxWMWkRPkD1c5JS1q2iA4CW3cd/up/U81Utgjp5mrBPGl2CcO OkT62FirNBwBIlpnRIrK3suH3IlMYjYyESfNY/3V62qwOuH9sqpVBflzWp1xGpVagUG4 Fk6HvKU7wiEHB64qQABXLwIi735GkpGth4ZYQ= Received: by 10.236.75.165 with SMTP id z25mr12137590yhd.68.1316155659126; Thu, 15 Sep 2011 23:47:39 -0700 (PDT) MIME-Version: 1.0 Sender: nicolas.grekas@gmail.com Received: by 10.236.44.7 with HTTP; Thu, 15 Sep 2011 23:47:19 -0700 (PDT) In-Reply-To: References: <4E6FB55E.4060906@oracle.com> Date: Fri, 16 Sep 2011 08:47:19 +0200 X-Google-Sender-Auth: iUYZ520_EPJJ7gZrUVCVlt3OF-8 Message-ID: To: Chris Stockton Cc: Nikita Popov , Hannes Magnusson , internals@lists.php.net Content-Type: multipart/alternative; boundary=20cf300fab3588067504ad095ed1 Subject: Re: [PHP-DEV] Revert Tokenizer behavior for 5.4 From: nicolas.grekas+php@gmail.com (Nicolas Grekas) --20cf300fab3588067504ad095ed1 Content-Type: text/plain; charset=ISO-8859-1 > What I am really hearing in this thread is some people have interest in a > way to easily access the __COMPILER_HALT_OFFSET__ Well, not exactly for me : I'm not interested strictly on getting the offset. I'm more interested in doing generic static code analysis, and part of that is getting the halt offset, amongst many other data coming from tokens. The big pb with the fix applied since 5.3.6 is that we can not do that anymore without many complications. So in this way, I agree with Nikita, the second aspect of the patch (getting the binary data in a T_INLINE_HTML) is not a necessity, thought that may help. But the first aspect of the patch (counting 3 semantic tokens after T_HALT_COMPILER) is really needed. That would just give us back the power/feature we have lost since 5.3.6. So my request would be : pleeeease apply the patch counting 3 semantic tokens for 5.4 asap, then we can discuss the remaining later for the shake of completeness of the discussion. Nicolas --20cf300fab3588067504ad095ed1--