1--TEST--
2Test wrong number of arguments for ob_end_clean()
3--FILE--
4<?php
5/*
6 * proto bool ob_end_clean(void)
7 * Function is implemented in main/output.c
8*/
9
10$extra_arg = 1;
11
12echo "\nToo many arguments\n";
13var_dump(ob_end_clean($extra_arg));
14
15
16?>
17--EXPECTF--
18
19Too many arguments
20
21Warning: ob_end_clean() expects exactly 0 parameters, 1 given in %s on line 10
22NULL
23