PHP heredoc 报错问题
来源:互联网 发布:数据挖掘工程师薪资 编辑:程序博客网 时间:2024/05/12 11:22
<?phpecho <<< HTML<form action="process.php" method="post"> <input type ="submit" value="通过"> 输入拒绝信息:<input type="text" name="refuseinformation"> <input type ="submit" value="拒绝"></form>HTML;?>
与
<?phpecho <<< HTML<form action="process.php" method="post"> <input type ="submit" value="通过"> 输入拒绝信息:<input type="text" name="refuseinformation"> <input type ="submit" value="拒绝"></form>HTML;
后者将会报错,
原因:当HEREDOC在PHP最后时,PHP的闭合标签不能隐藏。否则会报错。
0 0
- PHP heredoc 报错问题
- php heredoc
- Heredoc.php
- PHP HEREDOC
- php heredoc
- php heredoc使用方法小结
- PHP中的Heredoc详解
- 详解heredoc (PHP)
- php中heredoc技术
- PHP拾忆:heredoc
- php heredoc用法注意事项
- php heredoc 与 nowdoc
- PHP heredoc 用法
- PHP heredoc技术
- 113 php heredoc noredoc
- HEREDOC php
- php heredoc 与 nowdoc
- php heredoc 用法
- Android开源网络框架Retrofit(入门篇)
- 春秋争霸第一关
- 1、ElasticSearch源码学习分享:ElasticSearch版本控制
- Java输入输出流--文件
- Python-OpenCV教程-4
- PHP heredoc 报错问题
- matlab 快捷键
- 第1章Cucumber简介与环境设置
- stl——优先队列
- snapdraon 开发笔记 20161212
- json 知识点
- poj1753——Flip Game(枚举+dfs)
- R语言 MCMC算法及其实现
- 单链表的基本操作