这是关于它的说明:
It is very important to note that the line with the closing identifier contains no other characters, except possibly a semicolon (;). That means especially that the identifier may not be indented, and there may not be any spaces or tabs after or before the semicolon. Probably the nastiest gotcha is that there may also not be a carriage return (\r) at the end of the line, only a form feed, AKA newline (\n). Since Microsoft Windows uses the sequence \r\n as a line terminator, your heredoc may not work if you write your script in a Windows editor. However, most programming editors provide a way to save your files with a UNIX line terminator.
It is very important to note that the line with the closing identifier contains no other characters, except possibly a semicolon (;). That means especially that the identifier may not be indented, and there may not be any spaces or tabs after or before the semicolon. Probably the nastiest gotcha is that there may also not be a carriage return (\r) at the end of the line, only a form feed, AKA newline (\n). Since Microsoft Windows uses the sequence \r\n as a line terminator, your heredoc may not work if you write your script in a Windows editor. However, most programming editors provide a way to save your files with a UNIX line terminator.
解决方案 »
- php ie下面session丢失(急)
- xampp问题
- 一个类似base64编码的数据 是什么格式
- <b>Parse error</b>: syntax error, unexpected T_STRING in <b>/usr/local/waf7-we
- 为什么我吧 文档编码 和字符编码 从GBK转换成UTF8 以后所有页面与顶端又有空隙?
- redhat下mysql的安装问题
- 怎样将一个表中的数据一一对应的导入另一个表中
- PHP做标签
- 如何去处字符串中的各种符号
- 如何知道一个目录下又多少个文件?
- 感觉这里好象没有一个人能回答这个问题,唉~
- setcookie函数说建立cookie ,我在我cookie中怎么看不到?
好像是end不是eod
echo打印end与end之间的内容
这是PHP的一种字符串表示法.
以 <<<自定义单词 开头,并以同样的方式结尾.注意,结尾的单词一定要在行首.