mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
13 lines
186 B
PHP
13 lines
186 B
PHP
--TEST--
|
|
'break' error (wrong level)
|
|
--FILE--
|
|
<?php
|
|
function foo () {
|
|
while (1) {
|
|
break 2;
|
|
}
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: Cannot 'break' 2 levels in %sbreak_error_004.php on line 4
|