head>
}
name();//No parameter function call
function name($age,$height){
print "This is a parameterized function
";
echo "Height".$height.",Age:".$age."CM";
}
name(20,170);
/*
The following These are some knowledge points recorded by newcomers’ self-study. If the masters don’t like it, please don’t comment.
There are two main types of output statements in PHP;
1: print, output a single variable or string;
2: echo, output multiple variables or strings, and the execution efficiency is better than print Much faster.
3: PHP is a weakly typed language;
4: Loops, judgments, and branch selection statements in PHP are similar to those in C# and js;
5: The array naming method is a bit unique:;172,"weight"=>60);
The index does not necessarily start from [0], but the "age", "height" and "weight" defined by ourselves;
If you want to get the elements in the array, you can only use $man["age"], $man["height"], $man["height"];
*/
? >