This article mainly introduces the usage of functions with variable number of parameters defined in PHP. The examples analyze the usage skills of func_get_args, with Be sure to refer to the reference value. Friends who need it can refer to it
The example in this article describes the usage of functions with variable number of parameters defined in PHP. Share it with everyone for your reference. The specific analysis is as follows:
The function parameters in php do not need to be fixed, and there is no need to even define parameters. Use the func_get_args() function inside the function to obtain the parameter list. You can specify any parameters for the function when calling, which is very convenient
?
3 4 513 |
"; ?> |