Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:61671 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 72626 invoked from network); 24 Jul 2012 11:41:23 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Jul 2012 11:41:23 -0000 Authentication-Results: pb1.pair.com smtp.mail=indeyets@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=indeyets@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.215.42 as permitted sender) X-PHP-List-Original-Sender: indeyets@gmail.com X-Host-Fingerprint: 209.85.215.42 mail-lpp01m010-f42.google.com Received: from [209.85.215.42] ([209.85.215.42:36335] helo=mail-lpp01m010-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id E3/50-17533-1E98E005 for ; Tue, 24 Jul 2012 07:41:22 -0400 Received: by lago2 with SMTP id o2so872701lag.29 for ; Tue, 24 Jul 2012 04:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:mime-version:content-type:from:in-reply-to:date:cc :message-id:references:to:x-mailer; bh=x1rUcd0CkMMXPiZsqSz4P1i0kKJ517xuUngr2gXhsWc=; b=dyYSR2tNsgwJwM3qQ79/5rtnh8GfUVkYkwlmuR6/KnYWVSvM7L5QZ9T/I/wFzr83lp QwNFweTXiM5VqsGgzJCtZoTFemRFq1DQSO2zW5tPO/+uwE8bksG5kEifOcpBigKI3XlB mzn7hUwxsFPVS1J9WfraQBvkJTW/82mBAiNFx/qbs9qjwDeRWaKVs1Vs1S2ucZ6m4WlR 6dsduOuexALnmoIyJMUoJmHVxLWUq3ScjBro3Oz02NBB/sUOarcoIKw0v+pd04RRDgpp +cqpg9+M5cyOsP5trHUVXlJrp5tsKOv1aRvcdDdirrhb1Kslk6lIiJyk3iwKm0FsjZ66 l9Lw== Received: by 10.112.42.225 with SMTP id r1mr9539551lbl.102.1343130077985; Tue, 24 Jul 2012 04:41:17 -0700 (PDT) Received: from [192.168.1.24] ([94.230.167.225]) by mx.google.com with ESMTPS id h9sm3838932lbi.9.2012.07.24.04.41.15 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 24 Jul 2012 04:41:16 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v1278) Content-Type: multipart/signed; boundary="Apple-Mail=_E59CD4E4-7CE5-4BB7-A4AE-F20623ABB247"; protocol="application/pgp-signature"; micalg=pgp-sha1 In-Reply-To: Date: Tue, 24 Jul 2012 15:41:13 +0400 Cc: PHP Internals Message-ID: <4B17D4B8-B310-4173-A0F2-C6514E7995BA@gmail.com> References: To: Laruence X-Mailer: Apple Mail (2.1278) Subject: Re: [PHP-DEV] [RFC] Supports 'finally' keyword for PHP exceptions From: indeyets@gmail.com (Alexey Zakhlestin) --Apple-Mail=_E59CD4E4-7CE5-4BB7-A4AE-F20623ABB247 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii On 24.07.2012, at 15:20, Laruence wrote: > Hi: > As the previous threads disscussed, I make a implemention. > > here is the RFC: https://wiki.php.net/rfc/finally > > any suggestions? Will it work without "catch" in your implementation? try { doSomethingDangerous(); } finally { doCleanup(); } --Apple-Mail=_E59CD4E4-7CE5-4BB7-A4AE-F20623ABB247 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP using GPGMail -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.17 (Darwin) iQEcBAEBAgAGBQJQDonZAAoJEM8kLGy4PJ4JmgcH/37rQxhobxEZtryp+7OBaWxV YCNaFW4LjW31h0F5VMQlq9HeSACRkZDIzK9cOnO+q82E5rAygA4bR8TdiExlmNyx Z7AL3NsWk5kwyCro3bjZKyLHW1+qVZRxCB/gP/srR7+ppYymsQ2sXbwcGkOD1l5k S/dyWFTlKkCYwcHEq926JbkTyM9m3C+bFcp0KjN+xk5/Yzo4q/gQPuFtaCWuE8Wm trpZSz2wftI/4tUDTZCChD09chRplUCr3yPtgr2mVFbqoIi+PZRgcuLL9nRA1pzT 9mYJHRjcD2HQ7eRm3Qd+Xm85IHE65gePBTlyi7u9yct7xIJRVxQEX1h95/I49Oc= =aAfh -----END PGP SIGNATURE----- --Apple-Mail=_E59CD4E4-7CE5-4BB7-A4AE-F20623ABB247--