mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
11 lines
203 B
PHP
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
|