1
0
mirror of https://github.com/php/php-src.git synced 2026-04-22 15:38:49 +02:00
Files
archived-php-src/ext/standard/tests/math/mt_getrandmax_error.phpt
T
Felipe Pena 748677148c Fixed tests
2008-02-28 15:28:00 +00:00

10 lines
207 B
PHP

--TEST--
Test mt_getrandmax() - wrong paramas mt_getrandmax()
--FILE--
<?php
var_dump(mt_getrandmax(true));
?>
--EXPECTF--
Warning: mt_getrandmax() expects exactly 0 parameters, 1 given in %s on line 2
NULL