diff --git a/ext/simplexml/tests/bug38347.phpt b/ext/simplexml/tests/bug38347.phpt index feada2f4203..ca613e4b67c 100644 --- a/ext/simplexml/tests/bug38347.phpt +++ b/ext/simplexml/tests/bug38347.phpt @@ -24,12 +24,5 @@ SimpleXMLElement Object ( ) -Warning: iterate(): Node no longer exists in %s on line %d -Done ---UEXPECTF-- -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 4fe70cb80cb..9dfe35d5f4b 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 971273224dd..f7ec8b68823 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 81ff9340699..9404b6921c6 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