Random Extension Polyfill#

Packagist GitLab GitHub Bitbucket Gitea

This is a polyfill for the new ext-random extension that will be released with PHP 8.2.

RFC:

Requirements#

  • PHP 7.1

  • GMP extension

Installation#

composer require 'arokettu/random-polyfill'

Documentation#

TODO#

  • Keep updating with fixes from the upcoming betas and release 1.0.0 around PHP 8.2.0 rc 1

  • Empty arokettu/random-polyfill v1.99 for PHP 8.2.0 users

  • Other engines

    • Maybe

    • Some day

    • If I have time

    • Don’t count on it

License#

The library is available as open source under the terms of the 3-Clause BSD License. See COPYING.adoc for additional licenses.