|
1
2
3
4
5
6
7
8
9
10
11
12
13 |
<?php$b=‘12‘;$a=<<<sss<html> <head> </head> <body> <i><b>{$b}</b></i> </body></html>sss; echo
$a;?> |
将HTML段赋值给PHP变量的便捷方法,不使用转义字符,布布扣,bubuko.com
原文:http://www.cnblogs.com/zuoxiaobing/p/3649332.html