xref: /PHP-7.2/Zend/tests/jump07.phpt (revision 610c7fbe)
1--TEST--
2jump 07: goto into loop (backward)
3--FILE--
4<?php
5while (0) {
6	L1: echo "bug\n";
7}
8goto L1;
9?>
10--EXPECTF--
11Fatal error: 'goto' into loop or switch statement is disallowed in %sjump07.php on line 5
12