PHP Developer Question:
Download Questions PDF

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

PHP Developer Interview Question
PHP Developer Interview Question

Answer:

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

Download PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
How to pass a variable by value?How to send mail using JavaScript?