From: Nikita Popov Date: Fri, 3 Oct 2014 19:46:14 +0000 (+0200) Subject: Mark three foreach tests as XFAIL X-Git-Tag: PRE_PHP7_REMOVALS~89^2~3 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5831cca9576f4e0d4daed75a9915d436dfc5f4e5;p=php Mark three foreach tests as XFAIL 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. --- diff --git a/tests/lang/foreachLoop.013.phpt b/tests/lang/foreachLoop.013.phpt index 3dec1194ff..b0c5e8dcf5 100644 --- a/tests/lang/foreachLoop.013.phpt +++ b/tests/lang/foreachLoop.013.phpt @@ -1,5 +1,7 @@ --TEST-- Directly modifying an unreferenced array when foreach'ing over it while using &$value syntax. +--XFAIL-- +Needs major foreach changes to get sane behavior --FILE-- string(3) "v.3" -} \ No newline at end of file +} diff --git a/tests/lang/foreachLoop.015.phpt b/tests/lang/foreachLoop.015.phpt index dfba159153..5b12a2b0c2 100644 --- a/tests/lang/foreachLoop.015.phpt +++ b/tests/lang/foreachLoop.015.phpt @@ -1,5 +1,7 @@ --TEST-- Directly modifying a REFERENCED array when foreach'ing over it while using &$value syntax. +--XFAIL-- +Needs major foreach changes to get sane behavior --FILE--