1
0
mirror of https://github.com/php/php-src.git synced 2026-03-28 18:22:42 +01:00
Files
archived-php-src/ext/standard/tests/math/getrandmax_error.phpt
2008-02-06 09:51:19 +00:00

10 lines
202 B
PHP

--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