- Fixed bug #28702 (SOAP does not parse WSDL service address correctly). (Dmitry)
- Fixed bug #28699 (Reflection api bugs). (Marcus)
- Fixed bug #28694 (ReflectionExtension::getFunctions() crashes PHP). (Marcus)
-
+- Fixed bug #28466 (mbstring_convert_variables() array separation problem).
+ (Moriyoshi)
7 Jun 2004, PHP 5 Release Candidate 3
- Moved the PDFLib extension to PECL. (Wez)
- Added MySQL 4.1.2-alpha and 4.1.3-beta support to MySQLI extension. (Georg)
stack[stack_level] = var;
stack_level++;
var = hash_entry;
+ SEPARATE_ZVAL(hash_entry);
target_hash = HASH_OF(*var);
if (target_hash != NULL) {
zend_hash_internal_pointer_reset(target_hash);
$a = "\82 \82¢\82¤\82¦\82¨";
$b = array(&$a);
$c = $b;
-mb_convert_variables("euc-jp", "shift_jis", $c);
+mb_convert_variables("EUC-JP", "Shift_JIS", $c);
debug_zval_dump($b);
debug_zval_dump($c);
unset($a);
$a = "\82 \82¢\82¤\82¦\82¨";
$b = array($a);
$c = &$b;
-mb_convert_variables("euc-jp", "shift_jis", $c);
+mb_convert_variables("EUC-JP", "Shift_JIS", $c);
debug_zval_dump($b);
debug_zval_dump($c);
unset($a);
$a = "\82 \82¢\82¤\82¦\82¨";
$b = array(&$a);
$c = &$b;
-mb_convert_variables("euc-jp", "shift_jis", $c);
+mb_convert_variables("EUC-JP", "Shift_JIS", $c);
+debug_zval_dump($b);
+debug_zval_dump($c);
+unset($a);
+unset($b);
+unset($c);
+
+$a = array(array("\82 \82¢\82¤\82¦\82¨"));
+$b = $a;
+$c = $b;
+mb_convert_variables("EUC-JP", "Shift_JIS", $c);
debug_zval_dump($b);
debug_zval_dump($c);
unset($a);
[0]=>
string(10) "¤¢¤¤¤¦¤¨¤ª" refcount(2)
}
-
+array(1) refcount(3){
+ [0]=>
+ array(1) refcount(1){
+ [0]=>
+ string(10) "\82 \82¢\82¤\82¦\82¨" refcount(1)
+ }
+}
+array(1) refcount(2){
+ [0]=>
+ array(1) refcount(1){
+ [0]=>
+ string(10) "¤¢¤¤¤¦¤¨¤ª" refcount(1)
+ }
+}