tony2001                Tue Mar  6 20:45:15 2007 UTC

  Modified files:              
    /php-src/ext/standard/tests/general_functions       
                                                        
call_user_func_return.phpt 
    /php-src/ext/standard/tests/network bug20134.phpt 
    /php-src/ext/standard/tests/serialize       bug24063.phpt 
    /php-src/ext/standard/tests/strings bug20934.phpt bug26817.phpt 
                                        bug29119.phpt explode.phpt 
                                        http_build_query.phpt 
                                        metaphone.phpt url_t.phpt 
  Log:
  fix tests
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/general_functions/call_user_func_return.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/general_functions/call_user_func_return.phpt
diff -u 
php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.1 
php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.2
--- php-src/ext/standard/tests/general_functions/call_user_func_return.phpt:1.1 
Thu Feb  8 15:31:01 2007
+++ php-src/ext/standard/tests/general_functions/call_user_func_return.phpt     
Tue Mar  6 20:45:15 2007
@@ -42,3 +42,13 @@
 User Func
 string(5) "test2" refcount(2)
 ===DONE===
+--UEXPECTF--
+Direct Call
+unicode(5) "test1" { 0074 0065 0073 0074 0031 } refcount(1)
+User Func
+unicode(5) "test1" { 0074 0065 0073 0074 0031 } refcount(1)
+Direct Call
+unicode(5) "test2" { 0074 0065 0073 0074 0032 } refcount(2)
+User Func
+unicode(5) "test2" { 0074 0065 0073 0074 0032 } refcount(2)
+===DONE===
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/network/bug20134.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/network/bug20134.phpt
diff -u php-src/ext/standard/tests/network/bug20134.phpt:1.3 
php-src/ext/standard/tests/network/bug20134.phpt:1.4
--- php-src/ext/standard/tests/network/bug20134.phpt:1.3        Mon Aug 22 
16:42:39 2005
+++ php-src/ext/standard/tests/network/bug20134.phpt    Tue Mar  6 20:45:15 2007
@@ -11,7 +11,7 @@
 }
 else {
        /* Likewise, writes will always appear to succeed */
-    $x = fwrite($fp,"\n");
+    $x = fwrite($fp,b"\n");
        var_dump($x);
        /* But reads should always fail */
     $content = fread($fp, 40);
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/serialize/bug24063.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/serialize/bug24063.phpt
diff -u php-src/ext/standard/tests/serialize/bug24063.phpt:1.2 
php-src/ext/standard/tests/serialize/bug24063.phpt:1.3
--- php-src/ext/standard/tests/serialize/bug24063.phpt:1.2      Sat Aug  9 
16:44:33 2003
+++ php-src/ext/standard/tests/serialize/bug24063.phpt  Tue Mar  6 20:45:15 2007
@@ -16,8 +16,8 @@
 0.01 0.01
 0.001 0.001
 0.0001 0.0001
-1E-05 1E-05
-1E-06 1E-06
-1E-07 1E-07
-1E-08 1E-08
-1E-09 1E-09
+1.0E-5 1.0E-5
+1.0E-6 1.0E-6
+1.0E-7 1.0E-7
+1.0E-8 1.0E-8
+1.0E-9 1.0E-9
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/bug20934.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/bug20934.phpt
diff -u php-src/ext/standard/tests/strings/bug20934.phpt:1.2 
php-src/ext/standard/tests/strings/bug20934.phpt:1.3
--- php-src/ext/standard/tests/strings/bug20934.phpt:1.2        Thu Dec 12 
21:44:53 2002
+++ php-src/ext/standard/tests/strings/bug20934.phpt    Tue Mar  6 20:45:15 2007
@@ -9,9 +9,12 @@
 --FILE--
 <?php
 $str = utf8_encode("\xe0\xe1");
-var_dump(utf8_decode($str));
-var_dump(utf8_decode(htmlspecialchars($str, ENT_COMPAT, "UTF-8")));
+var_dump(bin2hex((binary)utf8_decode($str)));
+var_dump(bin2hex((binary)utf8_decode(htmlspecialchars($str, ENT_COMPAT, 
"UTF-8"))));
 ?>
 --EXPECT--
-string(2) "àá"
-string(2) "àá"
+string(4) "e0e1"
+string(4) "e0e1"
+--UEXPECT--
+unicode(4) "e0e1"
+unicode(4) "e0e1"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/bug26817.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/strings/bug26817.phpt
diff -u php-src/ext/standard/tests/strings/bug26817.phpt:1.1 
php-src/ext/standard/tests/strings/bug26817.phpt:1.2
--- php-src/ext/standard/tests/strings/bug26817.phpt:1.1        Tue Jan  6 
20:07:07 2004
+++ php-src/ext/standard/tests/strings/bug26817.phpt    Tue Mar  6 20:45:15 2007
@@ -24,3 +24,6 @@
 --EXPECT--
 string(27) "foo=lala&bar=meuh&test=test"
 string(9) "test=test"
+--UEXPECT--
+unicode(27) "foo=lala&bar=meuh&test=test"
+unicode(9) "test=test"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/bug29119.phpt?r1=1.3&r2=1.4&diff_format=u
Index: php-src/ext/standard/tests/strings/bug29119.phpt
diff -u php-src/ext/standard/tests/strings/bug29119.phpt:1.3 
php-src/ext/standard/tests/strings/bug29119.phpt:1.4
--- php-src/ext/standard/tests/strings/bug29119.phpt:1.3        Thu Aug 18 
06:32:39 2005
+++ php-src/ext/standard/tests/strings/bug29119.phpt    Tue Mar  6 20:45:15 2007
@@ -1,8 +1,10 @@
 --TEST--
 Bug #29119 (html_entity_decode() misbehaves with UTF-8)
+--INI--
+unicode.runtime_encoding=UTF-8
 --FILE--
 <?php
-var_dump(bin2hex(html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;&euro;',
 ENT_QUOTES, 'UTF-8')));
+var_dump(bin2hex((binary)html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;&euro;',
 ENT_QUOTES, 'UTF-8')));
 ?>
 --EXPECT--
 string(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/explode.phpt?r1=1.6&r2=1.7&diff_format=u
Index: php-src/ext/standard/tests/strings/explode.phpt
diff -u php-src/ext/standard/tests/strings/explode.phpt:1.6 
php-src/ext/standard/tests/strings/explode.phpt:1.7
--- php-src/ext/standard/tests/strings/explode.phpt:1.6 Mon Oct  9 18:09:42 2006
+++ php-src/ext/standard/tests/strings/explode.phpt     Tue Mar  6 20:45:15 2007
@@ -5,7 +5,8 @@
 --FILE--
 <?php
 /* From http://bugs.php.net/19865 */
-echo md5(var_export(explode("\1", "a". chr(1). "b". chr(0). "d" . chr(1) . "f" 
. chr(1). "1" . chr(1) . "d"), TRUE));
+$s = (binary) var_export(explode(b"\1", (binary)"a". chr(1). "b". chr(0). "d" 
. chr(1) . "f" . chr(1). "1" . chr(1) . "d"), TRUE);
+echo md5($s);
 echo "\n";
 var_dump(@explode("", ""));
 var_dump(@explode("", NULL));
@@ -153,7 +154,7 @@
   string(10) "a lazy dog"
 }
 --UEXPECTF--
-26d4e18734cb2582df5055e2175223df
+6e5d59d5afd6693547a733219d079658
 bool(false)
 bool(false)
 bool(false)
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/http_build_query.phpt?r1=1.2&r2=1.3&diff_format=u
Index: php-src/ext/standard/tests/strings/http_build_query.phpt
diff -u php-src/ext/standard/tests/strings/http_build_query.phpt:1.2 
php-src/ext/standard/tests/strings/http_build_query.phpt:1.3
--- php-src/ext/standard/tests/strings/http_build_query.phpt:1.2        Sun Dec 
 4 17:58:53 2005
+++ php-src/ext/standard/tests/strings/http_build_query.phpt    Tue Mar  6 
20:45:15 2007
@@ -13,3 +13,7 @@
 string(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc"
 string(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc"
 string(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
+--UEXPECT--
+unicode(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc"
+unicode(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc"
+unicode(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/metaphone.phpt?r1=1.1&r2=1.2&diff_format=u
Index: php-src/ext/standard/tests/strings/metaphone.phpt
diff -u php-src/ext/standard/tests/strings/metaphone.phpt:1.1 
php-src/ext/standard/tests/strings/metaphone.phpt:1.2
--- php-src/ext/standard/tests/strings/metaphone.phpt:1.1       Wed Nov 15 
17:26:54 2006
+++ php-src/ext/standard/tests/strings/metaphone.phpt   Tue Mar  6 20:45:15 2007
@@ -39,3 +39,17 @@
 string(69) 
"ANT0NTWSKNFLYNKBKTMRTRW00SPTF0R0FSRNNTBHNTT0WNTRRTWLFNK0TTMRXSBRNTBLK"
 string(56) "0NKTWSTSFRS0YKLTPRSFNT0TSTNTMNSF0MNTNSWSTPLTW00FTFLMNLFT"
 Done
+--UEXPECTF--
+Warning: metaphone() expects at least 1 parameter, 0 given in %s on line %d
+NULL
+unicode(0) ""
+unicode(0) ""
+bool(false)
+bool(false)
+unicode(6) "FLTFRS"
+unicode(6) "FLTFRS"
+unicode(26) "0FLFRWRTKRFLNKHTLSLN0KLTR0"
+unicode(56) "BT0XTFHRRHLTNTRTRNTPSNKLWRNRFTBF0MSWPNK0FNRKW0TSFSTLWNKS"
+unicode(69) 
"ANT0NTWSKNFLYNKBKTMRTRW00SPTF0R0FSRNNTBHNTT0WNTRRTWLFNK0TTMRXSBRNTBLK"
+unicode(56) "0NKTWSTSFRS0YKLTPRSFNT0TSTNTMNSF0MNTNSWSTPLTW00FTFLMNLFT"
+Done
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/tests/strings/url_t.phpt?r1=1.14&r2=1.15&diff_format=u
Index: php-src/ext/standard/tests/strings/url_t.phpt
diff -u php-src/ext/standard/tests/strings/url_t.phpt:1.14 
php-src/ext/standard/tests/strings/url_t.phpt:1.15
--- php-src/ext/standard/tests/strings/url_t.phpt:1.14  Thu Sep 28 14:52:55 2006
+++ php-src/ext/standard/tests/strings/url_t.phpt       Tue Mar  6 20:45:15 2007
@@ -713,611 +713,627 @@
 --UEXPECT--
 array(1) {
   [u"path"]=>
-  string(0) ""
+  unicode(0) ""
 }
 array(1) {
   [u"path"]=>
-  string(12) "64.246.30.37"
+  unicode(12) "64.246.30.37"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(12) "64.246.30.37"
+  unicode(12) "64.246.30.37"
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(12) "64.246.30.37"
+  unicode(12) "64.246.30.37"
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(1) {
   [u"path"]=>
-  string(13) "64.246.30.37/"
+  unicode(13) "64.246.30.37/"
 }
 array(3) {
   [u"host"]=>
-  string(12) "64.246.30.37"
+  unicode(12) "64.246.30.37"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(1) {
   [u"path"]=>
-  string(7) "php.net"
+  unicode(7) "php.net"
 }
 array(1) {
   [u"path"]=>
-  string(8) "php.net/"
+  unicode(8) "php.net/"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(7) "php.net"
+  unicode(7) "php.net"
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(7) "php.net"
+  unicode(7) "php.net"
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(1) {
   [u"path"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
 }
 array(1) {
   [u"path"]=>
-  string(12) "www.php.net/"
+  unicode(12) "www.php.net/"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(2) {
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
 }
 array(1) {
   [u"path"]=>
-  string(12) "www.php.net/"
+  unicode(12) "www.php.net/"
 }
 array(3) {
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(18) "/foo/bar/index.php"
+  unicode(18) "/foo/bar/index.php"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
+  unicode(53) "/this/is/a/very/deep/directory/structure/and/file.php"
 }
 array(5) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
+  unicode(53) "/this/is/a/very/deep/directory/structure/and/file.php"
   [u"query"]=>
-  string(37) "lots=1&of=2&parameters=3&too=4&here=5"
+  unicode(37) "lots=1&of=2&parameters=3&too=4&here=5"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(45) "/this/is/a/very/deep/directory/structure/and/"
+  unicode(45) "/this/is/a/very/deep/directory/structure/and/"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
+  unicode(53) "/this/is/a/very/deep/directory/structure/and/file.php"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(28) "/this/../a/../deep/directory"
+  unicode(28) "/this/../a/../deep/directory"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(29) "/this/../a/../deep/directory/"
+  unicode(29) "/this/../a/../deep/directory/"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(42) "/this/is/a/very/deep/directory/../file.php"
+  unicode(42) "/this/is/a/very/deep/directory/../file.php"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
 }
 array(5) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
   [u"fragment"]=>
-  string(3) "foo"
+  unicode(3) "foo"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
 }
 array(5) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
   [u"query"]=>
-  string(6) "test=1"
+  unicode(6) "test=1"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
   [u"query"]=>
-  string(7) "test=1&"
+  unicode(7) "test=1&"
 }
 array(5) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(1) "/"
+  unicode(1) "/"
   [u"query"]=>
-  string(1) "&"
+  unicode(1) "&"
 }
 array(5) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(7) "test=1&"
+  unicode(7) "test=1&"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(1) "&"
+  unicode(1) "&"
 }
 array(5) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(4) "foo&"
+  unicode(4) "foo&"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(4) "&foo"
+  unicode(4) "&foo"
 }
 array(5) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
 }
 array(5) {
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
   [u"fragment"]=>
-  string(16) "some_page_ref123"
+  unicode(16) "some_page_ref123"
 }
 array(7) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"user"]=>
-  string(6) "secret"
+  unicode(6) "secret"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
   [u"fragment"]=>
-  string(16) "some_page_ref123"
+  unicode(16) "some_page_ref123"
 }
 array(6) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"user"]=>
-  string(6) "secret"
+  unicode(6) "secret"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
   [u"fragment"]=>
-  string(16) "some_page_ref123"
+  unicode(16) "some_page_ref123"
 }
 array(7) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"pass"]=>
-  string(7) "hideout"
+  unicode(7) "hideout"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
   [u"fragment"]=>
-  string(16) "some_page_ref123"
+  unicode(16) "some_page_ref123"
 }
 array(7) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"user"]=>
-  string(6) "secret"
+  unicode(6) "secret"
   [u"pass"]=>
-  string(7) "hideout"
+  unicode(7) "hideout"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
   [u"fragment"]=>
-  string(16) "some_page_ref123"
+  unicode(16) "some_page_ref123"
 }
 array(7) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(19) "[EMAIL PROTECTED]"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"user"]=>
-  string(6) "secret"
+  unicode(14) "[EMAIL PROTECTED]"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
   [u"fragment"]=>
-  string(16) "some_page_ref123"
+  unicode(16) "some_page_ref123"
 }
 array(8) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(11) "www.php.net"
+  unicode(11) "www.php.net"
   [u"port"]=>
   int(80)
   [u"user"]=>
-  string(6) "secret"
+  unicode(6) "secret"
   [u"pass"]=>
-  string(7) "hid:out"
+  unicode(7) "hid:out"
   [u"path"]=>
-  string(10) "/index.php"
+  unicode(10) "/index.php"
   [u"query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
+  unicode(31) "test=1&test2=char&test3=mixesCI"
   [u"fragment"]=>
-  string(16) "some_page_ref123"
+  unicode(16) "some_page_ref123"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "nntp"
+  unicode(4) "nntp"
   [u"host"]=>
-  string(12) "news.php.net"
+  unicode(12) "news.php.net"
 }
 array(3) {
   [u"scheme"]=>
-  string(3) "ftp"
+  unicode(3) "ftp"
   [u"host"]=>
-  string(11) "ftp.gnu.org"
+  unicode(11) "ftp.gnu.org"
   [u"path"]=>
-  string(22) "/gnu/glic/glibc.tar.gz"
+  unicode(22) "/gnu/glic/glibc.tar.gz"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "zlib"
+  unicode(4) "zlib"
   [u"path"]=>
-  string(14) "http://[EMAIL PROTECTED]"
+  unicode(14) "http://[EMAIL PROTECTED]"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "zlib"
+  unicode(4) "zlib"
   [u"path"]=>
-  string(12) "filename.txt"
+  unicode(12) "filename.txt"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "zlib"
+  unicode(4) "zlib"
   [u"path"]=>
-  string(25) "/path/to/my/file/file.txt"
+  unicode(25) "/path/to/my/file/file.txt"
 }
 array(3) {
   [u"scheme"]=>
-  string(3) "foo"
+  unicode(3) "foo"
   [u"host"]=>
-  string(3) "bar"
+  unicode(3) "bar"
   [u"user"]=>
-  string(3) "foo"
+  unicode(3) "foo"
 }
 array(2) {
   [u"scheme"]=>
-  string(6) "mailto"
+  unicode(6) "mailto"
   [u"path"]=>
-  string(15) "[EMAIL PROTECTED]"
+  unicode(15) "[EMAIL PROTECTED]"
 }
 array(2) {
   [u"path"]=>
-  string(8) "/foo.php"
+  unicode(8) "/foo.php"
   [u"query"]=>
-  string(7) "a=b&c=d"
+  unicode(7) "a=b&c=d"
 }
 array(2) {
   [u"path"]=>
-  string(7) "foo.php"
+  unicode(7) "foo.php"
   [u"query"]=>
-  string(7) "a=b&c=d"
+  unicode(7) "a=b&c=d"
 }
 array(6) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(15) "www.example.com"
+  unicode(15) "www.example.com"
   [u"port"]=>
   int(8080)
   [u"user"]=>
-  string(4) "user"
+  unicode(4) "user"
   [u"pass"]=>
-  string(6) "passwd"
+  unicode(6) "passwd"
   [u"query"]=>
-  string(12) "bar=1&boom=0"
+  unicode(12) "bar=1&boom=0"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "file"
+  unicode(4) "file"
   [u"path"]=>
-  string(13) "/path/to/file"
+  unicode(13) "/path/to/file"
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "file"
+  unicode(4) "file"
   [u"host"]=>
-  string(4) "path"
+  unicode(4) "path"
   [u"path"]=>
-  string(8) "/to/file"
+  unicode(8) "/to/file"
 }
 array(2) {
   [u"scheme"]=>
-  string(4) "file"
+  unicode(4) "file"
   [u"path"]=>
-  string(13) "/path/to/file"
+  unicode(13) "/path/to/file"
 }
 array(4) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(7) "1.2.3.4"
+  unicode(7) "1.2.3.4"
   [u"path"]=>
-  string(8) "/abc.asp"
+  unicode(8) "/abc.asp"
   [u"query"]=>
-  string(7) "a=1&b=2"
+  unicode(7) "a=1&b=2"
 }
 array(3) {
   [u"scheme"]=>
-  string(4) "http"
+  unicode(4) "http"
   [u"host"]=>
-  string(7) "foo.com"
+  unicode(7) "foo.com"
   [u"fragment"]=>
-  string(3) "bar"
+  unicode(3) "bar"
 }
 array(1) {
   [u"scheme"]=>
-  string(6) "scheme"
+  unicode(6) "scheme"
 }
 array(4) {
   [u"scheme"]=>
-  string(7) "foo+bar"
+  unicode(7) "foo+bar"
   [u"host"]=>
-  string(4) "bang"
+  unicode(4) "bang"
   [u"user"]=>
-  string(3) "baz"
+  unicode(3) "baz"
   [u"path"]=>
-  string(4) "/bla"
+  unicode(4) "/bla"
 }
 array(2) {
   [u"scheme"]=>
-  string(2) "gg"
+  unicode(2) "gg"
   [u"path"]=>
-  string(7) "9130731"
+  unicode(7) "9130731"
 }
-string(4) "http"
-string(11) "www.php.net"
+array(7) {
+  [u"scheme"]=>
+  unicode(4) "http"
+  [u"host"]=>
+  unicode(4) "host"
+  [u"user"]=>
+  unicode(4) "user"
+  [u"pass"]=>
+  unicode(5) "@pass"
+  [u"path"]=>
+  unicode(5) "/path"
+  [u"query"]=>
+  unicode(14) "argument?value"
+  [u"fragment"]=>
+  unicode(3) "etc"
+}
+unicode(4) "http"
+unicode(11) "www.php.net"
 int(80)
-string(6) "secret"
-string(7) "hideout"
-string(10) "/index.php"
-string(31) "test=1&test2=char&test3=mixesCI"
-string(16) "some_page_ref123"
+unicode(6) "secret"
+unicode(7) "hideout"
+unicode(10) "/index.php"
+unicode(31) "test=1&test2=char&test3=mixesCI"
+unicode(16) "some_page_ref123"

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

Reply via email to