xref: /PHP-5.5/tests/output/ob_020.phpt (revision 1e119743)
1--TEST--
2output buffering - ob_list_handlers
3--FILE--
4<?php
5print_r(ob_list_handlers());
6
7ob_start();
8print_r(ob_list_handlers());
9
10ob_start();
11print_r(ob_list_handlers());
12
13ob_end_flush();
14print_r(ob_list_handlers());
15
16ob_end_flush();
17print_r(ob_list_handlers());
18?>
19--EXPECT--
20Array
21(
22)
23Array
24(
25    [0] => default output handler
26)
27Array
28(
29    [0] => default output handler
30    [1] => default output handler
31)
32Array
33(
34    [0] => default output handler
35)
36Array
37(
38)
39