Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:22207 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51587 invoked by uid 1010); 7 Mar 2006 16:09:06 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51572 invoked from network); 7 Mar 2006 16:09:06 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Mar 2006 16:09:06 -0000 X-Host-Fingerprint: 204.11.219.139 lerdorf.com Linux 2.4/2.6 Received: from ([204.11.219.139:34286] helo=colo.lerdorf.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 78/58-22029-120BD044 for ; Tue, 07 Mar 2006 11:09:06 -0500 Received: from [192.168.200.106] (c-24-6-5-134.hsd1.ca.comcast.net [24.6.5.134]) (authenticated bits=0) by colo.lerdorf.com (8.13.5/8.13.5/Debian-3) with ESMTP id k27G92rH025895; Tue, 7 Mar 2006 08:09:03 -0800 Message-ID: <440DB01E.7070309@lerdorf.com> Date: Tue, 07 Mar 2006 08:09:02 -0800 User-Agent: Thunderbird 1.5 (Macintosh/20051201) MIME-Version: 1.0 To: Stanislav Malyshev CC: internals@lists.php.net References: <000001c641c9$80dbfad0$6e02a8c0@thinkpad> <11.E1.22029.BE55D044@pb1.pair.com> <440D56E0.9050200@lerdorf.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] Re: GOTO and/or BREAK LABEL From: rasmus@lerdorf.com (Rasmus Lerdorf) Stanislav Malyshev wrote: > RL>>As a C programmer this confuses me to no end. When I see "label:" I expect > > The question is should all languages be like C? So, C has it that way, and > Java and Perl have it other way. We don't move to prefix notation because > Forth has it ;) No, obviously all languages shouldn't be like C and PHP has plenty of stuff that looks nothing like C, but like it or not, a lot of PHP's syntax came from C and I don't think we should be adding syntax that looks like something from C but doesn't act like it. I still think this is a really fringe feature that isn't worth one of the first forward compatibility breaks in the procedural language in years. -Rasmus