Even i didn't put a semicolon why the output is ABC? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 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 Réponse
+ 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