TypePHP 编译器 https://swoole.com/aot/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

24 lines
366 B

--TEST--
highlight_string(), output buffer and error level
--SKIPIF--
--FILE--
<?php
echo "hello\n";
$string = str_repeat("A", 1024);
ini_set('error_reporting', '8192');
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