1--TEST--
2Test wrong number of arguments and wrong arg types for ob_start()
3--FILE--
4<?php
5/*
6 * proto bool ob_start([ string|array user_function [, int chunk_size [, bool erase]]])
7 * Function is implemented in main/output.c
8*/
9
10Class C {
11	static function f($str) {
12		return $str;
13	}
14}
15
16var_dump(ob_start(array("nonExistent","f")));
17var_dump(ob_start(array("C","nonExistent")));
18var_dump(ob_start("C::no"));
19var_dump(ob_start("no"));
20echo "done"
21?>
22--EXPECTF--
23bool(false)
24bool(false)
25bool(false)
26bool(false)
27done