xref: /PHP-7.2/tests/output/flush_error_001.phpt (revision 17ccbeec)
1--TEST--
2Test wrong number of arguments for flush() (no impact)
3--FILE--
4<?php
5/*
6 * proto void flush(void)
7 * Function is implemented in ext/standard/basic_functions.c.
8 */
9
10$extra_arg = 1;
11echo "\nToo many arguments\n";
12var_dump(flush($extra_arg));
13?>
14--EXPECTF--
15Too many arguments
16
17Warning: flush() expects exactly 0 parameters, 1 given in %s on line %d
18NULL
19