Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16408 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 57745 invoked by uid 1010); 6 Jun 2005 08:22:16 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 57730 invoked from network); 6 Jun 2005 08:22:16 -0000 Received: from unknown (HELO pb1.pair.com) (127.0.0.1) by localhost with SMTP; 6 Jun 2005 08:22:16 -0000 X-Host-Fingerprint: 82.94.239.5 unknown Linux 2.5 (sometimes 2.4) (4) Received: from ([82.94.239.5:34728] helo=jdi.jdi-ict.nl) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id 4B/40-53949-6B704A24 for ; Mon, 06 Jun 2005 04:22:14 -0400 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j568Rs1R001450 for ; Mon, 6 Jun 2005 10:27:54 +0200 Received: from localhost (localhost [127.0.0.1]) by jdi.jdi-ict.nl (8.12.11/8.12.11) with ESMTP id j568RpdA001439; Mon, 6 Jun 2005 10:27:51 +0200 Date: Mon, 6 Jun 2005 10:22:08 +0200 (CEST) X-X-Sender: derick@localhost To: =?UTF-8?B?T25kcmVqIEl2YW5pxI0=?= cc: internals@lists.php.net In-Reply-To: <42A4046F.4090401@kmit.sk> Message-ID: References: <5.1.0.14.2.20050603203711.028e9140@localhost> <200506051859.53976.magnus@php.net> <42A4046F.4090401@kmit.sk> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="8323328-2070970631-1118046128=:2897" X-Virus-Scanned: by amavisd-new at jci-ict.nl Subject: Re: [PHP-DEV] PHP 5.1 From: derick@php.net (Derick Rethans) --8323328-2070970631-1118046128=:2897 Content-Type: TEXT/PLAIN; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Mon, 6 Jun 2005, Ondrej Ivani=C4=8D wrote: > Jani Taskinen wrote: > >> And the much needed goto for the next one (5.2/5.5/6.0 or whatever it > >> will be) ? > > I've found a lot of cases where this would have been nice to have > > and simplified the code too.. > >=20 > > So +1 from me. (wasn't there a patch for this already somewhere?) >=20 > When I move from functional to OO or generic programing I don't need use > 'goto' statement anymore. >=20 > I think, better (cleaner) way is extend 'break' and 'continue' to accept > string as label name in local scope. (like java :)). >=20 > Implement 'goto' with possibility to jump anywhere is a step backwards... It's exactly the same as "break