summaryrefslogtreecommitdiff
path: root/tests/output/ob_020.phpt
blob: 05f66cc5848a7c41d5a16b9aad4ce148a9e7725f (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
35
36
37
38
--TEST--
output buffering - ob_list_handlers
--FILE--
<?php
print_r(ob_list_handlers());

ob_start();
print_r(ob_list_handlers());

ob_start();
print_r(ob_list_handlers());

ob_end_flush();
print_r(ob_list_handlers());

ob_end_flush();
print_r(ob_list_handlers());
?>
--EXPECT--
Array
(
)
Array
(
    [0] => default output handler
)
Array
(
    [0] => default output handler
    [1] => default output handler
)
Array
(
    [0] => default output handler
)
Array
(
)