mirror of
https://github.com/php/php-src.git
synced 2025-01-02 08:54:04 +08:00
39 lines
465 B
PHP
39 lines
465 B
PHP
--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
|
|
(
|
|
)
|