mirror of
https://github.com/php/php-src.git
synced 2024-11-30 13:25:43 +08:00
19 lines
364 B
PHP
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
|