Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Explain me what is the goto statement useful for?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

The goto statement can be placed to enable jumping inside the PHP program. The target is pointed by a label followed by a colon, and the instruction is specified as a goto statement followed by the desired target label.

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell us what does $_COOKIE means?Tell me how can we determine whether a PHP variable is an instantiated object of a certain class?