<<< Previous question <<< Question ID#0512.md >>> Next question >>>
What is the output of?
function apple(&$apples = 4) {
$apples = $apples / 2;
return $apples;
}
$apples = 10;
apple($apples);
echo $apples;
- A) 5
- B) 10
- C) 2
- D) null
Answer
Answer: A