rfc:deprecate-uniqid

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-uniqid [2018/05/10 14:24]
kelunik Add note about second vote option
rfc:deprecate-uniqid [2018/05/10 14:38] (current)
kelunik improve wording
Line 3: Line 3:
   * Date: 2017-05-24   * Date: 2017-05-24
   * Author: Niklas Keller, me@kelunik.com   * Author: Niklas Keller, me@kelunik.com
-  * Status: ​Draft+  * Status: ​Under Discussion
   * First Published at: http://​wiki.php.net/​rfc/​deprecate-uniqid   * First Published at: http://​wiki.php.net/​rfc/​deprecate-uniqid
  
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()''​ (in combination with ''​bin2hex()'' ​or any other encoding of 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 ​ ''​bin2hex(random_bytes(16))''​ (or any other encoding of choice) or an UUID implementation.
  
 ===== Backward Incompatible Changes ===== ===== Backward Incompatible Changes =====
rfc/deprecate-uniqid.1525962296.txt.gz · Last modified: 2018/05/10 14:24 by kelunik