header('Content-Type:text/html;charset=UTF-8'); echo 'ffff'.print('hehe').print_r('s');
上面例子在浏览器中返回结果为:shehe1ffff1,可是为什么会这样呢?
优先级问题 print返回值是1
digpage.com 可以带你深入理解 Yii2