PHP头条
热点:

phpprintEOF实现方法


我写段php代码如下:
代码如下:
if(test case)
print<<<....html code....>
EOF;
else
print<<<....html code....>
EOF;
?>

如上写法是不可以的,需要把EOF标识符顶格:
代码如下:
if(test case)
print<<<....html code....>
EOF;
else
print<<<....html code....>
EOF;
?>

www.phpzy.comtrue/phpyy/15342.htmlTechArticlephpprintEOF实现方法 我写段php代码如下: 代码如下: if(test case) print EOF; else print EOF; ?> 如上写法是不可以的,需要把EOF标识符顶格: 代码如下: if(test case) print EOF; else print EOF; ?>...

相关文章

相关频道:

PHP之友评论

今天推荐