<<< Previous question <<< Question ID#0597.md >>> Next question >>>
What is the output of the following function?
function &find_variable(&$one, &$two, &$three) {
if ($one > 95 && $one < 100) return $one;
if ($two > 10 && $two < 20) return $two;
if ($three > 1 && $three < 100) return $three;
}
$one = 90;
$two = 60;
$three = 89;
$var = &find_variable($one, $two, $three);
$var++;
echo "$one - $two - $three";
- A) 90 - 60 - 90
- B) 91 - 61 - 91
- C) 91 - 60 - 89
- D) 90 - 61 - 89
Answer
Answer: A