mirror of
https://github.com/php/php-src.git
synced 2024-12-19 15:00:15 +08:00
11 lines
233 B
PHP
11 lines
233 B
PHP
--TEST--
|
|
'break' error (operator with non-integer operand)
|
|
--FILE--
|
|
<?php
|
|
function foo () {
|
|
break $x;
|
|
}
|
|
?>
|
|
--EXPECTF--
|
|
Fatal error: 'break' operator with non-integer operand is no longer supported in %sbreak_error_002.php on line 3
|