php-src/tests/output/flush_error_001.phpt
2015-03-03 22:56:23 +08:00

19 lines
364 B
PHP

--TEST--
Test wrong number of arguments for flush() (no impact)
--FILE--
<?php
/*
* proto void flush(void)
* Function is implemented in ext/standard/basic_functions.c.
*/
$extra_arg = 1;
echo "\nToo many arguments\n";
var_dump(flush($extra_arg));
?>
--EXPECTF--
Too many arguments
Warning: flush() expects exactly 0 parameters, 1 given in %s on line %d
NULL