Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61729 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 34096 invoked from network); 25 Jul 2012 01:24:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 25 Jul 2012 01:24:31 -0000 Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.220.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:65534] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B8/37-27263-ECA4F005 for ; Tue, 24 Jul 2012 21:24:30 -0400 Received: by vcbgb30 with SMTP id gb30so174490vcb.29 for ; Tue, 24 Jul 2012 18:24:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=BufMKJkSHMEeLfywvnZGWFpulvBoPBYxFo1QAXwYeB0=; b=pgP9KCFQm64pzVJTy7XO1vE7qD69Z8JMyMUnLo+JR/CY+gP0IiE+nYT0AfV+1jkdOW EC7GzsfZVR4sA322EneIaL+033vV1NIQ4TGk2Wl3pOL6UOfy4FYGv9jhL3LaBGhMnHGw zQJrCH2C5q5iNnEyvS+3gf1EkbOh+2l+Tv7CnMV/FyhGQDFHS+rm9004+ssSuH2fN+gs wyjtFNTpTMDdu2O+Y/ksIbj8MYiWCSz3Rf1may8IO946kZbhish2H7gKnk+poSN7NLti HqEWrIgKR7tfGoKSK4rmEFEwnlxYZ50MVQiWi10EhtBUe+rococI7AkFQz2wC/GISY7C 9jcA== Received: by 10.52.17.207 with SMTP id q15mr1888311vdd.49.1343179467441; Tue, 24 Jul 2012 18:24:27 -0700 (PDT) References: <500EE041.1080200@sugarcrm.com> In-Reply-To: <500EE041.1080200@sugarcrm.com> Mime-Version: 1.0 (1.0) Date: Wed, 25 Jul 2012 08:42:21 +0800 Message-ID: <6953333696875572551@unknownmsgid> To: Stas Malyshev Cc: Laruence , PHP Internals Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [RFC] Supports 'finally' keyword for PHP exceptions From: laruence@gmail.com (Xinchen Hui) =E5=8F=91=E8=87=AA=E6=88=91=E7=9A=84 iPad =E5=9C=A8 2012-7-25=EF=BC=8C1:50=EF=BC=8CStas Malyshev =E5=86=99=E9=81=93=EF=BC=9A > On 7/24/12 4:20 AM, Laruence wrote: >> Hi: >> As the previous threads disscussed, I make a implemention. >> >> here is the RFC: https://wiki.php.net/rfc/finally > > I'm not seeing tests for the following situations: > 1. Return from catch block. > 2. Another try/catch block inside finally block. > 3. Multiple nested functions with finally blocks. > 4. Exception thrown in catch block. They are in the test scripts in commits, But sure, I should note them out Thanks > > Could you add those? > -- > Stanislav Malyshev, Software Architect > SugarCRM: http://www.sugarcrm.com/ > (408)454-6900 ext. 227