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

11 lines
203 B
PHP

--TEST--
'break' error (non positive integers)
--FILE--
<?php
function foo () {
break 0;
}
?>
--EXPECTF--
Fatal error: 'break' operator accepts only positive integers in %sbreak_error_001.php on line 3