xref: /PHP-5.4/tests/output/ob_012.phpt (revision 1e119743)
1--TEST--
2output buffering - multiple
3--FILE--
4<?php
5echo 0;
6	ob_start();
7		ob_start();
8			ob_start();
9				ob_start();
10					echo 1;
11				ob_end_flush();
12				echo 2;
13			$ob = ob_get_clean();
14		echo 3;
15		ob_flush();
16		ob_end_clean();
17	echo 4;
18	ob_end_flush();
19echo $ob;
20?>
21--EXPECT--
2203412
23