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