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

PHP 没输出信息纯html信息

WBOY
Release: 2016-06-13 12:06:07
Original
952 people have browsed it

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 />
Copy after login

为什么没有输出??,是不是那里错了??
------解决方案--------------------
代码本身无误,看看上下文
------解决方案--------------------
代码拷贝下来测试,我这里有输出
------解决方案--------------------
如果这就是全部代码的话肯定有输出的,除非还有其他代码或者哪个地方你搞错了。

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template