Home  >  Article  >  Backend Development  >  PHP 没输出信息纯html信息

PHP 没输出信息纯html信息

WBOY
WBOYOriginal
2016-06-13 12:06:07880browse

PHP 没有输出信息纯html信息

<br />function ax()<br />{<br />    $ax = <<<HEADER<br />    <!DOCTYPE html><br />    <html><br />    <head lang="en"><br />    <meta charset="UTF-8"><br />    <title>Hello World</title><br />    </head><br />    <body><br />    Hello world!;<br />    </body><br />    </html><br />HEADER;<br />    echo $ax;<br />}<br /><br /><br />ax();<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