问题描述
我知道这将是直截了当的,但也无法搜索...
I know this is going to be straight forward but its also impossible to search for...
这3个箭头的正确的术语/名称是什么-例如
what is the correct term / name for this 3 arrow thing - e.g.
<<< HTML
谢谢!
推荐答案
结束标识符必须从该行的第一列开始.此外,标识符必须与PHP中的任何其他标签遵循相同的命名规则:标识符必须仅包含字母数字字符和下划线,并且必须以非数字字符或下划线开头.
The closing identifier must begin in the first column of the line. Also, the identifier must follow the same naming rules as any other label in PHP: it must contain only alphanumeric characters and underscores, and must start with a non-digit character or underscore.
如果此规则被破坏并且结束标识符不是干净的",它将不被视为结束标识符,PHP将继续寻找一个.如果在当前文件末尾之前找不到合适的结束标识符,则会在最后一行产生解析错误.
If this rule is broken and the closing identifier is not "clean", it will not be considered a closing identifier, and PHP will continue looking for one. If a proper closing identifier is not found before the end of the current file, a parse error will result at the last line.
Heredocs不能用于初始化类属性.从PHP 5.3开始,此限制仅对包含变量的heredocs有效...
Heredocs can not be used for initializing class properties. Since PHP 5.3, this limitation is valid only for heredocs containing variables...
这篇关于“<<<"的名称是什么?操作员?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!