xref: /php-src/Zend/tests/jump/jump08.phpt (revision 275f63e7)
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