Home > Backend Development > PHP Tutorial > 三个尖括号,<<< 是啥意思啊该如何处理

三个尖括号,<<< 是啥意思啊该如何处理

不言
Release: 2023-02-28 13:04:02
Original
3280 people have browsed it

  三个尖括号,<<< 是啥意思啊
如题,就是下面的<<<<看着有点注释的感觉,又感觉不像是注释,拜托哪位能给解释下吗?谢谢。感觉有点要保证HTML结构的意思。谢谢
$entry_display .= <<

<p class="admin_link">
<a href="{$_SERVER[&#39;PHP_SELF&#39;]}?admin=1">Add a New Entry</a>
</p>
ADMIN_OPTION;
///////////////////////////////
$entry_display .= <<<ENTRY_DISPLAY
<p class="post">
<h2>
$title
</h2>
<p>
$bodytext
</p>
</p>
ENTRY_DISPLAY;
Copy after login

------解决方案--------------------
代码段的意思!
------解决方案--------------------

  • PHP code
  • $somevar = <<<someword     put your code or words heresomeword;
    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