Return to ob_010.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / output |
1.1 ! misho 1: --TEST-- ! 2: output buffering - fatalism ! 3: --FILE-- ! 4: <?php ! 5: function obh($s) ! 6: { ! 7: print_r($s, 1); ! 8: } ! 9: ob_start("obh"); ! 10: echo "foo\n"; ! 11: ?> ! 12: --EXPECTF-- ! 13: Fatal error: print_r(): Cannot use output buffering in output buffering display handlers in %sob_010.php on line %d