]> granicus.if.org Git - php/commitdiff
Mark three foreach tests as XFAIL
authorNikita Popov <nikic@php.net>
Fri, 3 Oct 2014 19:46:14 +0000 (21:46 +0200)
committerNikita Popov <nikic@php.net>
Fri, 3 Oct 2014 20:02:02 +0000 (22:02 +0200)
A lot of work is needed to properly handle all foreach edge cases,
which is not going to happen anytime soon. So marking these tests
as XFAIL for now.

tests/lang/foreachLoop.013.phpt
tests/lang/foreachLoop.014.phpt
tests/lang/foreachLoop.015.phpt

index 3dec1194ff0834d1d6e2347ffa791e6602893fcc..b0c5e8dcf51c195119a714bf47331cafade04520 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--\r
 Directly modifying an unreferenced array when foreach'ing over it while using &$value syntax.\r
+--XFAIL--\r
+Needs major foreach changes to get sane behavior\r
 --FILE--\r
 <?php\r
 \r
index ab3c657715d7becba6ec9f2905f9a6b2dad9d8f5..d32ea635fda7fc8cf5a10bcd0c19a26d7c2835cb 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--\r
 Directly modifying a REFERENCED array when foreach'ing over it.\r
+--XFAIL--\r
+Needs major foreach changes to get sane behavior\r
 --FILE--\r
 <?php\r
 \r
@@ -553,4 +555,4 @@ array(10) {
   string(3) "v.2"\r
   [9]=>\r
   string(3) "v.3"\r
-}
\ No newline at end of file
+}\r
index dfba1591534e0a0982293169d5cd229802687d9b..5b12a2b0c269f317c2c3805794ccf14db49a59e2 100644 (file)
@@ -1,5 +1,7 @@
 --TEST--\r
 Directly modifying a REFERENCED array when foreach'ing over it while using &$value syntax.\r
+--XFAIL--\r
+Needs major foreach changes to get sane behavior\r
 --FILE--\r
 <?php\r
 \r