--TEST-- Random: Randomizer: getInt(): Basic functionality --FILE-- getInt(-$i, $i); if ($result > $i || $result < -$i) { die("failure: out of range at {$i}"); } } // Test that extreme ranges do not throw. for ($i = 0; $i < 10_000; $i++) { $randomizer->getInt(PHP_INT_MIN, PHP_INT_MAX); } } 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