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
Felipe Pena 748677148c Fixed tests
2008-02-28 15:28:00 +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