File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / tests / output / ob_011.phpt
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Tue Feb 21 23:48:06 2012 UTC (12 years, 5 months ago) by misho
Branches: php, MAIN
CVS tags: v5_3_10, HEAD
php

    1: --TEST--
    2: output buffering - fatalism
    3: --XFAIL--
    4: This test will fail until the fix in revision r214155 is backported from php 6
    5: --FILE--
    6: <?php
    7: function obh($s)
    8: {
    9: 	return ob_get_flush();
   10: }
   11: ob_start("obh");
   12: echo "foo\n";
   13: ?>
   14: --EXPECTF--
   15: Fatal error: ob_get_flush(): Cannot use output buffering in output buffering display handlers in %sob_011.php on line %d

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>