summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xext/spl/tests/iterator_049.phpt4
-rwxr-xr-xext/spl/tests/iterator_049b.phptbin0 -> 616 bytes
2 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/tests/iterator_049.phpt b/ext/spl/tests/iterator_049.phpt
index 9a5d4029f8..8e25643809 100755
--- a/ext/spl/tests/iterator_049.phpt
+++ b/ext/spl/tests/iterator_049.phpt
@@ -6,14 +6,14 @@ SPL: ArrayIterator with NULL key
<?php
$ar = new ArrayIterator(array(NULL=>NULL));
-var_dump($ar);
+@var_dump($ar);
var_dump($ar->getArrayCopy());
?>
===DONE===
<?php exit(0); ?>
--EXPECTF--
-object(ArrayIterator)#1 (1) {
+object(ArrayIterator)#%d (1) {
[""]=>
NULL
}
diff --git a/ext/spl/tests/iterator_049b.phpt b/ext/spl/tests/iterator_049b.phpt
new file mode 100755
index 0000000000..9b894cd1c1
--- /dev/null
+++ b/ext/spl/tests/iterator_049b.phpt
Binary files differ