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.
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.