2
Bug #26639 (mb_convert_variables() clutters variables beyond the references)
4
<?php extension_loaded('mbstring') or die('skip mbstring not available'); ?>
9
mb_convert_variables("EUC-JP", "Shift_JIS", $b);
17
mb_convert_variables("EUC-JP", "Shift_JIS", $b);
26
mb_convert_variables("EUC-JP", "Shift_JIS", $c);
36
mb_convert_variables("EUC-JP", "Shift_JIS", $c);
46
mb_convert_variables("EUC-JP", "Shift_JIS", $c);
56
mb_convert_variables("EUC-JP", "Shift_JIS", $c);
63
$a = array(array("����������"));
66
mb_convert_variables("EUC-JP", "Shift_JIS", $c);
74
string(10) "����������" refcount(2)
75
string(10) "����������" refcount(2)
76
string(10) "����������" refcount(1)
77
string(10) "����������" refcount(1)
80
string(10) "����������" refcount(2)
84
string(10) "����������" refcount(1)
88
&string(10) "����������" refcount(2)
92
string(10) "����������" refcount(1)
96
string(10) "����������" refcount(2)
100
string(10) "����������" refcount(2)
102
array(1) refcount(1){
104
string(10) "����������" refcount(2)
106
array(1) refcount(1){
108
string(10) "����������" refcount(2)
110
array(1) refcount(3){
112
array(1) refcount(1){
114
string(10) "����������" refcount(1)
117
array(1) refcount(2){
119
array(1) refcount(1){
121
string(10) "����������" refcount(1)