rfc:engine_exceptions_for_php7

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
rfc:engine_exceptions_for_php7 [2015/02/22 18:15]
nikic
rfc:engine_exceptions_for_php7 [2017/09/22 13:28] (current)
Line 2: Line 2:
   * Date: 2014-09-30   * Date: 2014-09-30
   * Author: Nikita Popov <nikic@php.net>   * Author: Nikita Popov <nikic@php.net>
-  * Status: Under Discussion +  * Status: Implemented (in PHP 7.0)
-  * Proposed for: PHP 7+
  
 ===== Introduction ===== ===== Introduction =====
Line 221: Line 220:
  
 <code> <code>
-BaseExtension (abstract)+BaseException (abstract)
  +- EngineException  +- EngineException
  +- ParseException  +- ParseException
Line 317: Line 316:
 + HANDLE_EXCEPTION(); + HANDLE_EXCEPTION();
 </code> </code>
 +
 +The current patch continues using "Recoverable fatal error" messages even for errors that are not recoverable anymore in the previous sense of the word. These messages will be adjusted afterwards. (The patch tries to separate important functional changes from cosmetic tweaks.)
  
 ===== Vote ===== ===== Vote =====
  
-Vote 1: Allow exceptions in the engine and conversion of existing fatals? Requires 2/3 majority.+The primary vote decides if the proposal as outlined in the RFC is accepted and requires a 2/3 majority. 
 + 
 +<doodle title="Allow exceptions in the engine and conversion of existing fatals?" auth="nikic" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle> 
 + 
 +The secondary vote decides whether or not a ''BaseException'' based hierarchy should be introduced, as described in the [[#hierarchy|Hierarchy]] section of the proposalWhichever option has more votes wins. 
 + 
 +<doodle title="Introduce and use BaseException?" auth="nikic" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle>
  
-Vote 2: Introduce BaseException? Option with more votes wins.+Voting started on 2015-02-23 and ends on 2015-03-08.
rfc/engine_exceptions_for_php7.1424628950.txt.gz · Last modified: 2017/09/22 13:28 (external edit)