Medium
What is the output of the following code ?
function addNumbers(float $a, float $b) : int {
return (int)($a + $b);
}
echo addNumbers(1.7, 5.2);
Author: ThéoStatus: PublishedQuestion passed 1776 times
Edit
2
Community EvaluationsNo one has reviewed this question yet, be the first!
Similar QuestionsMore questions about PHP