Well,
$xml = "l
vv";
Works.
You can also use the following:
$xml = "l
vv";
or
$xml = <<<XML
l
vv
XML;
Edit based on comment:
You can concatenate strings using the .=
operator.
$str = "Hello";
$str .= " World";
echo $str; //Will echo out "Hello World";
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…