1
0
mirror of https://github.com/php/php-src.git synced 2026-03-26 17:22:15 +01:00
Files
archived-php-src/ext/standard/tests/math/getrandmax_error.phpt
2008-03-10 22:17:59 +00:00

10 lines
214 B
PHP

--TEST--
Test getrandmax() - wrong params test getrandmax()
--FILE--
<?php
var_dump($biggest_int = getrandmax(true));
?>
--EXPECTF--
Warning: getrandmax() expects exactly 0 parameters, 1 given in %s on line 2
NULL