blob: a6a3498ca38e7872156097cc7578ee485e289c32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
--TEST--
ob_get_status() function basic test
--CREDITS--
Sebastian Schürmann
sebs@php.net
Testfest 2009 Munich
--FILE--
<?php
ob_start();
$status = ob_get_status(true);
ob_end_clean();
var_dump($status);
?>
--EXPECT--
array(1) {
[0]=>
array(7) {
["chunk_size"]=>
int(0)
["size"]=>
int(40960)
["block_size"]=>
int(10240)
["type"]=>
int(1)
["status"]=>
int(0)
["name"]=>
string(22) "default output handler"
["del"]=>
bool(true)
}
}
|