Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11660 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 63506 invoked by uid 1010); 30 Jul 2004 10:01:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 63380 invoked by uid 1007); 30 Jul 2004 10:00:57 -0000 Message-ID: <20040730100057.63379.qmail@pb1.pair.com> To: internals@lists.php.net Date: Fri, 30 Jul 2004 11:05:01 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en, en-us MIME-Version: 1.0 References: <20040729021337.73894.qmail@pb1.pair.com> <1091136355.490.4.camel@localhost> <1091139076.29517.12.camel@blobule.suds> <410991E1.6070000@hristov.com> <1091140927.29516.18.camel@blobule.suds> <41099925.4020700@hristov.com> <20040729225322.94418.qmail@pb1.pair.com> <41099C4A.4080206@hristov.com> <75910961.20040729190842@ionzoft.com> <41099EB2.9090403@hristov.com> <5.1.0.14.2.20040729232459.02f31418@127.0.0.1> <410A0EDE.8050902@emini.dk> In-Reply-To: <410A0EDE.8050902@emini.dk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Posted-By: 81.138.11.136 Subject: Re: [PHP-DEV] GOTO operator From: lester@lsces.co.uk (Lester Caine) Edin Kadribasic wrote: >> However, I think before talking about implementation, we need to >> decide if goto is really good for PHP. > > As I mentioned earlier, goto is one of the few features that I really > missed in the language for the past several years I've been using PHP. > We can debate until the end of time about it, but the fact is that it > can be a very useful tool. As long as it is not also a useful tool for hacking - GOTO -> backdoor! Personally I see NO advantage to GOTO in a structured language, and even if it is added I've learnt enough in 30 years to avoid it. Surely CASE is much safer and naturally 'contained'? -- Lester Caine ----------------------------- L.S.Caine Electronic Services