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