PHP Add
function add($param1, $param2) {
return $param1 + $param2;
}
This just adds the two input numbers with the language’s normal arithmetic and returns the sum.
function add($param1, $param2) {
return $param1 + $param2;
}
This just adds the two input numbers with the language’s normal arithmetic and returns the sum.