From 5831cca9576f4e0d4daed75a9915d436dfc5f4e5 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 3 Oct 2014 21:46:14 +0200 Subject: [PATCH] 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. --- tests/lang/foreachLoop.013.phpt | 2 ++ tests/lang/foreachLoop.014.phpt | 4 +++- tests/lang/foreachLoop.015.phpt | 2 ++ 3 files changed, 7 insertions(+), 1 deletion(-) 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--