mirror of
https://github.com/php/php-src.git
synced 2024-09-22 10:27:25 +00:00
Drop obsolete test
This commit is contained in:
parent
53351d087d
commit
1b5b839312
@ -1,11 +0,0 @@
|
||||
--TEST--
|
||||
Foreach loop tests - error case: reference to constant array.
|
||||
--FILE--
|
||||
<?php
|
||||
echo "\nReference to constant array\n";
|
||||
foreach (array(1,2) as &$v) {
|
||||
var_dump($v);
|
||||
}
|
||||
?>
|
||||
--EXPECTF--
|
||||
Fatal error: Cannot create references to elements of a temporary array expression in %sforeachLoop.007.php on line %d
|
Loading…
Reference in New Issue
Block a user