Home >Backend Development >PHP Tutorial > 指令分隔符?该怎么解决

指令分隔符?该怎么解决

WBOY
WBOYOriginal
2016-06-13 12:34:38988browse

指令分隔符?
http://docs.php.net/manual/zh/language.basic-syntax.phptags.php
如果文件内容是纯 PHP 代码,最好在文件末尾删除 PHP 结束标记。这可以避免在 PHP 结束标记之后万一意外加入了空格或者换行符,会导致 PHP 开始输出这些空白,而脚本中此时并无输出的意图。 

问题:
1.

<br />
<?php<br />
    echo "QQQ"<br />


为什么,出错?

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