From: Sara Golemon Date: Mon, 22 Apr 2013 20:36:40 +0000 (-0700) Subject: Harden array_column_basic.phpt against resource renumbering. X-Git-Tag: php-5.5.0beta4~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f63db963c48775e89e7d5f63235733098c2f653d;p=php Harden array_column_basic.phpt against resource renumbering. We don't care what resource number it is, so long as there's a stream resource returned. --- diff --git a/ext/standard/tests/array/array_column_basic.phpt b/ext/standard/tests/array/array_column_basic.phpt index 8c499107d9..eb267dad73 100644 --- a/ext/standard/tests/array/array_column_basic.phpt +++ b/ext/standard/tests/array/array_column_basic.phpt @@ -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 ***