xref: /PHP-7.4/tests/output/ob_get_status.phpt (revision 11d24c15)
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    ["name"]=>
19    string(22) "default output handler"
20    ["type"]=>
21    int(0)
22    ["flags"]=>
23    int(112)
24    ["level"]=>
25    int(0)
26    ["chunk_size"]=>
27    int(0)
28    ["buffer_size"]=>
29    int(16384)
30    ["buffer_used"]=>
31    int(0)
32  }
33}
34