php php 的注释和结束符号之间的关系
Posted 熊二
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php php 的注释和结束符号之间的关系相关的知识,希望对你有一定的参考价值。
Closing php tags are recognised within single-line comments:
<?php
// Code will end here ?> This is output as literal text.
<?php
# Same with this method of commenting ?> This is output as literal text.
However they do not have an effect in C-style comments:
<?php
/* Code will not end here ?> as closing tags are ignored inside C-style comments. */
?>
以上是关于php php 的注释和结束符号之间的关系的主要内容,如果未能解决你的问题,请参考以下文章