问答详情
源自:2-10 上传文件

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

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");


提问者:潘伟健 2015-01-27 20:20

个回答

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

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

    ^-^...