Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22785 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 30020 invoked by uid 1010); 15 Apr 2006 07:37:38 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 30005 invoked from network); 15 Apr 2006 07:37:38 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Apr 2006 07:37:38 -0000 X-Host-Fingerprint: 192.38.9.232 gw2.emini.dk Linux 2.4/2.6 Received: from ([192.38.9.232:2101] helo=gw2.emini.dk) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 42/91-19715-1C2A0444 for ; Sat, 15 Apr 2006 03:37:38 -0400 Received: from foxbox (unknown [84.228.8.209]) by gw2.emini.dk (Postfix) with ESMTP id 07B11ACC94; Sat, 15 Apr 2006 09:37:34 +0200 (CEST) Message-ID: <122c01c6605f$6dacab30$6602a8c0@foxbox> Reply-To: "Steph Fox" To: "Lukas Smith" 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> <44409DB7.1070704@php.net> Date: Sat, 15 Apr 2006 09:37:19 +0200 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="Windows-1252"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2180 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Subject: Re: [PHP-DEV] script upgrading program was Re: [PHP-DEV] Re: Summerof Code From: steph@zend.com ("Steph Fox") >> 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? > Wouldn't that be relatively slow? Also there's the psychological difference between being presented with a binary and being presented with a script (but then again I suppose you could argue that there's nothing to prevent the embed SAPI coming into play)... - Steph