php-src/tests/output/flush_error_001.phpt
2008-12-18 15:20:07 +00:00

16 lines
290 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
NULL