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