我如何用php写出这个?(我将使用>;>;打印内容)
我记得不久前我用了这样一种方法来打印内容,所以我不必每次都用斜杠引用我如何用php写出这个?(我将使用>;>;打印内容),php,Php,我记得不久前我用了这样一种方法来打印内容,所以我不必每次都用斜杠引用 >> some text here "and more text something; 那叫什么?它看起来怎么样 谢谢 我要写下:你在说什么。例如: $str = <<<EOD Example of string spanning multiple lines using heredoc syntax. EOD; $str=您正在谈论的。例如: $str = <<<
>>
some text here "and more text
something;
那叫什么?它看起来怎么样
谢谢
我要写下:你在说什么。例如:
$str = <<<EOD
Example of string
spanning multiple lines
using heredoc syntax.
EOD;
$str=您正在谈论的。例如:
$str = <<<EOD
Example of string
spanning multiple lines
using heredoc syntax.
EOD;
$str=这就是PHP。手册页面上有一个示例:
<?php
class foo {
public $bar = <<<EOT
bar
EOT;
}
?>
herdoc以PHP开头。手册页面上有一个示例:
<?php
class foo {
public $bar = <<<EOT
bar
EOT;
}
?>
heredoc以YES!!谢谢,谢谢。。记得起来太模糊了。是的!!谢谢,谢谢。。记得起来太模糊了。可能重复的PHP表达式可能重复的PHP表达式