The RFC to make random_* throw exceptions and errors has passed, which has removed the only blocker from declaring the API stable.
https://github.com/paragonie/random_compat/releases/tag/v1.0.0 The random_compat library exposes a compatible interface for PHP 7's CSPRNG functions in PHP 5 projects. This should allow developers to sanely generate random byte strings and integers today and have it work with the native PHP 7 functions tomorrow. Feel free to use this in any project. We published it under the MIT license because we want the community to be free to use it for whatever purpose, even commercial. If there's still a problem, let me know if something else (WTFPL?) would work better for your needs. Scott Arciszewski Chief Development Officer Paragon Initiative Enterprises <https://paragonie.com> -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php