mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
23 lines
286 B
PHP
23 lines
286 B
PHP
--TEST--
|
|
output buffering - multiple
|
|
--FILE--
|
|
<?php
|
|
echo 0;
|
|
ob_start();
|
|
ob_start();
|
|
ob_start();
|
|
ob_start();
|
|
echo 1;
|
|
ob_end_flush();
|
|
echo 2;
|
|
$ob = ob_get_clean();
|
|
echo 3;
|
|
ob_flush();
|
|
ob_end_clean();
|
|
echo 4;
|
|
ob_end_flush();
|
|
echo $ob;
|
|
?>
|
|
--EXPECT--
|
|
03412
|