--TEST-- Test ob_clean() function : error conditions --FILE-- <?php /* Prototype : proto bool ob_clean(void) * Description: Clean (delete) the current output buffer * Source code: main/output.c * Alias to functions: */ echo "*** Testing ob_clean() : error conditions ***\n"; // One argument echo "\n-- Testing ob_clean() function with one argument --\n"; $extra_arg = 10;; var_dump( ob_clean($extra_arg) ); echo "Done"; ?> --EXPECTF-- *** Testing ob_clean() : error conditions *** -- Testing ob_clean() function with one argument -- Warning: ob_clean() expects exactly 0 parameters, 1 given in %s on line 13 NULL Done