$ _ FILE

Source: Internet
Author: User
$ _ FILE: $ _ FILE () whether the format is system function or pre-defined variable. I think the php Manual is a pre-defined variable, but some course lecturers talk about system functions, who is right? Shared to: $ _ FILE
$ _ FILE () is this format a system function or a predefined variable. I think the php Manual is a predefined variable. but some course lecturers talk about system functions. who is the correct one?

Share:


------ Solution --------------------
$ _ FILE: how can it be a system function? it is a pre-defined array. First, let's clarify what a function is and what a variable is!
------ Solution --------------------
Pre-defined variables, of course, the manual is correct
Even if the translation is inaccurate, it cannot be translated as a "function"
------ Solution --------------------
I don't understand what you mean by passing parameters. can you give an example to illustrate the example of passing parameters in detail?

If you are talking about the format $ _ FILE ['tmp '], it is not to pass the parameter, but to get the value of the tmp element in the array.
------ Solution --------------------
The input parameter!
------ Solution --------------------
The landlord is a bit talkative. the above two have already explained clearly. We recommend that you flip through the manual.
------ Solution --------------------
Reference:
Quote: reference:

The landlord is a bit talkative. the above two have already explained clearly. We recommend that you flip through the manual.

Newbie, I don't know much about it, so I need to figure it out!


The concept of parameters is usually associated with functions. in the scope of php source code, $ a ['B'] cannot be counted as passing parameters because it is an element operation and not a function call. However, when it comes to the scope that the source code will be executed by the php execution engine, $ a ['B'] is also implemented by functions at the underlying layer, which can also be counted as passing parameters.
------ Solution --------------------
Predefined variables

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.