$sql=<<<EOTsql语句.EOT;
<<< EOT
......
EOT;
自定义文本定界符
请参考heredoc的用法:http://blog.csdn.net/misakaqunianxiatian/article/details/47975651
Heredoc
Heredoc
相当于双引号
请参考heredoc的用法:http://blog.csdn.net/misakaqunianxiatian/article/details/47975651
<?php$v=2; $a= <<<EOF "abc"$v "123" EOF; echo $a;?>