Strict standards: Only variables should be passed by reference in E:\wamp\www\fileManager\index.php on line 324

来源:2-10 上传文件

潘伟健

2015-01-27 20:20

Strict standards: Only variables should be passed by reference in E:\XAMPP\wamp\www\fileManager\index.php on line 324

324行代码:

$ext=strtolower(end(explode(".",$val)));

$imageExt=array("gif","jpg","jpeg","png");


写回答 关注

1回答

  • King
    2015-01-30 15:22:39

    嗯 这是因为PHP5.4以后加入了严格校验,只有变量可以当作引用被传递

    ^-^...

WEB在线文件管理器

通过本课程文件目录函数库的学习,让你掌握文件、目录函数库的应用

36235 学习 · 334 问题

查看课程

相似问题