Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22784 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 24159 invoked by uid 1010); 15 Apr 2006 07:16:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 24144 invoked from network); 15 Apr 2006 07:16:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2006 07:16:24 -0000 X-Host-Fingerprint: 212.112.227.169 ipx11223.ipxserver.de Linux 2.5 (sometimes 2.4) (4) Received: from ([212.112.227.169:37842] helo=ipx11223.ipxserver.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id B4/E0-19715-7CD90444 for ; Sat, 15 Apr 2006 03:16:24 -0400 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id EA4F2DF0028; Sat, 15 Apr 2006 09:17:34 +0200 (CEST) Received: from ipx11223.ipxserver.de ([127.0.0.1]) by localhost (ipx11223 [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 00697-08; Sat, 15 Apr 2006 09:17:26 +0200 (CEST) Received: from [127.0.0.1] (i577B586B.versanet.de [87.123.88.107]) by ipx11223.ipxserver.de (Postfix) with ESMTP id 70640DF007B; Sat, 15 Apr 2006 09:17:26 +0200 (CEST) Message-ID: <44409DB7.1070704@php.net> Date: Sat, 15 Apr 2006 09:16:07 +0200 User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Steph Fox Cc: internals References: <44405E58.8040808@lerdorf.com> <44409342.4030706@php.net> <11b601c66057$76abf540$6602a8c0@foxbox> <44409681.8010406@php.net> <11cb01c6605a$0aab4f00$6602a8c0@foxbox> <44409A09.1000207@php.net> <11e401c6605c$40f9faa0$6602a8c0@foxbox> In-Reply-To: <11e401c6605c$40f9faa0$6602a8c0@foxbox> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] script upgrading program was Re: [PHP-DEV] Re: Summer of Code From: lsmith@php.net (Lukas Smith) Steph Fox wrote: >> Steph Fox wrote: >>> I wasn't thinking of writing something in PHP... there'd be no way >>> for userland code to 'see' half the stuff that needed changing. >> >> I was not implying it would have to. But I also do not see why it >> should not be possible to do it in PHP. > > If you wrote something like this in PHP you'd necessarily be searching > for patterns in the code. In C you'd be working with tokens directly - > coding style wouldn't be an issue. Isnt that what we have ext/tokenizer for? regards, Lukas