]> granicus.if.org Git - php/commitdiff
Replacing explicit object ID with %d
authorZoe Slattery <zoe@php.net>
Fri, 17 Oct 2008 15:05:31 +0000 (15:05 +0000)
committerZoe Slattery <zoe@php.net>
Fri, 17 Oct 2008 15:05:31 +0000 (15:05 +0000)
ext/spl/tests/array_001.phpt

index 3ba33ba746e3e9c9e04bc0f864c8a3b447855199..42bab88a50d2f69c536f536ff689944211c6b744 100755 (executable)
@@ -36,7 +36,7 @@ var_dump($ar);
 ===DONE===
 <?php exit(0); ?>
 --EXPECTF--
-object(ArrayObject)#1 (1) {
+object(ArrayObject)#%d (1) {
   [u"storage":u"ArrayObject":private]=>
   array(2) {
     [0]=>
@@ -62,7 +62,7 @@ array(6) {
   int(5)
 }
 unicode(1) "a"
-object(ArrayObject)#1 (1) {
+object(ArrayObject)#%d (1) {
   [u"storage":u"ArrayObject":private]=>
   array(5) {
     [0]=>
@@ -88,7 +88,7 @@ NULL
 Notice: Undefined offset:  7 in %sarray_001.php on line %d
 
 Notice: Undefined index:  c in %sarray_001.php on line %d
-object(ArrayObject)#1 (1) {
+object(ArrayObject)#%d (1) {
   [u"storage":u"ArrayObject":private]=>
   array(2) {
     [0]=>
@@ -97,7 +97,7 @@ object(ArrayObject)#1 (1) {
     int(2)
   }
 }
-object(ArrayObject)#1 (1) {
+object(ArrayObject)#%d (1) {
   [u"storage":u"ArrayObject":private]=>
   array(4) {
     [0]=>