rfc:deprecate-and-remove-ext-wddx

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:deprecate-and-remove-ext-wddx [2019/01/14 10:56]
cmb v1.0.0: add secondary voting option
rfc:deprecate-and-remove-ext-wddx [2019/03/20 13:55] (current)
cmb ext/wddx has been unbundled
Line 1: Line 1:
-====== PHP RFC: Deprecate and Remove ext/wddx ======+====== PHP RFC: Unbundle ext/wddx ======
  
-  * Version: 1.0.0 +  * Version: 1.1.1 
-  * Date: 2018-01-14+  * Date: 2018-01-17
   * Author: Christoph M. Becker, <cmb@php.net>   * Author: Christoph M. Becker, <cmb@php.net>
-  * Status: Under Discussion+  * Status: Implemented
   * First Published at: https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx   * First Published at: https://wiki.php.net/rfc/deprecate-and-remove-ext-wddx
  
Line 15: Line 15:
 ===== Proposal ===== ===== Proposal =====
  
-Therefore I suggest to either:+Therefore I suggest to unbundle ext/wddx. A secondary vote will be held about the detailed procedure:
  
-  PHP 7.4: deprecate ext/wddx (particularly issue E_DEPRECATED whenever a ''wddx_*()'' function is called, or a WDDX session is written or read) +  - deprecate all functionality of the extension for PHP 7.4; move to PECL for PHP 8 
-  * PHP 8.0: move ext/wddx to PECL/wddx (without removing the deprecation)+  - deprecate all functionality of the extension *and* move to PECL for PHP 7.
 +  - move the extension to PECL for PHP 7.4 
 +  - dump the extension for PHP 7.4 (unbundle without moving to PECL or somewhere else)
  
-or to: 
- 
-  * PHP 7.4: move ext/wddx to PECL/wddx without any deprecation 
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
  
-Obviously, code using the wddx extension would issue deprecation warnings, and/or would have to use the wddx extension from PECL, or be rewritten.+Obviously, code using the wddx extension would issue deprecation warnings, and/or would have to use the wddx extension from PECL (or somewhere else), or be rewritten.
  
 ===== Open Issues ===== ===== Open Issues =====
Line 32: Line 31:
   * None   * None
  
-===== Proposed Voting Choices =====+===== Voting ===== 
 + 
 +The primary vote is about whether to unbundle ext/wddx, which requires a 2/3 majority. 
 + 
 +<doodle title=" Unbundle ext/wddx" auth="cmb" voteType="single" closed="true"> 
 +   * Yes 
 +   * No 
 +</doodle> 
 + 
 +\\ A secondary vote is held about the detailed procedure (see the [[#proposal|proposal]] above). If the primary vote passes, the alternative with the most votes will be accepted.
  
-Whether to remove ext/wddx (with or without deprecation), which requires a 2/majority.+<doodle title="Unbundle ext/wddx details" auth="cmb" voteType="single" closed="true"> 
 +   * depr. 7.4/move 8.0(1) 
 +   * depr. and move 7.4(2
 +   * move 7.4(3
 +   * dump 7.4(4) 
 +</doodle>
  
-A secondary vote will be held whether to deprecate or notwhich requires a 50%+1 majority (and of course only has effect, if the primary vote passes).+\\ Voting starts on 2019-01-17, and ends on 2019-01-31.
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
Line 44: Line 57:
 ===== Implementation ===== ===== Implementation =====
  
-After the project is implemented, this section should contain  +  [[http://git.php.net/?p=php-src.git;a=commit;h=6bbb18a0b6bef11222caaa55c00abdbcbb55d54b|Applied]] to PHP-7.4 
-  the version(s) it was merged into +  - [[http://svn.php.net/viewvc?view=revision&revision=347028|Documentation]]
-  - a link to the git commit(s) +
-  - a link to the PHP manual entry for the feature+
  
 ===== References ===== ===== References =====
rfc/deprecate-and-remove-ext-wddx.1547463388.txt.gz · Last modified: 2019/01/14 10:56 by cmb