summaryrefslogtreecommitdiff
path: root/ext/mysqli/tests
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2015-03-19 23:42:39 +0300
committerDmitry Stogov <dmitry@zend.com>2015-03-19 23:42:39 +0300
commit452a5d8e6bf7839477514e041d2a480ca4402191 (patch)
tree5eba617261681706474599d63cc3515f4eabef25 /ext/mysqli/tests
parented9d3f9a50466b5f4a2a16f24227f39204e99a0b (diff)
downloadphp-git-452a5d8e6bf7839477514e041d2a480ca4402191.tar.gz
String reference counters may be increased when string copied
Diffstat (limited to 'ext/mysqli/tests')
-rw-r--r--ext/mysqli/tests/mysqli_result_references.phpt16
1 files changed, 8 insertions, 8 deletions
diff --git a/ext/mysqli/tests/mysqli_result_references.phpt b/ext/mysqli/tests/mysqli_result_references.phpt
index e009267754..6d80dc1000 100644
--- a/ext/mysqli/tests/mysqli_result_references.phpt
+++ b/ext/mysqli/tests/mysqli_result_references.phpt
@@ -87,35 +87,35 @@ array(7) refcount(2){
[%u|b%"id"]=>
long(1)
[%u|b%"label"]=>
- %unicode|string%(1) "a" refcount(1)
+ %unicode|string%(1) "a" refcount(%d)
}
[1]=>
array(2) refcount(1){
[%u|b%"id"]=>
long(2)
[%u|b%"label"]=>
- %unicode|string%(1) "b" refcount(1)
+ %unicode|string%(1) "b" refcount(%d)
}
[2]=>
array(2) refcount(1){
[%u|b%"id"]=>
long(1)
[%u|b%"label"]=>
- %unicode|string%(1) "a" refcount(1)
+ %unicode|string%(1) "a" refcount(%d)
}
[3]=>
array(2) refcount(1){
[%u|b%"id"]=>
long(2)
[%u|b%"label"]=>
- %unicode|string%(1) "b" refcount(1)
+ %unicode|string%(1) "b" refcount(%d)
}
[4]=>
array(3) refcount(1){
[%u|b%"id"]=>
&long(3)
[%u|b%"label"]=>
- %unicode|string%(1) "a" refcount(1)
+ %unicode|string%(1) "a" refcount(%d)
[%u|b%"id2"]=>
&long(3)
}
@@ -124,7 +124,7 @@ array(7) refcount(2){
[%u|b%"id"]=>
&long(4)
[%u|b%"label"]=>
- %unicode|string%(1) "b" refcount(1)
+ %unicode|string%(1) "b" refcount(%d)
[%u|b%"id2"]=>
&long(4)
}
@@ -146,9 +146,9 @@ array(1) refcount(2){
[0]=>
array(2) refcount(1){
[%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)
}
}
done!