1--TEST--
2Test ob_start() with non existent callback 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, 'f')));
14echo "done"
15?>
16--EXPECTF--
17Warning: ob_start(): class C does not have a method "f" in %s on line %d
18
19Notice: ob_start(): Failed to create buffer in %s on line %d
20bool(false)
21done
22