PHP - Type Handling
What will be the output of this PHP code?
function multiply(int $x, int $y): int {
return $x * $y;
}
echo multiply(3, '4 apples');function multiply(int $x, int $y): int {
return $x * $y;
}
echo multiply(3, '4 apples');15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions