+ 5

Even i didn't put a semicolon why the output is ABC?

It must have given a error? https://code.sololearn.com/w1qzkemPp1HB/?ref=app

30th Apr 2019, 4:33 AM
Priyanka Bharti
Priyanka Bharti - avatar
2 Answers
+ 2
semicolon used as sign where statement/operation ends. without it php will see the next statement as part of its previous statement (cmiiw) your code doesnt produce any error because its the last statement in the code.
30th Apr 2019, 4:41 AM
Taste
Taste - avatar