Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22290 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 15935 invoked by uid 1010); 9 Mar 2006 17:01:33 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 15920 invoked from network); 9 Mar 2006 17:01:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 9 Mar 2006 17:01:33 -0000 X-Host-Fingerprint: 69.12.155.130 69-12-155-130.dsl.static.sonic.net Linux 2.4/2.6 Received: from ([69.12.155.130:1236] helo=pigeon.alphaweb.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id DC/07-27106-C6F50144 for ; Thu, 09 Mar 2006 12:01:33 -0500 Received: from localhost ([127.0.0.1] helo=stumpy) by pigeon.alphaweb.net with smtp (Exim 4.10) id 1FHNxZ-0004CX-00 for internals@lists.php.net; Thu, 09 Mar 2006 08:25:53 -0800 Message-ID: <004701c6439b$8d6cd6b0$7d051fac@stumpy> To: References: <7.0.1.0.2.20060309124054.06c31238@zend.com> Date: Thu, 9 Mar 2006 09:04:02 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original 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] Give the Language a Rest motion From: pollita@php.net ("Sara Golemon") > Apart from namespaces, I can't think of any other "syntactical core > level feature" missing that could not be implemented as an extension. > Goto can't... Well, okay fine. It can, but at a significantly greater cost and complexity. By that token namespaces can be done in an extension too (You just REALLY wouldn't like it). > I'd like to raise a motion to 'Give the Language a Rest'. > I have to disagree. Unicode support is a syntax level feature and that's the flagship feature of the PHP6 release. Exceptions are a syntax level feature and that was one of the shining points of PHP5. Perhaps what it's time for is recognizing that PHP is still an evolving language. Many (most) of these interminable threads are pointless deadends, but that doesn't make the one good idea in there not worth discussing. It also doesn't make the bad ideas not worth discussing because that's how you sort them out. > Or should we, perhaps, invest more in other > fronts, which would be beneficial for a far bigger > audience. The levels above - extensions to keep > with the latest technologies, foundation classes, etc. > I couldn't agree more. That's why operator is an extension and not a proposed engine patch. However, while ZE does a commendable job at exposing its internals to manipulation there are some shortcomings. For example: My request last month for a modified or split comparison opcode to distinguish greater-than from less-than. You made some good points there about reconsidering how important it really was to know, and I do still plan to work those in, but this does serve as a good example of how the extension layer isn't _always_ enough. The inability to inject tokens and expressions into the lexer and parser is another limitation on what can be done from extensions in terms of syntax level features. Yes, I know this is more of a problem with bison and flex than with the design of ZE, but that doesn't make it any less bothersome. -Sara