summaryrefslogtreecommitdiff
path: root/tests/lang/bug29566.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lang/bug29566.phpt')
-rwxr-xr-xtests/lang/bug29566.phpt2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/lang/bug29566.phpt b/tests/lang/bug29566.phpt
index 5f292bd759..16aec8fc73 100755
--- a/tests/lang/bug29566.phpt
+++ b/tests/lang/bug29566.phpt
@@ -12,5 +12,7 @@ foreach($var['nosuchkey'] as $v) {
?>
===DONE===
--EXPECTF--
+Warning: Illegal string offset 'nosuchkey' in %sbug29566.php on line %d
+
Warning: Invalid argument supplied for foreach() in %sbug29566.php on line %d
===DONE===