mirror of
https://github.com/php/php-src.git
synced 2024-12-12 11:23:53 +08:00
11 lines
201 B
PHP
11 lines
201 B
PHP
--TEST--
|
|
'break' error (non positive numbers)
|
|
--FILE--
|
|
<?php
|
|
function foo () {
|
|
break 0;
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: 'break' operator accepts only positive numbers in %sbreak_error_001.php on line 3
|