mirror of
https://github.com/php/php-src.git
synced 2024-12-13 20:05:26 +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
|