[RFC] Deprecation of uniqid()

From: Date: Thu, 10 May 2018 14:33:01 +0000
Subject: [RFC] Deprecation of uniqid()
Groups: php.internals 
Request: Send a blank email to internals+get-102097@lists.php.net to get a copy of this message
Hey, I hereby propose to deprecate uniqid(). There have been attempts to fix it ( https://wiki.php.net/rfc/uniqid), but those were rejected during discussion, because there's no possible fix without breaking BC. Instead of a subtle BC break, this RFC favors the deprecation and moving users to other functions. It's to be discussed whether the function should be removed with PHP 8.0 or just deprecated to avoid fully breaking things where it's not strictly necessary. A deprecation will probably avoid most new usages, which is the main goal. RFC: https://wiki.php.net/rfc/deprecate-uniqid Kind Regards, Niklas

« previous php.internals (#102097) next »