<html>
<head>
<title>HELLO WORLD!</title>
</head>
<body>
<?php
echo "HELLO WORLD!";
?>
</body>
</html>
http://127.0.0.1:8080/hello.php
syntax error, unexpected '"HELLO WORLD!"' (T_CONSTANT_ENCAPSED_STRING)
原因:把代码按照上面的写一下,里面有中文的空格。
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。