欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

php print EOF實(shí)現(xiàn)方法

 更新時(shí)間:2009年05月21日 12:57:47   作者:  
配對(duì)標(biāo)記名的結(jié)尾標(biāo)記名應(yīng)單獨(dú)一行,前后均不允許輸出字符...(例如空格等不可見(jiàn)但存在的字符..)
我寫(xiě)段php代碼如下:
復(fù)制代碼 代碼如下:

<?
if(test case)
print<<<EOT
<....html code....>
EOF;
else
print<<<EOT
<....html code....>
EOF;
?>

如上寫(xiě)法是不可以的,需要把EOF標(biāo)識(shí)符頂格:
復(fù)制代碼 代碼如下:

<?
if(test case)
print<<<EOT
<....html code....>
EOF;
else
print<<<EOT
<....html code....>
EOF;
?>

相關(guān)文章

最新評(píng)論