分类分类
2015-05-28 14:14作者:sa
环境:php5.4 + mysql 5.5
错误警告:Strict Standards: Only variables should be passed by reference in D:wwwApache2.2htdocsecshopincludescls_template.php on line 418
找到418行代码:$tag_sel = array_shift(explode(' ', $tag));
--------------------------------------------------------
解决办法:将该行代码分开写成两行即可
$tag_arr = explode(' ',$tag);
$tag_sel = array_shift($tag_arr);
相关