summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/simplexml/tests/bug38347.phpt2
-rw-r--r--ext/spl/tests/iterator_035.phpt2
-rw-r--r--tests/classes/bug27468.phpt2
-rwxr-xr-xtests/lang/bug27439.phpt2
4 files changed, 5 insertions, 3 deletions
diff --git a/ext/simplexml/tests/bug38347.phpt b/ext/simplexml/tests/bug38347.phpt
index c25fccea24..0ea7b5d2fe 100644
--- a/ext/simplexml/tests/bug38347.phpt
+++ b/ext/simplexml/tests/bug38347.phpt
@@ -24,5 +24,5 @@ SimpleXMLElement Object
(
)
-Warning: iterate(): Node no longer exists in %s on line %d
+Warning: Invalid argument supplied for foreach() in %sbug38347.php on line 6
Done
diff --git a/ext/spl/tests/iterator_035.phpt b/ext/spl/tests/iterator_035.phpt
index 4fe70cb80c..9dfe35d5f4 100644
--- a/ext/spl/tests/iterator_035.phpt
+++ b/ext/spl/tests/iterator_035.phpt
@@ -14,6 +14,4 @@ $a[] = &$tmp;
echo "Done\n";
?>
--EXPECTF--
-Notice: Indirect modification of overloaded element of ArrayIterator has no effect in %siterator_035.php on line 7
-
Fatal error: Cannot assign by reference to overloaded object in %s on line %d
diff --git a/tests/classes/bug27468.phpt b/tests/classes/bug27468.phpt
index 971273224d..f7ec8b6882 100644
--- a/tests/classes/bug27468.phpt
+++ b/tests/classes/bug27468.phpt
@@ -11,5 +11,7 @@ new foo();
echo 'OK';
?>
--EXPECTF--
+Notice: Undefined property: foo::$x in %sbug27468.php on line 4
+
Warning: Invalid argument supplied for foreach() in %sbug27468.php on line 4
OK
diff --git a/tests/lang/bug27439.phpt b/tests/lang/bug27439.phpt
index 81ff934069..9404b6921c 100755
--- a/tests/lang/bug27439.phpt
+++ b/tests/lang/bug27439.phpt
@@ -65,6 +65,8 @@ echo "===DONE===";
?>
--EXPECTF--
123
+Notice: Undefined property: test::$foobar in %s on line %d
+
Warning: Invalid argument supplied for foreach() in %s on line %d
Warning: Invalid argument supplied for foreach() in %s on line %d