#1 athere
function __construct() 想要构建一个变量$this->StatisticalCode。StatisticalCode用于存在统计代码段。由于统计代码中含有多行,且含有多个单引号和双引号。
请教下有什么方法可以给StatisticalCode赋值,且不会出错。
2012-11-03 16:39:44
2012-11-03 16:39:44
$str = <<Example of string
spanning multiple lines
using heredoc syntax.
EOD;
2012-11-03 17:56:33