Return Statements
Lesson 19Author : 🦒
Last Updated : November, 2017
Code
function addNumbers($num1, $num2=99){
return $num1 + $num2;
}
$sum = addNumbers(4, 3);
echo $sum;
function addNumbers($num1, $num2=99){
return $num1 + $num2;
}
$sum = addNumbers(4, 3);
echo $sum;