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.
28 lines
396 B
28 lines
396 B
--TEST--
|
|
highlight_string(), output buffer and error level
|
|
--SKIPIF--
|
|
<?php
|
|
echo 'skip AOT limitation';
|
|
?>
|
|
--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
|
|
|