xref: /PHP-7.0/Zend/tests/break_error_002.phpt (revision a16aa4c4)
1--TEST--
2'break' error (operator with non-constant operand)
3--FILE--
4<?php
5function foo () {
6	break $x;
7}
8?>
9--EXPECTF--
10Fatal error: 'break' operator with non-constant operand is no longer supported in %sbreak_error_002.php on line 3
11