Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11616 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 8754 invoked by uid 1010); 29 Jul 2004 14:40:13 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 8667 invoked from network); 29 Jul 2004 14:40:12 -0000 Received: from unknown (HELO ipx11223.ipxserver.de) (212.112.227.169) by pb1.pair.com with SMTP; 29 Jul 2004 14:40:12 -0000 Received: from localhost (localhost [127.0.0.1]) by ipx11223.ipxserver.de (Postfix) with ESMTP id B92ED2E8101; Thu, 29 Jul 2004 16:40:11 +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 11296-09; Thu, 29 Jul 2004 16:40:08 +0200 (CEST) Received: from [192.168.0.77] (port-212-202-40-135.dynamic.qsc.de [212.202.40.135]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ipx11223.ipxserver.de (Postfix) with ESMTP id 30ECA2E80F1; Thu, 29 Jul 2004 16:40:08 +0200 (CEST) Message-ID: <41090C45.2060308@php.net> Date: Thu, 29 Jul 2004 16:40:05 +0200 Organization: php.net User-Agent: Mozilla Thunderbird 0.7.1 (Windows/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: lpedretti@suserver.com Cc: PHP Internals List References: <20040729021337.73894.qmail@pb1.pair.com> <200407291117.09573.lpedretti@suserver.com> In-Reply-To: <200407291117.09573.lpedretti@suserver.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by somedaemon at backendmedia.com Subject: Re: [PHP-DEV] GOTO operator From: lsmith@php.net (Lukas Smith) Leonardo Pedretti wrote: > Goto is somewhat equivalent to 'case' combined with using 'continue' in loops. > More precisely, this 2 language constructions are the 'goto' implementation > with a different name so that Dijkstra does not get back from the grave to > punish us =D also with exceptions there are also ways to "emulate" goto ... might as well give people the real thing .. that is much more in the spirit of php, where the aim is to make it very easily readable what you are actually up to in your code. regards, Lukas