Annotation of embedaddon/php/ext/standard/tests/strings/005.phpt, revision 1.1
1.1 ! misho 1: --TEST--
! 2: highlight_string(), output buffer and error level
! 3: --INI--
! 4: error_reporting=8192
! 5: --FILE--
! 6: <?php
! 7:
! 8: echo "hello\n";
! 9:
! 10: $string = str_repeat("A", 1024);
! 11:
! 12: var_dump(error_reporting());
! 13: highlight_string($string, true);
! 14: var_dump(ob_get_contents());
! 15: var_dump(error_reporting());
! 16:
! 17: echo "Done\n";
! 18: ?>
! 19: --EXPECTF--
! 20: hello
! 21: int(8192)
! 22: bool(false)
! 23: int(8192)
! 24: Done
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>