Interview Questions

When are you supposed to use endif to end the conditional statement?

PHP Interview Questions and Answers


(Continued from previous question...)

When are you supposed to use endif to end the conditional statement?

When the original if was followed by : and then the code block without braces.

(Continued on next question...)

Other Interview Questions