mirror of
https://github.com/php/php-src.git
synced 2024-12-02 22:34:55 +08:00
11 lines
201 B
PHP
11 lines
201 B
PHP
--TEST--
|
|
'break' error (not in the loop context)
|
|
--FILE--
|
|
<?php
|
|
function foo () {
|
|
break;
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: 'break' not in the 'loop' or 'switch' context in %sbreak_error_003.php on line 3
|