The "language construct" you mentioned is "languageconstruct" in English. It is the meaning of language composition. It is a bit confusing to translate it into a language constructor.
The "language construct" you mentioned is "language construct" in English. It is a bit confusing to translate it into a language constructor.
PHP contains several special keywords, such as echo, print, die, and require. Although they are used as functions, they are actually similar to control statements like if and while, rather than a function. That is, when the interpreter encounters:
The Code is as follows:
Print 'Hello world ';
In such an expression, it is not converted into a function call, but directly mapped to a series of pre-defined operations. When using the language structure, you can add brackets, Hong Kong virtual host, or no brackets, but you must add brackets when using functions.
The variable function you mentioned is variable function. translating it into a variable function is also a little distorted) the term is translated according to the meaning of the adjective (variable. The Variable function in PHP is a function with the same name and value as the Variable if a pair of parentheses is added to the Variable. If the Variable is found, the interpreter tries to execute it. For example, if there is a function foo (), you can use the following method to call this function:
The Code is as follows:
// Initialize a string variable
$ Func = 'foo ';
// Find the function with the same name as this string and execute it
$ Func ();
Therefore, the meaning of the sentence you mentioned is that using a variable function to call a language is not allowed. The American space is as follows:
The Code is as follows:
$ Func = 'print ';
// This will cause an exception because print is not a function but a component of the language.
$ Func ('Hello World ');
When you run this code, an exception occurs. The Hong Kong server is rented and the function print is not defined.