php报错:Strict Standards: Only variables should be passed by reference in...

我的报错代码

DB::unDB($_result = null , $_db);

改成下面这种写法就不报错了。(和php版本有关系)

$_result = null;
DB::unDB($_result , $_db);

 

posted @ 2015-10-09 21:36  hereim  阅读(227)  评论(0)    收藏  举报