1 2 3 4 5 6 7 8 9 10 11
--TEST-- output buffering - ob_get_contents --FILE-- <?php ob_start(); echo "foo\n"; echo ob_get_contents(); ?> --EXPECT-- foo foo