From 33aa5eb6b636b162a4c8aec374a04c03e217ec8c Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Thu, 19 Jun 2014 22:36:48 +0800 Subject: [PATCH] Refcount may have different meaning in PHP NG --- .../mysqli_result_references_mysqlnd.phpt | 52 +++++++++---------- 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt b/ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt index 384f85fbbd6..9b96c4f4ec0 100644 --- a/ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt +++ b/ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt @@ -57,63 +57,63 @@ if ((version_compare(PHP_VERSION, '5.9.9', '>') == 1)) print "done!"; ?> --EXPECTF-- -array(1) refcount(2){ +array(1) refcount(%d){ [0]=> - array(4) refcount(1){ + array(4) refcount(%d){ [%u|b%"row_ref"]=> - &NULL refcount(2) + &NULL [%u|b%"row_copy"]=> array(2) refcount(1){ [%u|b%"id"]=> - %unicode|string%(1) "1" refcount(2) + %unicode|string%(1) "1" refcount(%d) [%u|b%"label"]=> - %unicode|string%(1) "a" refcount(2) + %unicode|string%(1) "a" refcount(%d) } [%u|b%"id_ref"]=> - %unicode|string%(1) "1" refcount(1) + %unicode|string%(1) "1" refcount(%d) [%u|b%"id_copy"]=> - %unicode|string%(1) "1" refcount(1) + %unicode|string%(1) "1" refcount(%d) } } -array(2) refcount(2){ +array(2) refcount(%d){ [0]=> - array(4) refcount(1){ + array(4) refcount(%d){ [%u|b%"row_ref"]=> - &NULL refcount(2) + &NULL [%u|b%"row_copy"]=> - array(2) refcount(1){ + array(2) refcount(%d){ [%u|b%"id"]=> - %unicode|string%(1) "1" refcount(1) + %unicode|string%(1) "1" refcount(%d) [%u|b%"label"]=> - %unicode|string%(1) "a" refcount(1) + %unicode|string%(1) "a" refcount(%d) } [%u|b%"id_ref"]=> - %unicode|string%(1) "1" refcount(1) + %unicode|string%(1) "1" refcount(%d) [%u|b%"id_copy"]=> - %unicode|string%(1) "1" refcount(1) + %unicode|string%(1) "1" refcount(%d) } [1]=> - array(5) refcount(1){ + array(5) refcount(%d){ [%u|b%"row_ref"]=> - &array(2) refcount(2){ + &array(2) refcount(%d){ [%u|b%"id"]=> - &%unicode|string%(1) "2" refcount(2) + &%unicode|string%(1) "2" refcount(%d) [%u|b%"label"]=> - %unicode|string%(1) "b" refcount(2) + %unicode|string%(1) "b" refcount(%d) } [%u|b%"row_copy"]=> - array(2) refcount(1){ + array(2) refcount(%d){ [%u|b%"id"]=> - %unicode|string%(1) "2" refcount(1) + %unicode|string%(1) "2" refcount(%d) [%u|b%"label"]=> - %unicode|string%(1) "b" refcount(2) + %unicode|string%(1) "b" refcount(%d) } [%u|b%"id_ref"]=> - &%unicode|string%(1) "2" refcount(2) + &%unicode|string%(1) "2" refcount(%d) [%u|b%"id_copy"]=> - %unicode|string%(1) "2" refcount(1) + %unicode|string%(1) "2" refcount(%d) [%u|b%"id_copy_mod"]=> - long(2) refcount(1) + long(2) } } -done! \ No newline at end of file +done!