xref: /PHP-8.0/Zend/tests/jump07.phpt (revision f8d79582)
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