rfc:unserialize_warn_on_trailing_data

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:unserialize_warn_on_trailing_data [2023/04/07 13:26] timwollarfc:unserialize_warn_on_trailing_data [2023/05/01 17:08] (current) – Formatting timwolla
Line 3: Line 3:
   * Date: 2023-03-27   * Date: 2023-03-27
   * Author: Tim Düsterhus, timwolla@php.net   * Author: Tim Düsterhus, timwolla@php.net
-  * Status: Under Discussion+  * Status: Implemented 
 +  * Target Version: PHP 8.3 
 +  * Implementation: https://github.com/php/php-src/commit/bf727cf5e206f567bc07fa1b5f331f2f269a6894
   * First Published at: https://wiki.php.net/rfc/unserialize_warn_on_trailing_data   * First Published at: https://wiki.php.net/rfc/unserialize_warn_on_trailing_data
  
Line 100: Line 102:
 ===== Future Scope ===== ===== Future Scope =====
  
-  * Make this an error.+  * Make this an exception.
  
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
  
-<doodle title="Make unserialize() emit a E_WARNING if the input contains trailing data?" auth="timwolla" voteType="single" closed="false" closeon="2022-01-01T00:00:00Z">+<doodle title="Make unserialize() emit a E_WARNING if the input contains trailing bytes?" auth="timwolla" voteType="single" closed="true" closeon="2023-04-26T08:30:00Z">
    * Yes    * Yes
    * No    * No
Line 115: Line 117:
 ===== Implementation ===== ===== Implementation =====
  
-n/a+  * https://github.com/php/php-src/commit/bf727cf5e206f567bc07fa1b5f331f2f269a6894
  
 ===== References ===== ===== References =====
rfc/unserialize_warn_on_trailing_data.1680874012.txt.gz · Last modified: 2023/04/07 13:26 by timwolla