moriyoshi               Wed Jun 23 18:20:44 2004 EDT

  Modified files:              (Branch: PHP_4_3)
    /php-src/ext/mbstring/tests bug26639.phpt 
  Log:
  - Modify test case for wider coverage.
  
  
http://cvs.php.net/diff.php/php-src/ext/mbstring/tests/bug26639.phpt?r1=1.1.2.1&r2=1.1.2.2&ty=u
Index: php-src/ext/mbstring/tests/bug26639.phpt
diff -u php-src/ext/mbstring/tests/bug26639.phpt:1.1.2.1 
php-src/ext/mbstring/tests/bug26639.phpt:1.1.2.2
--- php-src/ext/mbstring/tests/bug26639.phpt:1.1.2.1    Thu Dec 18 04:52:50 2003
+++ php-src/ext/mbstring/tests/bug26639.phpt    Wed Jun 23 18:20:44 2004
@@ -33,7 +33,7 @@
 $a = "����������";
 $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);
@@ -43,7 +43,7 @@
 $a = "����������";
 $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);
@@ -53,7 +53,17 @@
 $a = "����������";
 $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("����������"));
+$b = $a;
+$c = $b;
+mb_convert_variables("EUC-JP", "Shift_JIS", $c);
 debug_zval_dump($b);
 debug_zval_dump($c);
 unset($a);
@@ -97,4 +107,17 @@
   [0]=>
   string(10) "����������" refcount(2)
 }
-
+array(1) refcount(3){
+  [0]=>
+  array(1) refcount(1){
+    [0]=>
+    string(10) "����������" refcount(1)
+  }
+}
+array(1) refcount(2){
+  [0]=>
+  array(1) refcount(1){
+    [0]=>
+    string(10) "����������" refcount(1)
+  }
+}

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to