& Amp; lt; operator in PHP. In PHP, the php operator PHP provides an operator to construct a multi-line string sequence, which is usually called here-document or abbreviated as heredoc. This method details the < <运算符,php中运算符
PHP provides < <运算符构建多行字符串序列的方法,通常称为here-document或表示为heredoc的简写。< p> This method details the literal value of a string and retains the underline and other spaces (including indentation) of the string in the text ). For example:
1
The PHP parser outputs all the content in the middle of the two _ END labels, which is equivalent to a string referenced by double quotation marks. This means that we can write the entire HTML language directly in the PHP code, and then use the PHP variable to replace the specific dynamic part.
1
You can also assign the values of the two tags to the variables in this way. Note: the _ END label used to close must be placed on a single line, and other content cannot be added to this line, even if comments or spaces are not allowed.
Pipeline PHP provides an operator to construct a multi-line string sequence, usually called here-document or abbreviated as heredoc. This method is described in detail...