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.
19 lines
329 B
19 lines
329 B
--TEST--
|
|
any
|
|
--FILE--
|
|
<?php
|
|
function main()
|
|
{
|
|
// heredoc with different white space characters
|
|
$heredoc_escchar = <<<EOT6
|
|
This checks\t chunk_split()\nEscape\nchars
|
|
EOT6;
|
|
|
|
var_dump(chunk_split($heredoc_escchar, strlen($heredoc_escchar)) );
|
|
}
|
|
?>
|
|
--EXPECT--
|
|
string(45) " This checks chunk_split()
|
|
Escape
|
|
chars
|
|
"
|