php-src/ext/standard/tests/strings/005.phpt
Steph Fox 87fac43ac0 - killed off UEXPECT
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?
2008-05-27 10:50:48 +00:00

25 lines
348 B
PHP

--TEST--
highlight_string(), output buffer and error level
--INI--
error_reporting=8192
--FILE--
<?php
echo "hello\n";
$string = str_repeat("A", 1024);
var_dump(error_reporting());
highlight_string($string, true);
var_dump(ob_get_contents());
var_dump(error_reporting());
echo "Done\n";
?>
--EXPECT--
hello
int(8192)
bool(false)
int(8192)
Done