Return to 005.phpt CVS log | Up to [ELWIX - Embedded LightWeight unIX -] / embedaddon / php / ext / standard / tests / strings |
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