Strict Standards: Only variables should be passed by reference

#错误的方法
echo end(explode('.', $filename));

#正确的使用
$array  = explode('.', $filename);
$result = end($array);    //end方法只能接受一个引用(也就是变量,不能将整个表达式放在里面)
原文地址:https://www.cnblogs.com/Skrillex/p/7503948.html