Even i didn't put a semicolon why the output is ABC? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 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
1 ответ
+ 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