去掉各行最后的空格即可<html>
<head>
<title>串數據設定實例</title>
</head>
<body>
<?php
$str = <<<heredoc_identifier
"This is a string that is defined using 'heredoc'."
heredoc_identifier;
echo($str . "<br />");
?>
</body>
</html>
<head>
<title>串數據設定實例</title>
</head>
<body>
<?php
$str = <<<heredoc_identifier
"This is a string that is defined using 'heredoc'."
heredoc_identifier;
echo($str . "<br />");
?>
</body>
</html>
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货