Differentiate between parameterised and non parameterised functions
Differentiate between parameterised and non parameterised functions
Here is the difference between parameterized and non-parameterized functions in PHP:
Example:
function calculateArea($length, $width) {
$area = $length * $width;
return $area;
}
In this example, $length
and $width
are parameters of the calculateArea()
function.
middle
Gợi ý câu hỏi phỏng vấn
Chưa có bình luận nào