It would be good to notify that the PHP implementation requires PHP 7, because it needs the random_bytes function that is only available in PHP 7 (http://php.net/manual/en/function.random-bytes.php). It can be added to the far more common PHP 5.x with a 3rd party plugin though: https://github.com/paragonie/random_compat
But it is very hard to notice that this requires PHP 7 and spend quite a while wondering why it fails silently on PHP 5.x. There are no Exceptions thrown and no other warnings, even with error_reporting(E_ALL);
It would be good to notify that the PHP implementation requires PHP 7, because it needs the
random_bytesfunction that is only available in PHP 7 (http://php.net/manual/en/function.random-bytes.php). It can be added to the far more common PHP 5.x with a 3rd party plugin though: https://github.com/paragonie/random_compatBut it is very hard to notice that this requires PHP 7 and spend quite a while wondering why it fails silently on PHP 5.x. There are no Exceptions thrown and no other warnings, even with
error_reporting(E_ALL);