xref: /PHP-8.2/Zend/tests/break_error_001.phpt (revision f8d79582)
1--TEST--
2'break' error (non positive integers)
3--FILE--
4<?php
5function foo () {
6    break 0;
7}
8?>
9--EXPECTF--
10Fatal error: 'break' operator accepts only positive integers in %sbreak_error_001.php on line 3
11