Q. What will be the output?
Code:
$x = 5; echo $x++;
β
Correct Answer: (A)
5
Explanation: Post-increment returns value first, then increments.