php-src/ext/standard/tests/math/getrandmax_error.phpt

10 lines
202 B
Plaintext
Raw Normal View History

2008-02-06 08:39:23 +00:00
--TEST--
Test getrandmax() - wrong params test getrandmax()
--FILE--
<?php
var_dump($biggest_int = getrandmax(true));
?>
--EXPECTF--
Warning: Wrong parameter count for getrandmax() in %s on line 2
NULL