]> granicus.if.org Git - php/commitdiff
- MFH Update tests
authorMarcus Boerger <helly@php.net>
Mon, 24 Jul 2006 23:41:09 +0000 (23:41 +0000)
committerMarcus Boerger <helly@php.net>
Mon, 24 Jul 2006 23:41:09 +0000 (23:41 +0000)
ext/spl/tests/iterator_049.phpt
ext/spl/tests/iterator_049b.phpt [new file with mode: 0755]

index 9a5d4029f8db6eb050c236b1edff5a2de56c650e..8e256438094c9a6117a59bc3239ef37902459461 100755 (executable)
@@ -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 (executable)
index 0000000..9b894cd
Binary files /dev/null and b/ext/spl/tests/iterator_049b.phpt differ