通过使用语法,无涯教程可以通过PHP脚本显示HTML元素。
<<<name of string
//content
name of string
<?php echo <<<Learnfk welcome to the best tutorial site Learnfk; ?>
输出:
另存为string.php
链接:https://www.learnfk.comhttps://www.learnfk.com/php/php-heredoc-syntax.html
来源:LearnFk无涯教程网
输出:
祝学习愉快!(内容编辑有误?请选中要编辑内容 -> 右键 -> 修改 -> 提交!)
Tony Bai · Go语言第一课 -〔Tony Bai〕