环境:php5.4 + mysql 5.5
错误警告:Strict Standards: Only variables should be passed by reference in D:\www\Apache2.2\htdocs\ecshop\includes\cls_template.php on line 418
找到418行代码:$tag_sel = array_shift(explode(' ', $tag));
--------------------------------------------------------
解决办法:将该行代码分开写成两行即可
$tag_arr = explode(' ',$tag);
$tag_sel = array_shift($tag_arr);
![安装ECSHOP错误,Strict Standards: Only variables should be passed by reference - php之路 - php学习,SEO及二次开发](http://img9.ph.126.net/Y2NOpyTb4ZyPiUdt6NFEAA==/6597748165330908879.jpg)