header('Content-Type:text/html;charset=UTF-8'); echo 'ffff'.print('hehe').print_r('s');
上面例子在浏览器中返回结果为:shehe1ffff1,可是为什么会这样呢?
优先级问题 print返回值是1
如果你想寻找 PHP 的三方库,请上 https://packagist.org/ 或在 https://github.com 上面寻找。