1--TEST--
2Test wrong number of arguments and wrong arg types for ob_start()
3--FILE--
4<?php
5/*
6 * Function is implemented in main/output.c
7*/
8
9function justPrint($str) {
10    return $str;
11}
12
13$arg_1 = "justPrint";
14$arg_2 = 0;
15$arg_3 = false;
16$extra_arg = 1;
17
18echo "\nArg 1 wrong type\n";
19var_dump(ob_start(1.5));
20
21?>
22--EXPECTF--
23Arg 1 wrong type
24
25Warning: ob_start(): no array or string given in %s on line %d
26
27Notice: ob_start(): Failed to create buffer in %s on line %d
28bool(false)
29