Annotation of embedaddon/php/tests/output/ob_start_basic_003.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: ob_start(): ensure even fatal error test is affected by output buffering.
! 3: --FILE--
! 4: <?php
! 5:
! 6: function f() {
! 7: return "I have stolen your output";
! 8: }
! 9:
! 10: ob_start('f');
! 11: cause_fatal_error(); // call undefined function
! 12: ob_end_flush();
! 13:
! 14: echo "done (you shouldn't see this)";
! 15:
! 16: ?>
! 17: --EXPECTF--
! 18: I have stolen your output
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>