Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:11610 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51966 invoked by uid 1010); 29 Jul 2004 10:24:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51939 invoked from network); 29 Jul 2004 10:24:11 -0000 Received: from unknown (HELO utopia.rusko.us) (207.44.144.89) by pb1.pair.com with SMTP; 29 Jul 2004 10:24:11 -0000 Received: from rusko (ool-44c0a1af.dyn.optonline.net [68.192.161.175]) by utopia.rusko.us (Sendmail) with SMTP id 573B8BBBAB for ; Thu, 29 Jul 2004 06:43:54 -0400 (EDT) Message-ID: <009d01c47555$93cb4a20$0200a8c0@rusko> To: References: <20040729021337.73894.qmail@pb1.pair.com> <4108CC07.6000907@php.net> Date: Thu, 29 Jul 2004 06:19:48 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 Subject: Re: [PHP-DEV] GOTO operator From: paul@rusko.us ("Paul G") ----- Original Message ----- From: "Stefan Esser" To: <"Sara Golemon"@utopia.rusko.us>; Sent: Thursday, July 29, 2004 6:05 AM Subject: Re: [PHP-DEV] GOTO operator > Hi, > > > I wrote up a patch for implementing gotos in php scripts a couple months ago > > as an exercise in working with the Zend engine. I put it aside assuming > > noone would actually want it, but Wez and Ilia convinced me to post it for > > consideration: > > I was really rolling on the floor when I saw this mail, because I faked > up such a patch as a joke a few days ago. > > I love gotos. Try/Catch is goto for poor people ;) > > +2^17,3 from me tongue out of cheek + my opinion doesn't count, goto is *very* useful for error handling when you've got stuff to clean up that's common between error conditions. absence of goto is a major annoyance. i'd like to see it in 4.x as well, but i realize that ain't gonna happen officially. paul