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 的注释和结束符号之间的关系
猜你喜欢
转载自www.cnblogs.com/china-flint/p/9589259.html
今日推荐
周排行