全局变量这里为啥这样写呢

WBOY
Release: 2016-06-23 14:39:10
Original
936 people have browsed it

本帖最后由 lghyt 于 2013-12-08 17:46:08 编辑

 

uploadFile('$__FILES["spic"])  //这么写我理解

uploadFile('spic')             //但这样写我就晕了,为什么这样?因为在我的概念中,函数里后面的括号里只能放变量$

注:uploadFile是一个自定义的函数。

回复讨论(解决方案)

既然 uploadFile是一个自定义的函数 那么你就看他里面是怎么写的就是了
你的函数,别人又不知道

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!