Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:16407 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55352 invoked by uid 1010); 6 Jun 2005 08:15:24 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 55337 invoked from network); 6 Jun 2005 08:15:24 -0000 Received: from unknown (HELO kmit.sk) (127.0.0.1) by localhost with SMTP; 6 Jun 2005 08:15:24 -0000 Received: from ([127.0.0.1:3467]) by pb1.pair.com (ecelerity 1.2 r(5656M)) with ECSTREAM id 1D/00-53949-C1604A24 for ; Mon, 06 Jun 2005 04:15:24 -0400 X-Host-Fingerprint: 195.28.69.139 mail.jobtion.com Linux 2.4 w/o timestamps Received: from ([195.28.69.139:47062] helo=sparky.datcon.sk) by pb1.pair.com (ecelerity 1.2 r(5656M)) with SMTP id C1/B8-54652-46404A24 for ; Mon, 06 Jun 2005 04:08:04 -0400 Received: from localhost (localhost [127.0.0.1]) by sparky.datcon.sk (Postfix) with ESMTP id D9FCF1FC91 for ; Mon, 6 Jun 2005 10:08:00 +0200 (CEST) Received: from sparky.datcon.sk ([127.0.0.1]) by localhost (sparky [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 08636-02 for ; Mon, 6 Jun 2005 10:08:00 +0200 (CEST) Received: from [172.16.71.217] (adsl90.212-5-195.telecom.sk [212.5.195.90]) by sparky.datcon.sk (Postfix) with ESMTP id 926FF1FC41 for ; Mon, 6 Jun 2005 10:08:00 +0200 (CEST) Message-ID: <42A4046F.4090401@kmit.sk> Date: Mon, 06 Jun 2005 10:08:15 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.7.8) Gecko/20050518 X-Accept-Language: sk, en MIME-Version: 1.0 To: internals@lists.php.net References: <5.1.0.14.2.20050603203711.028e9140@localhost> <200506051859.53976.magnus@php.net> In-Reply-To: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at datcon.sk Subject: Re: [PHP-DEV] PHP 5.1 From: ondrej@kmit.sk (=?UTF-8?B?T25kcmVqIEl2YW5pxI0=?=) 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.. > > So +1 from me. (wasn't there a patch for this already somewhere?) When I move from functional to OO or generic programing I don't need use 'goto' statement anymore. I think, better (cleaner) way is extend 'break' and 'continue' to accept string as label name in local scope. (like java :)). Implement 'goto' with possibility to jump anywhere is a step backwards... So -1 from me to goto. -- Ondrej Ivanic (ondrej@kmit.sk)