如果用HTML注释,虽然不会在网页显示出来,但程序还是执行了PHP代码。
区块注释又对HTML没用。
区块注释又对HTML没用。
|
infongAug 5, 2012
1
删除。。。
之前有用 if(FALSE){ xxx } |
|
zhaiduoAug 5, 2012
2
cut到新的文件做include,然后注释include
|
|
jyboxAug 5, 2012
3
<? if(0):?>
各种代码 <? endif;?> |
|
ipconfigerAug 5, 2012
5
有SVN或者Git神马的就直接删掉呗
|
|
holystrikeAug 5, 2012
7
<?php while(false):?>
any code <?php endwhile;?> |
|
dongbetaAug 6, 2012
8
IDE
|