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

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

 更新時間:2009年05月21日 12:57:47   作者:  
配對標記名的結(jié)尾標記名應單獨一行,前后均不允許輸出字符...(例如空格等不可見但存在的字符..)
我寫段php代碼如下:
復制代碼 代碼如下:

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

如上寫法是不可以的,需要把EOF標識符頂格:
復制代碼 代碼如下:

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

相關文章

最新評論