rfc:multiple-catch

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:multiple-catch [2016/04/18 04:40] – updates RFC status to 'Voting' marciorfc:multiple-catch [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 3: Line 3:
   * Date: 2016-03-06   * Date: 2016-03-06
   * Author: Pierrick Charron <pierrick@php.net>, Bronisław Białek <after89@gmail.com>   * Author: Pierrick Charron <pierrick@php.net>, Bronisław Białek <after89@gmail.com>
-  * Status: Voting+  * Status: Implemented (PHP 7.1)
   * First Published at: http://wiki.php.net/rfc/multiple-catch   * First Published at: http://wiki.php.net/rfc/multiple-catch
  
Line 46: Line 46:
 This syntax and functionality is compatible with the Union types RFC proposed here : https://wiki.php.net/rfc/union_types This syntax and functionality is compatible with the Union types RFC proposed here : https://wiki.php.net/rfc/union_types
  
-==== When is it usefull ? ====+==== When is it useful ? ====
  
   * When a single method/function throw two different types of exceptions that you handle the same way;   * When a single method/function throw two different types of exceptions that you handle the same way;
Line 80: Line 80:
  
 ===== Vote ===== ===== Vote =====
-As this is a language change, a 2/3 majority is required. The vote is a straight Yes/No vote for accepting the RFC and merging the patch. Voting started on 2014-04-17 and will end on 2015-05-01.+As this is a language change, a 2/3 majority is required. The vote is a straight Yes/No vote for accepting the RFC and merging the patch. Voting started on 2016-04-17 and will end on 2016-05-01.
  
-<doodle title="Should milti-catch be added to PHP 7.1" auth="pierrick" voteType="single" closed="false">+<doodle title="Should milti-catch be added to PHP 7.1" auth="pierrick" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
Line 90: Line 90:
  
 Patch : [[https://github.com/php/php-src/pull/1796/files]] Patch : [[https://github.com/php/php-src/pull/1796/files]]
 +
 +===== Implementation =====
 +
 +Merged into php-src for PHP 7.1: https://github.com/php/php-src/commit/0aed2cc2a440e7be17552cc669d71fdd24d1204a
  
rfc/multiple-catch.1460954453.txt.gz · Last modified: 2017/09/22 13:28 (external edit)