rfc:deprecate-uniqid

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
rfc:deprecate-uniqid [2017/12/05 13:39] – minor fixes kelunikrfc:deprecate-uniqid [2018/05/10 14:24] – Add note about second vote option kelunik
Line 10: Line 10:
  
 ===== Proposal ===== ===== Proposal =====
-This RFC proposes to emit deprecation warnings for any usage of ''uniqid()''. Current usages should be replaced with either  ''random_bytes()'' (maybe in combination with ''bin2hex()'' or any other encoding of their choice) or an UUID implementation of the developer's choice.+This RFC proposes to emit deprecation warnings for any usage of ''uniqid()''. Current usages should be replaced with either  ''random_bytes()'' (in combination with ''bin2hex()'' or any other encoding of choice) or an UUID implementation of the developer's choice.
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
Line 20: Line 20:
 ===== Proposed Voting Choices ===== ===== Proposed Voting Choices =====
 Simple yes / no vote with 2/3 majority. Simple yes / no vote with 2/3 majority.
 +
 +Maybe a second vote for skipping removal in PHP 8.0 and delaying it to a later RFC.
  
 ===== Patches and Tests ===== ===== Patches and Tests =====
 TBD. TBD.
rfc/deprecate-uniqid.txt · Last modified: 2018/05/10 14:38 by kelunik