semicolon in php | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

semicolon in php

why it is not necessary to put ; at the end of just one statement.

20th Mar 2022, 6:03 AM
عبدالله أزهر
عبدالله أزهر - avatar
1 Answer
+ 1
Semicolon ';' tells php that 'one statement has ended and now start next statement'
20th Mar 2022, 6:11 AM
Arnav Gumber
Arnav Gumber - avatar