我写段php代码如下:
复制代码 代码如下:
if(test case)
print<....html code....>
EOF;
else
print<....html code....>
EOF;
?>
如上写法是不可以的,需要把EOF标识符顶格:
复制代码 代码如下:
if(test case)
print<....html code....>
EOF;
else
print<....html code....>
EOF;
?>
Statement:The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn