Commit: f63db963c48775e89e7d5f63235733098c2f653d Author: Sara Golemon <poll...@php.net> Mon, 22 Apr 2013 13:36:40 -0700 Parents: 7b34324f846505a0af6bed83556b840b50a1ef30 Branches: PHP-5.5 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f63db963c48775e89e7d5f63235733098c2f653d Log: 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. Changed paths: M ext/standard/tests/array/array_column_basic.phpt Diff: diff --git a/ext/standard/tests/array/array_column_basic.phpt b/ext/standard/tests/array/array_column_basic.phpt index 8c49910..eb267da 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 *** -- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php