Home > Article > Backend Development > PHP introductory tutorial (7) PHP functions
2, function - add parameters The first function is a very simple function. It can only output a static string. Add more functionality to the function by adding parameters. A parameter is like a variable. example:
3. Function - return value Functions can also be used to return values.
output: 4+26=30 >> View more php introductory tutorials |