0
Can someone please explain why did the output came out to be ABBC in this question?
echo 'A'. $b='B'; echo 'B'; echo 'C';
1 Answer
+ 2
I just realised that the first line of the code ends in ' . ' & not ' ; ' . Because of the PHP concatenation operator '.', the output was coming out to be ABBC.