Polyfill for Random Extension ############################# :category: PHP :date: 2022-07-23 19:52:00 +0300 :tags: php 8.2, ext-random Announcing my new library, a polyfill for the new sexy ``ext-random`` from PHP 8.2 `that I mentioned a couple of posts ago.`__ It requires PHP 7.1+ and the GMP extension. .. __: link://slug/php-82-early-look There will be some limitations with the compatibility but it's already usable for most simple use cases. Grab it here: https://sandfox.dev/php/random-polyfill.html Many thanks to `Go Kudo`__ for his work on the original extension. .. __: https://github.com/zeriyoshi