Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:20833 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 29170 invoked by uid 1010); 29 Nov 2005 15:28:58 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 29149 invoked from network); 29 Nov 2005 15:28:58 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 29 Nov 2005 15:28:58 -0000 X-Host-Fingerprint: 64.190.142.222 64-190-142-222.client.cypresscom.net Windows 2000 SP4, XP SP1 Received: from ([64.190.142.222:20385] helo=64-190-142-222.client.cypresscom.net) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 77/AD-14828-90F6C834 for ; Tue, 29 Nov 2005 10:08:57 -0500 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Date: Tue, 29 Nov 2005 09:08:55 -0600 Message-ID: <17CE68B7A7E8CD4EBB95665AFB5ABB03055342@stream0.sisterprize0.sister.tv> X-MimeOLE: Produced By Microsoft Exchange V6.5.7226.0 X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: REMOVE ME! Thread-Index: AcX04VTtzYl+5K97SX6k1Pe6UDmo8wAFXWpw To: "Bart de Boer" , Subject: REMOVE ME! From: oalpert@sister.tv ("Israel Alpert") Can somebody help me stop the flood of income e-mails from PHP? I've signed to the newsletter and, during the last two month, made many attempts to "unsubscribe" - none works and I am getting 100's of e-mails from you. Please take me off the mailing list! Israel "Oulik" Alpert=20 -----Original Message----- From: Bart de Boer [mailto:bart@mediawave.nl]=20 Sent: Tuesday, November 29, 2005 6:35 AM To: internals@lists.php.net Subject: Re: [PHP-DEV] Re: Labeled Breaks (not the G-word) It may be so that you can use exceptions as a sort of goto mechanism.=20 And from some perspective you may even find some similarities. However,=20 exceptions weren't invented for this purpose. (And they aren't=20 introduced into PHP for this reason.) The main difference is that exceptions work with the *instance* of your=20 code. (Enable you to fall back to some place in your OO structure.) Goto can't do that. Lukas Smith wrote: > Stanislav Malyshev wrote: >=20 >> No, they are not. If you don't purposedly abuse it, exceptions are a >> structured way to handle exceptional situations, with well-defined=20 >> effects and known control points. They won't allow you to randomly=20 >> jump around the code. >=20 >=20 > How is that different from "goto"? > And if you can jump through 80% if your code via an exception while=20 > you > unwind the stack it might be ordered but you tell me that you know whats=20 > going on. For all intends and purposes it will be just as random, with > the difference that you can search for the goto much better than for the=20 > exception handler. >=20 > Anyways I have made my case and you have made yours. We can now choose > to ignore eachother :-) >=20 > regards, > Lukas --=20 PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php