1--TEST--
2Test ob_start() with object supplied but no method.
3--FILE--
4<?php
5/*
6 * Function is implemented in main/output.c
7*/
8
9Class C {
10}
11
12$c = new C;
13var_dump(ob_start(array($c)));
14echo "done"
15?>
16--EXPECTF--
17Warning: ob_start(): array must have exactly two members in %s on line %d
18
19Notice: ob_start(): Failed to create buffer in %s on line %d
20bool(false)
21done
22