Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61808 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 66663 invoked from network); 26 Jul 2012 11:37:33 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Jul 2012 11:37:33 -0000 Authentication-Results: pb1.pair.com header.from=laruence@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=laruence@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.217.170 as permitted sender) X-PHP-List-Original-Sender: laruence@gmail.com X-Host-Fingerprint: 209.85.217.170 mail-lb0-f170.google.com Received: from [209.85.217.170] ([209.85.217.170:50990] helo=mail-lb0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id C4/D4-41030-CFB21105 for ; Thu, 26 Jul 2012 07:37:32 -0400 Received: by lbgc1 with SMTP id c1so1482595lbg.29 for ; Thu, 26 Jul 2012 04:37:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:content-type; bh=qYDp0jF/B5K+xrUnsHLMJLHc00JdzYT+/37YnD8jI0M=; b=Py/32IHNlE/4QLAJicJuEmJanKahg2xSrHhW6QRsDELMpoBlYH+Fby86xPc9nVt9Kz 92UK6+QqI78+qsaDH+GSfeDf9A+faeYozHrhcgPoGq0Km/Ug3mCPUs26bbvg16Orq/9H iwz3QC5fbWUH6si/ej9R7oECTWV369cudGao+j4VbQvKp3cb/tHbXc4HcFyLlF5cC4Ks l1MGDRTZU7NMdHQT5SJxH6yD5Dy7xC5MJAH23xjkCs+l++kCmodt7Ow4wIiVb/DIRArS CTQyLGSjV2W3x1puSQvcbBNYRgD0gX5ETczRpi7fdJaRpNafFXI50iONJT/LBUWiyeEV owUw== Received: by 10.152.104.171 with SMTP id gf11mr29762553lab.5.1343302649447; Thu, 26 Jul 2012 04:37:29 -0700 (PDT) MIME-Version: 1.0 Sender: laruence@gmail.com Received: by 10.112.99.233 with HTTP; Thu, 26 Jul 2012 04:37:09 -0700 (PDT) In-Reply-To: References: Date: Thu, 26 Jul 2012 19:37:09 +0800 X-Google-Sender-Auth: upnV4GpFDzCDa9xjqKV-Y4TV-Ko Message-ID: To: PHP Internals Content-Type: text/plain; charset=UTF-8 Subject: Re: [RFC] Supports 'finally' keyword for PHP exceptions From: laruence@php.net (Laruence) Hi all: Here are a test script lists, which I think could be help to understand the current implemented behaviors: try..catch..finally https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finally_001.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finally_002.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finally_003.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finally_004.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finally_005.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/catch_finally_006.phpt try...finally https://github.com/laruence/php-src/blob/finally/Zend/tests/try_finally_001.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/try_finally_002.phpt https://github.com/laruence/php-src/blob/finally/Zend/tests/try_finally_003.phpt thanks On Tue, Jul 24, 2012 at 7:20 PM, Laruence wrote: > Hi: > As the previous threads disscussed, I make a implemention. > > here is the RFC: https://wiki.php.net/rfc/finally > > any suggestions? > > thanks > > -- > Laruence Xinchen Hui > http://www.laruence.com/ -- Laruence Xinchen Hui http://www.laruence.com/