<<< Previous question <<< Question ID#0653.md >>> Next question >>>
What is the output of the following code?
function byReference(&$variable = 0){
echo ++$variable;
}
byReference();
byReference();
- A) 11
- B) an error
- C) 01
- D) 12
Answer
Answer: A