php-src/Zend/tests/break_error_002.phpt
2018-07-04 03:04:31 +02:00

11 lines
233 B
PHP

--TEST--
'break' error (operator with non-integer operand)
--FILE--
<?php
function foo () {
break $x;
}
?>
--EXPECTF--
Fatal error: 'break' operator with non-integer operand is no longer supported in %sbreak_error_002.php on line 3