how to write goto statement in php code example Example: php goto <?php goto a; echo 'Foo'; a: echo 'Bar'; ?>