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