summaryrefslogtreecommitdiff
path: root/Zend/tests/break_error_002.phpt
blob: afc889d0fd072d07d4cd051acd29ebb21ccc98cb (plain)
1
2
3
4
5
6
7
8
9
10
--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