]> granicus.if.org Git - php/commitdiff
Harden array_column_basic.phpt against resource renumbering.
authorSara Golemon <pollita@php.net>
Mon, 22 Apr 2013 20:36:40 +0000 (13:36 -0700)
committerSara Golemon <pollita@php.net>
Mon, 22 Apr 2013 20:36:40 +0000 (13:36 -0700)
We don't care what resource number it is, so long as there's a
stream resource returned.

ext/standard/tests/array/array_column_basic.phpt

index 8c499107d9a3099ad29a4d865e434ab2a90d62ee..eb267dad7333553e71f68be816c6c8249e502380 100644 (file)
@@ -192,7 +192,7 @@ array(8) {
   [6]=>
   string(3) "Foo"
   [7]=>
-  resource(5) of type (stream)
+  resource(%d) of type (stream)
 }
 array(8) {
   [1]=>
@@ -211,7 +211,7 @@ array(8) {
   [7]=>
   string(3) "Foo"
   [8]=>
-  resource(5) of type (stream)
+  resource(%d) of type (stream)
 }
 
 *** Testing numeric column keys ***