$ext=strtolower(end(explode(".", $val)));
end();函数的php文档的介绍:The array. This array is passed by reference because it is modified by the function. This means you must pass it a real variable and not a function returning an array because only actual variables may be passed by reference.
我看的意思是不能通过函数返回数组,为什么这么写可以呢。
$ext=strtolower(end(explode(".", $val)));这段代码在index.php的325行。
求解!!谢谢!