$mystring = <<<EOT
This is some PHP text.
It is completely free
I can use "double quotes"
and 'single quotes',
plus $variables too, which will
be properly converted to their values,
you can even type EOT, as long as it
is not alone on a line, like this:
EOT;
关于导致解析器阻塞的任何想法?
我正在使用 PHP 4.4.7。
仅在一个文件上发生此行为,所有其他文件都遵循 PHP 定义的功能。
我试图纠正的是前面几行中可能存在的错误,以便 PHP 解析器显示此故障。
John
将文件内容更改为:-
<?php
$mystring = <<<WHATEVER
This is some PHP text.
WHATEVER;
?>