What is the correct way to end a PHP statement?
-
A
. (dot)
-
B
; (semicolon)
Correct answer
-
C
: (colon)
-
D
, (comma)
Correct answer
B. ; (semicolon)
17 views
Explanation
All PHP statements must end with a semicolon (;).
Doubts & discussion
Not sure why the answer is B? Ask here and get an explanation.
Ask a doubt about this MCQ