Junior PHP Developer Question:

Explain me what is the goto statement useful for?

Tweet Share WhatsApp

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 PDF Read All 161 Junior PHP Developer Questions
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?