--TEST-- Random: Randomizer: nextInt(): Basic functionality --FILE-- nextInt(); } catch (\Random\RandomException $e) { if ($e->getMessage() !== 'Generated value exceeds size of int' || PHP_INT_SIZE !== 4) { throw $e; } } } } die('success'); ?> --EXPECTF-- Deprecated: Constant MT_RAND_PHP is deprecated in %s on line %d Deprecated: The MT_RAND_PHP variant of Mt19937 is deprecated in %s on line %d Random\Engine\Mt19937 Random\Engine\Mt19937 Random\Engine\PcgOneseq128XslRr64 Random\Engine\Xoshiro256StarStar Random\Engine\Secure Random\Engine\Test\TestShaEngine success