Well done!

You have completed Working with Functions!

Quiz Question 1 of 8

What does the following code display?

$x = 1;

function sum_two_numbers($x,$y) {
    $z = $x + $y;
    return $z;
}

$y = sum_two_numbers(2,3);
echo $y;

Choose the correct answer below:

Skip Quiz Review Video