Newsgroups: php.internals,php.internals Path: news.php.net Xref: news.php.net php.internals:35903 php.internals:35904 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 67511 invoked from network); 3 Mar 2008 10:21:29 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 Mar 2008 10:21:29 -0000 Authentication-Results: pb1.pair.com smtp.mail=johannes@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=johannes@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 83.243.58.163 as permitted sender) X-PHP-List-Original-Sender: johannes@php.net X-Host-Fingerprint: 83.243.58.163 mail4.netbeat.de Received: from [83.243.58.163] ([83.243.58.163:39586] helo=mail4.netbeat.de) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 62/D6-29055-721DBC74 for ; Mon, 03 Mar 2008 05:21:29 -0500 Received: (qmail 26767 invoked by uid 507); 3 Mar 2008 10:21:22 -0000 Received: from unknown (HELO ?192.168.1.101?) (postmaster%schlueters.de@82.135.15.45) by mail4.netbeat.de with ESMTPA; 3 Mar 2008 10:21:22 -0000 To: Derick Rethans Cc: Marcus Boerger , internals@lists.php.net In-Reply-To: References: <1706278209.20080302232134@marcus-boerger.de> Content-Type: text/plain Date: Mon, 03 Mar 2008 11:21:21 +0100 Message-ID: <1204539681.3463.1.camel@goldfinger.johannes.nop> Mime-Version: 1.0 X-Mailer: Evolution 2.12.3 (2.12.3-1.fc8) Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Replace the flex-based scanner with an re2c [1] based lexer From: johannes@php.net (Johannes =?ISO-8859-1?Q?Schl=FCter?=) Hi Derick, On Mon, 2008-03-03 at 09:28 +0100, Derick Rethans wrote: > On Sun, 2 Mar 2008, Marcus Boerger wrote: > > > However, we had to drop multibyte support as well as the encoding > > declare. > > Just wondering, why did you have to drop the "declare(encoding=...)" ? > It's just ignored in PHP 5.x - and it is useful to have for migrating > php 5.3 apps to 6. So can you atleast make the new parser just ignore > this statement? It is not ignored in PHP 5 as Marcus and I found out while reading the code :-) If you compile with --enable-zend-multibyte you can change the encoding using declare even multiple times per file using declare it seems. johannes