summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/getrandmax_error.phpt
blob: 6cc87ff468d1fd47699c558148162afdc2ec6f82 (plain)
1
2
3
4
5
6
7
8
9
--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