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