com php-src: Refcount may have different meaning in PHP NG: ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt
| From: | Xinchen Hui | Date: | Thu, 19 Jun 2014 14:36:48 +0000 |
| Subject: | com php-src: Refcount may have different meaning in PHP NG: ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-78987@lists.php.net to get a copy of this message | ||
Commit: 33aa5eb6b636b162a4c8aec374a04c03e217ec8c
Author: Xinchen Hui <laruence@php.net> Thu, 19 Jun 2014 22:36:48 +0800
Parents: e2b182b24fcd6c89d28567ec55d453d418d13eb3
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=33aa5eb6b636b162a4c8aec374a04c03e217ec8c
Log:
Refcount may have different meaning in PHP NG
Changed paths:
M ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt
Diff:
diff --git a/ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt
b/ext/mysqli/tests/mysqli_result_references_mysqlnd.phpt
index 384f85f..9b96c4f 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!