在php5中使用内联字符串与串联的速度差异?
(假设php5)考虑
<?php $foo = 'some words'; //case 1 print "these are $foo"; //case 2 print "these are {$foo}"; //case 3 print 'these are ' . $foo;?>
1和2之间有很大差异吗?
如果没有,那么在1/2和3之间呢?
米脂
相关分类