]> granicus.if.org Git - php/commitdiff
- killed off UEXPECT
authorSteph Fox <sfox@php.net>
Tue, 27 May 2008 18:16:04 +0000 (18:16 +0000)
committerSteph Fox <sfox@php.net>
Tue, 27 May 2008 18:16:04 +0000 (18:16 +0000)
- com_dotnet gets a .cvsignore
- Ulf will take care of mysql extensions, rest complete

317 files changed:
ext/bz2/tests/001.phpt
ext/bz2/tests/002.phpt
ext/bz2/tests/003.phpt
ext/bz2/tests/004.phpt
ext/bz2/tests/005.phpt
ext/calendar/tests/easter_date.phpt
ext/calendar/tests/jddayofweek.phpt
ext/calendar/tests/jdtofrench.phpt
ext/calendar/tests/jdtogregorian.phpt
ext/calendar/tests/jdtojewish.phpt
ext/calendar/tests/jdtojulian.phpt
ext/calendar/tests/jdtomonthname.phpt
ext/calendar/tests/jewishtojd.phpt
ext/calendar/tests/juliantojd.phpt
ext/com_dotnet/tests/27974.phpt
ext/ctype/tests/001.phpt
ext/ctype/tests/002.phpt
ext/ctype/tests/ctype_alnum_basic.phpt
ext/ctype/tests/ctype_alnum_error.phpt
ext/ctype/tests/ctype_alnum_variation1.phpt
ext/ctype/tests/ctype_alnum_variation2.phpt
ext/ctype/tests/ctype_alnum_variation3.phpt
ext/ctype/tests/ctype_alnum_variation4.phpt
ext/ctype/tests/ctype_alpha_basic.phpt
ext/ctype/tests/ctype_alpha_variation1.phpt
ext/ctype/tests/ctype_alpha_variation2.phpt
ext/ctype/tests/ctype_alpha_variation3.phpt
ext/ctype/tests/ctype_alpha_variation4.phpt
ext/ctype/tests/ctype_cntrl_basic.phpt
ext/ctype/tests/ctype_cntrl_variation1.phpt
ext/ctype/tests/ctype_cntrl_variation2.phpt
ext/ctype/tests/ctype_cntrl_variation3.phpt
ext/ctype/tests/ctype_cntrl_variation4.phpt
ext/ctype/tests/ctype_digit_basic.phpt
ext/ctype/tests/ctype_digit_variation1.phpt
ext/ctype/tests/ctype_digit_variation2.phpt
ext/ctype/tests/ctype_digit_variation3.phpt
ext/ctype/tests/ctype_digit_variation4.phpt
ext/ctype/tests/ctype_graph_basic.phpt
ext/ctype/tests/ctype_graph_variation1.phpt
ext/ctype/tests/ctype_graph_variation2.phpt
ext/ctype/tests/ctype_graph_variation3.phpt
ext/ctype/tests/ctype_graph_variation4.phpt
ext/ctype/tests/ctype_lower_basic.phpt
ext/ctype/tests/ctype_lower_variation1.phpt
ext/ctype/tests/ctype_lower_variation2.phpt
ext/ctype/tests/ctype_lower_variation3.phpt
ext/ctype/tests/ctype_lower_variation4.phpt
ext/ctype/tests/ctype_print_basic.phpt
ext/ctype/tests/ctype_print_variation1.phpt
ext/ctype/tests/ctype_print_variation2.phpt
ext/ctype/tests/ctype_print_variation3.phpt
ext/ctype/tests/ctype_print_variation4.phpt
ext/ctype/tests/ctype_punct_basic.phpt
ext/ctype/tests/ctype_punct_error.phpt
ext/ctype/tests/ctype_punct_variation1.phpt
ext/ctype/tests/ctype_punct_variation2.phpt
ext/ctype/tests/ctype_punct_variation3.phpt
ext/ctype/tests/ctype_punct_variation4.phpt
ext/ctype/tests/ctype_space_basic.phpt
ext/ctype/tests/ctype_space_error.phpt
ext/ctype/tests/ctype_space_variation1.phpt
ext/ctype/tests/ctype_space_variation2.phpt
ext/ctype/tests/ctype_space_variation3.phpt
ext/ctype/tests/ctype_space_variation4.phpt
ext/ctype/tests/ctype_upper_basic.phpt
ext/ctype/tests/ctype_upper_variation1.phpt
ext/ctype/tests/ctype_upper_variation2.phpt
ext/ctype/tests/ctype_upper_variation3.phpt
ext/ctype/tests/ctype_upper_variation4.phpt
ext/ctype/tests/ctype_xdigit_basic.phpt
ext/ctype/tests/ctype_xdigit_variation1.phpt
ext/ctype/tests/ctype_xdigit_variation2.phpt
ext/ctype/tests/ctype_xdigit_variation3.phpt
ext/ctype/tests/ctype_xdigit_variation4.phpt
ext/date/tests/003.phpt
ext/date/tests/004.phpt
ext/date/tests/005.phpt
ext/date/tests/006.phpt
ext/date/tests/007.phpt
ext/date/tests/008.phpt
ext/date/tests/009.phpt
ext/date/tests/010.phpt
ext/date/tests/012.phpt
ext/date/tests/013.phpt
ext/date/tests/014.phpt
ext/date/tests/bug35143.phpt
ext/date/tests/bug35499.phpt
ext/date/tests/bug37616.phpt
ext/date/tests/bug41523-64bit.phpt
ext/date/tests/bug41523.phpt
ext/date/tests/bug41964.phpt
ext/date/tests/bug42910.phpt
ext/date/tests/bug43808.phpt
ext/date/tests/date_constants.phpt
ext/date/tests/date_parse_001.phpt
ext/date/tests/date_sun_info_001.phpt
ext/date/tests/oo_001.phpt
ext/date/tests/oo_002.phpt
ext/date/tests/strtotime-mysql-64bit.phpt
ext/date/tests/strtotime-mysql.phpt
ext/date/tests/strtotime3-64bit.phpt
ext/date/tests/strtotime3.phpt
ext/date/tests/timestamp-in-dst.phpt
ext/dba/tests/bug38698.phpt
ext/dba/tests/dba001.phpt
ext/dba/tests/dba006.phpt
ext/dba/tests/dba007.phpt
ext/dba/tests/dba_cdb.phpt
ext/dba/tests/dba_cdb_make.phpt
ext/dba/tests/dba_cdb_read.phpt
ext/dba/tests/dba_flatfile.phpt
ext/dba/tests/dba_inifile.phpt
ext/dbase/tests/001.phpt
ext/dbase/tests/002.phpt
ext/dom/tests/DOMCharacterData_appendData_basic.phpt
ext/dom/tests/DOMComment_appendData_basic.phpt
ext/dom/tests/DOMComment_appendData_basic_Sullivan.phpt
ext/dom/tests/DOMComment_insertData_basic.phpt
ext/dom/tests/DOMComment_insertData_error1.phpt
ext/dom/tests/DOMComment_insertData_error2.phpt
ext/dom/tests/DOMComment_replaceData_basic.phpt
ext/dom/tests/DOMComment_replaceData_error1.phpt
ext/dom/tests/DOMComment_replaceData_error2.phpt
ext/dom/tests/DOMDocument_createAttribute_basic.phpt
ext/dom/tests/DOMDocument_createAttribute_error.phpt
ext/dom/tests/DOMDocument_createAttribute_error1.phpt
ext/dom/tests/DOMDocument_createAttribute_variation.phpt
ext/dom/tests/DOMDocument_loadHTML_basic.phpt
ext/dom/tests/DOMDocument_save_basic.phpt
ext/dom/tests/DOMDocument_savexml_basic.phpt
ext/dom/tests/DOMNode_hasChildNodes.phpt
ext/dom/tests/DOMNode_hasChildNodes_basic.phpt
ext/dom/tests/DOMNode_insertBefore.phpt
ext/dom/tests/DOMNode_normalize_basic.phpt
ext/dom/tests/DOMText_appendData_basic.phpt
ext/dom/tests/bug28817.phpt
ext/dom/tests/bug34276.phpt
ext/dom/tests/bug37277.phpt
ext/dom/tests/bug37456.phpt
ext/dom/tests/bug42082.phpt
ext/dom/tests/bug44648.phpt
ext/dom/tests/dom002.phpt
ext/dom/tests/dom002u.phpt
ext/dom/tests/dom003.phpt
ext/dom/tests/dom_comment_basic.phpt
ext/dom/tests/dom_comment_variation.phpt
ext/dom/tests/dom_set_attr_node.phpt
ext/dom/tests/domdocument.phpt
ext/dom/tests/domxpath.phpt
ext/ereg/tests/ereg_replace_variation_003.phpt
ext/ereg/tests/ereg_variation_001.phpt
ext/ereg/tests/ereg_variation_002.phpt
ext/ereg/tests/eregi_replace_variation_003.phpt
ext/ereg/tests/eregi_variation_001.phpt
ext/ereg/tests/eregi_variation_002.phpt
ext/ereg/tests/split_variation_001.phpt
ext/ereg/tests/split_variation_002.phpt
ext/ereg/tests/spliti_variation_001.phpt
ext/ereg/tests/spliti_variation_002.phpt
ext/ereg/tests/sql_regcase_variation_001.phpt
ext/exif/tests/exif001.phpt
ext/exif/tests/exif005.phpt
ext/filter/tests/009.phpt
ext/gd/tests/image_type_to_mime_type_basic.phpt
ext/gd/tests/imagedashedline_basic.phpt
ext/gd/tests/imagefilledpolygon_basic.phpt
ext/gd/tests/imagepolygon_basic.phpt
ext/gettext/tests/dcngettext.phpt
ext/gettext/tests/gettext_basic.phpt
ext/gettext/tests/gettext_basic_de.phpt
ext/gmp/tests/004.phpt
ext/gmp/tests/005.phpt
ext/gmp/tests/006.phpt
ext/gmp/tests/007.phpt
ext/gmp/tests/008.phpt
ext/gmp/tests/009.phpt
ext/gmp/tests/010.phpt
ext/gmp/tests/011.phpt
ext/gmp/tests/012.phpt
ext/gmp/tests/013.phpt
ext/gmp/tests/014.phpt
ext/gmp/tests/015.phpt
ext/gmp/tests/016.phpt
ext/gmp/tests/017.phpt
ext/gmp/tests/018.phpt
ext/gmp/tests/019.phpt
ext/gmp/tests/020.phpt
ext/gmp/tests/021.phpt
ext/gmp/tests/022.phpt
ext/gmp/tests/023.phpt
ext/gmp/tests/024.phpt
ext/gmp/tests/025.phpt
ext/gmp/tests/026.phpt
ext/gmp/tests/027.phpt
ext/gmp/tests/028.phpt
ext/gmp/tests/029.phpt
ext/gmp/tests/030.phpt
ext/gmp/tests/031.phpt
ext/gmp/tests/032.phpt
ext/gmp/tests/033.phpt
ext/gmp/tests/034.phpt
ext/gmp/tests/035.phpt
ext/gmp/tests/036.phpt
ext/gmp/tests/037.phpt
ext/gmp/tests/038.phpt
ext/gmp/tests/039.phpt
ext/gmp/tests/040.phpt
ext/gmp/tests/gmp_nextprime.phpt
ext/hash/tests/hash_copy_001.phpt
ext/hash/tests/hmac-md5.phpt
ext/iconv/tests/bug37773.phpt
ext/iconv/tests/iconv001.phpt
ext/iconv/tests/iconv_stream_filter.phpt
ext/imap/tests/imap_utf8.phpt
ext/json/tests/001.phpt
ext/json/tests/002.phpt
ext/json/tests/003.phpt
ext/json/tests/004.phpt
ext/json/tests/005.phpt
ext/json/tests/bug41067.phpt
ext/json/tests/bug41403.phpt
ext/json/tests/bug42090.phpt
ext/json/tests/bug42785.phpt
ext/json/tests/bug43941.phpt
ext/json/tests/fail001.phpt
ext/json/tests/pass001.1.phpt
ext/json/tests/pass001.1_64bit.phpt
ext/json/tests/pass001.phpt
ext/json/tests/pass002.phpt
ext/json/tests/pass003.phpt
ext/libxml/tests/002.phpt
ext/mbstring/tests/mb_convert_encoding_basic.phpt
ext/mbstring/tests/mb_encode_mimeheader_basic.phpt
ext/mbstring/tests/mb_encode_mimeheader_variation1.phpt
ext/mbstring/tests/mb_encode_mimeheader_variation2.phpt
ext/mbstring/tests/mb_encode_mimeheader_variation3.phpt
ext/mbstring/tests/mb_encode_mimeheader_variation4.phpt
ext/mbstring/tests/mb_encode_mimeheader_variation5.phpt
ext/mbstring/tests/mb_encode_mimeheader_variation6.phpt
ext/mbstring/tests/mb_ereg_basic.phpt
ext/mbstring/tests/mb_ereg_error.phpt
ext/mbstring/tests/mb_ereg_variation1.phpt
ext/mbstring/tests/mb_ereg_variation2.phpt
ext/mbstring/tests/mb_ereg_variation3.phpt
ext/mbstring/tests/mb_ereg_variation4.phpt
ext/mbstring/tests/mb_ereg_variation5.phpt
ext/mbstring/tests/mb_ereg_variation6.phpt
ext/mbstring/tests/mb_ereg_variation7.phpt
ext/mbstring/tests/mb_internal_encoding_basic.phpt
ext/mbstring/tests/mb_internal_encoding_error1.phpt
ext/mbstring/tests/mb_internal_encoding_error2.phpt
ext/mbstring/tests/mb_internal_encoding_variation1.phpt
ext/mbstring/tests/mb_internal_encoding_variation2.phpt
ext/mbstring/tests/mb_regex_encoding_basic.phpt
ext/mbstring/tests/mb_regex_encoding_error1.phpt
ext/mbstring/tests/mb_regex_encoding_error2.phpt
ext/mbstring/tests/mb_regex_encoding_variation1.phpt
ext/mbstring/tests/mb_regex_encoding_variation2.phpt
ext/mbstring/tests/mb_strlen_basic.phpt
ext/mbstring/tests/mb_strlen_error1.phpt
ext/mbstring/tests/mb_strlen_error2.phpt
ext/mbstring/tests/mb_strlen_variation1.phpt
ext/mbstring/tests/mb_strlen_variation2.phpt
ext/mbstring/tests/mb_strlen_variation3.phpt
ext/mbstring/tests/mb_strpos_basic.phpt
ext/mbstring/tests/mb_strpos_error1.phpt
ext/mbstring/tests/mb_strpos_error2.phpt
ext/mbstring/tests/mb_strpos_variation1.phpt
ext/mbstring/tests/mb_strpos_variation2.phpt
ext/mbstring/tests/mb_strpos_variation3.phpt
ext/mbstring/tests/mb_strpos_variation4.phpt
ext/mbstring/tests/mb_strpos_variation5.phpt
ext/mbstring/tests/mb_strrpos_basic.phpt
ext/mbstring/tests/mb_strrpos_error1.phpt
ext/mbstring/tests/mb_strrpos_error2.phpt
ext/mbstring/tests/mb_strrpos_variation1.phpt
ext/mbstring/tests/mb_strrpos_variation2.phpt
ext/mbstring/tests/mb_strrpos_variation3.phpt
ext/mbstring/tests/mb_strrpos_variation4.phpt
ext/mbstring/tests/mb_strrpos_variation5.phpt
ext/mbstring/tests/mb_strrpos_variation6.phpt
ext/mbstring/tests/mb_strtolower_basic.phpt
ext/mbstring/tests/mb_strtolower_error1.phpt
ext/mbstring/tests/mb_strtolower_error2.phpt
ext/mbstring/tests/mb_strtolower_variation1.phpt
ext/mbstring/tests/mb_strtolower_variation2.phpt
ext/mbstring/tests/mb_strtolower_variation3.phpt
ext/mbstring/tests/mb_strtolower_variation4.phpt
ext/mbstring/tests/mb_strtoupper_basic.phpt
ext/mbstring/tests/mb_strtoupper_error1.phpt
ext/mbstring/tests/mb_strtoupper_error2.phpt
ext/mbstring/tests/mb_strtoupper_variation1.phpt
ext/mbstring/tests/mb_strtoupper_variation2.phpt
ext/mbstring/tests/mb_strtoupper_variation3.phpt
ext/mbstring/tests/mb_strtoupper_variation4.phpt
ext/mbstring/tests/mb_substr_basic.phpt
ext/mbstring/tests/mb_substr_count_basic.phpt
ext/mbstring/tests/mb_substr_count_error1.phpt
ext/mbstring/tests/mb_substr_count_error2.phpt
ext/mbstring/tests/mb_substr_count_variation1.phpt
ext/mbstring/tests/mb_substr_count_variation2.phpt
ext/mbstring/tests/mb_substr_count_variation3.phpt
ext/mbstring/tests/mb_substr_count_variation4.phpt
ext/mbstring/tests/mb_substr_error1.phpt
ext/mbstring/tests/mb_substr_error2.phpt
ext/mbstring/tests/mb_substr_variation1.phpt
ext/mbstring/tests/mb_substr_variation2.phpt
ext/mbstring/tests/mb_substr_variation3.phpt
ext/mbstring/tests/mb_substr_variation4.phpt
ext/mbstring/tests/mb_substr_variation5.phpt
ext/session/tests/003.phpt
ext/session/tests/004.phpt
ext/session/tests/005.phpt
ext/session/tests/session_save_path_variation4.phpt
ext/session/tests/session_save_path_variation5.phpt
ext/simplexml/tests/000.phpt

index a8a98151655b9b53aa09268b8e9cce030dedfe14..d3a09fd4fb324f0a4008214d00cee8f6e3706cbf 100644 (file)
@@ -18,7 +18,7 @@ var_dump(bzopen($fp, "r"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: bzopen() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
index 7b9673275c4ba3911fd566e9c5141ec0aa245858..0145b584ad8c4668a90776cf6c7b2242c3156bfd 100644 (file)
@@ -73,7 +73,7 @@ var_dump(bzopen($fp, "w"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 resource(%d) of type (stream)
 resource(%d) of type (stream)
 resource(%d) of type (stream)
index 1432600087a516242374dd4e6d928e33b4b52555..23b005ac119b6ea466ea2014370824d2969d291a 100644 (file)
@@ -16,7 +16,7 @@ var_dump(bzread($fd, 100000));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: bzread() expects at least 1 parameter, 0 given in %s on line %d
 bool(false)
 
index e78d3b9cff6fbd6c85373fa21e2ed994f6662b19..b64675833b5fdc0beca9c5b45ff90cfd375dbf34 100644 (file)
@@ -43,73 +43,7 @@ var_dump(bzerrno($fd2));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-array(2) {
-  ["errno"]=>
-  int(0)
-  ["errstr"]=>
-  string(2) "OK"
-}
-string(2) "OK"
-int(0)
-array(2) {
-  ["errno"]=>
-  int(0)
-  ["errstr"]=>
-  string(2) "OK"
-}
-string(2) "OK"
-int(0)
-string(0) ""
-array(2) {
-  ["errno"]=>
-  int(-5)
-  ["errstr"]=>
-  string(16) "DATA_ERROR_MAGIC"
-}
-string(16) "DATA_ERROR_MAGIC"
-int(-5)
-string(0) ""
-array(2) {
-  ["errno"]=>
-  int(-4)
-  ["errstr"]=>
-  string(10) "DATA_ERROR"
-}
-string(10) "DATA_ERROR"
-int(-4)
-string(0) ""
-array(2) {
-  ["errno"]=>
-  int(-5)
-  ["errstr"]=>
-  string(16) "DATA_ERROR_MAGIC"
-}
-string(16) "DATA_ERROR_MAGIC"
-int(-5)
-string(0) ""
-array(2) {
-  ["errno"]=>
-  int(-4)
-  ["errstr"]=>
-  string(10) "DATA_ERROR"
-}
-string(10) "DATA_ERROR"
-int(-4)
-
-Warning: bzread(): %d is not a valid stream resource in %s on line %d
-bool(false)
-
-Warning: bzerror(): %d is not a valid stream resource in %s on line %d
-bool(false)
-
-Warning: bzerrstr(): %d is not a valid stream resource in %s on line %d
-bool(false)
-
-Warning: bzerrno(): %d is not a valid stream resource in %s on line %d
-bool(false)
-Done
---UEXPECTF--   
+--EXPECTF--
 array(2) {
   [u"errno"]=>
   int(0)
index d10f8765e7ddb1cc4a4a2dd121c8042972b8a0a0..cb7f7147e30b0a09bf842a2676c80bbd8ac8f0b0 100644 (file)
@@ -41,38 +41,6 @@ echo "Done\n";
 --EXPECTF--
 Warning: bzcompress() expects at least 1 parameter, 0 given in %s on line %d
 NULL
-string(%d) "BZ%a"
-int(-2)
-int(-2)
-int(-2)
-int(-2)
-
-Warning: bzdecompress() expects at least 1 parameter, 0 given in %s on line %d
-bool(false)
-
-Warning: bzdecompress() expects at most 2 parameters, 3 given in %s on line %d
-bool(false)
-int(-5)
-int(-5)
-int(-5)
-bool(false)
-string(110) "Life it seems, will fade away
-Drifting further everyday
-Getting lost within myself
-Nothing matters no one else"
-bool(false)
-string(110) "Life it seems, will fade away
-Drifting further everyday
-Getting lost within myself
-Nothing matters no one else"
-string(110) "Life it seems, will fade away
-Drifting further everyday
-Getting lost within myself
-Nothing matters no one else"
-Done
---UEXPECTF--
-Warning: bzcompress() expects at least 1 parameter, 0 given in %s on line %d
-NULL
 unicode(%d) "BZ%a"
 int(-2)
 int(-2)
index 1adff69293aa1bb320f3ce331633b1d5c87e8b89..2f0ec225cb2ab05a57e0caefa6001eea5f937457 100644 (file)
@@ -6,9 +6,9 @@ date.timezone=UTC
 <?php include 'skipif.inc'; ?>
 --FILE--
 <?php
-echo date("Y-m-d", easter_date(2000))."\n";       
-echo date("Y-m-d", easter_date(2001))."\n";      
-echo date("Y-m-d", easter_date(2002))."\n";      
+echo date("Y-m-d", easter_date(2000))."\n";
+echo date("Y-m-d", easter_date(2001))."\n";
+echo date("Y-m-d", easter_date(2002))."\n";
 echo date("Y-m-d", easter_date(1492))."\n";
 ?>
 --EXPECTF--
index c33d59892d1dd6188a8213090feff52d4be51c21..ae21f32a8efe4bb792a342397504a663a2e7775b 100644 (file)
@@ -127,4 +127,3 @@ Sat
 Sun
 Mon
 Tue
-
index 27944091e30711314bd3c64a3274b9b31856ba21..2601d14a0731aa76ae3b41f8bbfa628e96626c65 100644 (file)
@@ -17,4 +17,4 @@ echo jdtofrench(2385940). "\n";
 1/11/1
 4/11/1
 5/21/2
-0/0/0
\ No newline at end of file
+0/0/0
index 6b1956f477a674946c35971bd2942b3efec9ac8f..9d682e4b03bfc1f2c3b4c8728cfdfd4597404057 100644 (file)
@@ -15,4 +15,4 @@ echo jdtogregorian(2816423). "\n";
 1/1/1582
 10/5/1582
 1/1/1970
-1/1/2999
\ No newline at end of file
+1/1/2999
index a9551047a37ed706b12bca77af7ff5a56d36e7d1..785af7580875dfc4a4a60dc67a64779fae4c01e7 100644 (file)
@@ -2,6 +2,8 @@
 jdtojewish() function
 --SKIPIF--
 <?php include 'skipif.inc'; ?>
+--INI--
+unicode.output_encoding=ISO-8859-8
 --FILE--
 <?php
 
@@ -17,18 +19,6 @@ var_dump(jdtojewish(gregoriantojd(10,28,2002))."\r\n".
        jdtojewish(gregoriantojd(10,8,2002),true, CAL_JEWISH_ADD_GERESHAYIM+CAL_JEWISH_ADD_ALAFIM+CAL_JEWISH_ADD_ALAFIM_GERESH)."\r\n");
 ?>
 --EXPECT--
-string(184) "2/22/5763
-ëá çùåï äúùñâ
-ëá çùåï ä'úùñâ
-ëá çùåï ä àìôéí úùñâ
-ëá çùåï ä' àìôéí úùñâ
-ë"á çùåï äúùñ"â
-á' çùåï äúùñ"â
-á' çùåï ä'úùñ"â
-á' çùåï ä àìôéí úùñ"â
-á' çùåï ä' àìôéí úùñ"â
-"
---UEXPECT--
 unicode(184) "2/22/5763
 ëá çùåï äúùñâ
 ëá çùåï ä'úùñâ
index 6c87aa7e54a5e55b2164aa5c065f664d19cb5f79..0d3c058b0c94ab09449ee285bebc9571fafe649d 100644 (file)
@@ -15,4 +15,4 @@ echo jdtojulian(2816423). "\n";
 12/22/1581
 9/25/1582
 12/19/1969
-12/12/2998
\ No newline at end of file
+12/12/2998
index 3924543634f7ea4ca5dea5a3c752bfa63804f9ff..2e862a36711d9af87ef8dc294bfcdc1c2df40f57 100644 (file)
@@ -25,51 +25,7 @@ foreach ($jd_days as $jd_day) {
 echo "Done\n";
 
 ?>
---EXPECTF--    
-string(3) "Jan"
-string(7) "January"
-string(3) "Jan"
-string(7) "January"
-string(6) "Shevat"
-string(0) ""
-string(3) "Jan"
-string(7) "January"
-string(3) "Dec"
-string(8) "December"
-string(5) "Tevet"
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-
-Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
-bool(false)
-
-Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
-bool(false)
-
-Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
-bool(false)
-
-Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
-bool(false)
-
-Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
-bool(false)
-
-Warning: jdmonthname() expects parameter 1 to be long, array given in %s on line %d
-bool(false)
-string(3) "Dec"
-string(8) "December"
-string(3) "Jul"
-string(4) "July"
-string(6) "Tishri"
-string(0) ""
-Done
---UEXPECTF--   
+--EXPECTF--
 unicode(3) "Jan"
 unicode(7) "January"
 unicode(3) "Jan"
index a9a2ff0e3dc92045440190048b92e0531e80222f..2dd03816196c1fa4397a96020da385681496d813 100644 (file)
@@ -13,4 +13,4 @@ echo jewishtojd(2,22,5763). "\n";
 0
 0
 347998
-2452576
\ No newline at end of file
+2452576
index 9563e041a16e245db791956f6c22969c849e82a5..b9d7f706e328dcc91057a7618c083dd7714010c2 100644 (file)
@@ -15,4 +15,4 @@ echo juliantojd( 1, 1, 2999). "\n";
 2298884
 2299161
 2440601
-2816443
\ No newline at end of file
+2816443
index 30c42b6cf6d4b7e77833fcbcaa8bf439f46a7c41..2ebdef97f8ceee7a37c1e59e058a46997ad6049d 100755 (executable)
@@ -36,8 +36,8 @@ object(variant)#1 (0) {
 123
 456
 789
-string(3) "123"
-string(5) "hello"
-string(3) "789"
+unicode(3) "123"
+unicode(5) "hello"
+unicode(3) "789"
 Got BADINDEX exception OK!
 OK!
index d16d89ae49ec099c41d3b7b697aab8c95c64c2d7..59e82d3667ce0fb946cf0ea0a73f8f1576e0e1e8 100644 (file)
@@ -25,19 +25,7 @@ ctype_test_001("ctype_punct");
 ctype_test_001("ctype_space");
 ctype_test_001("ctype_xdigit");
 ?>
---EXPECT--
-ctype_lower 26
-ctype_upper 26
-ctype_alpha 52
-ctype_digit 10
-ctype_alnum 62
-ctype_cntrl 33
-ctype_graph 94
-ctype_print 95
-ctype_punct 32
-ctype_space 6
-ctype_xdigit 22
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s001.php on line %d
 ctype_lower 26
 ctype_upper 26
index b3002364cfe5d1887360c7dd77d0a0b42b4c435d..41d28e562aa6f83deb2cd090352fc8a0ab1e29c3 100644 (file)
@@ -34,19 +34,6 @@ ctype_test_002("ctype_xdigit");
 
 ?>
 --EXPECTF--
-LOCALE is '%s'
-ctype_lower 26 26 0
-ctype_upper 26 26 0
-ctype_alpha 52 52 0
-ctype_digit 10 10 0
-ctype_alnum 62 62 0
-ctype_cntrl 33 33 0
-ctype_graph 94 94 94
-ctype_print 95 95 95
-ctype_punct 32 32 0
-ctype_space 6 6 0
-ctype_xdigit 22 22 0
---UEXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s002.php on line %d
 
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s002.php on line %d
index 739b65e44d53f944c466de7aa503440cad9780a5..19c1680a1da69cd9ff2584ec3463771e85576db2 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_alnum() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_basic.php on line %d
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_basic.php on line %d
 ===DONE===
index 2c552a0d26d7c9512062b7ee7ba83414504da39d..87e18363cc9faf9cc36c75924e70a647c395efbd 100644 (file)
@@ -37,13 +37,17 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_alnum() : error conditions ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_error.php on line %d
+
 -- Testing ctype_alnum() function with Zero arguments --
 
-Warning: ctype_alnum() expects exactly 1 parameter, 0 given in %s on line %d
+Warning: ctype_alnum() expects exactly 1 parameter, 0 given in %sctype_alnum_error.php on line 17
 NULL
 
 -- Testing ctype_alnum() function with more than expected no. of arguments --
 
-Warning: ctype_alnum() expects exactly 1 parameter, 2 given in %s on line %d
+Warning: ctype_alnum() expects exactly 1 parameter, 2 given in %sctype_alnum_error.php on line 23
 NULL
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_error.php on line %d
 ===DONE===
index 2dc45313b9d0bd58f4f4e8d30da296b6a447d912..1a260702af52202f0f07b3601ca7897fd9b2e242 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_alnum() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation1.php on line %d
 ===DONE===
index e0a95c0c66d5ae8628e48487ef8db0c4d2a745b9..b4ede6c8af2857968613f0f8a40fa2b395329582 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_alnum() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation2.php on line 14
 character code 48 is alpha numeric
 character code 49 is alpha numeric
 character code 50 is alpha numeric
@@ -160,4 +162,6 @@ character code 252 is alpha numeric
 character code 253 is alpha numeric
 character code 254 is alpha numeric
 character code 255 is alpha numeric
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation2.php on line 22
 ===DONE===
index 57d82a13f2cead1e8cd5a7a06fa4c7c7039b94ae..2370570aff79f382b739f11a0a0b4b8b7b36e81a 100644 (file)
@@ -62,6 +62,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_alnum() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -130,4 +132,6 @@ bool(false)
 
 -- Iteration 23 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation3.php on line %d
 ===DONE===
index e40eae3d908b589bcd63b07c01a5a1c0cb0a14fa..ce13eae9c9cb66e87d4b9ba959906a63fceb72e8 100644 (file)
@@ -46,6 +46,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_alnum() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -65,4 +67,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alnum_variation4.php on line 34
 ===DONE===
index fbeaae81694dd15a209cd1e596d138fd461699c7..f689de64c16df327b51c1c8b437095c4b073f0e3 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_alpha() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_basic.php on line 17
 ===DONE===
index 9bc157d54224af8c56fb62d976f34981ca6a162c..b796a47d3ce5e1ec8eb27b559abe89c07ce2989c 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_alpha() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation1.php on line %d
 ===DONE===
index 785f33c3dd13d0275e12b92e884bc44e59f316b7..f7012aaeae1b9671d9dac11c08664fbcd100e0b0 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_alpha() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation2.php on line 14
 character code 65 is alphabetic
 character code 66 is alphabetic
 character code 67 is alphabetic
@@ -150,4 +152,6 @@ character code 252 is alphabetic
 character code 253 is alphabetic
 character code 254 is alphabetic
 character code 255 is alphabetic
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation2.php on line 22
 ===DONE===
index 842ab20058c2cef612c72e97ef5539604054600e..65c961d3caf916722b590b7e381437cbb91575e6 100644 (file)
@@ -63,6 +63,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_alpha() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -131,4 +133,6 @@ bool(false)
 
 -- Iteration 23 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation3.php on line %d
 ===DONE===
index f4348df815c05160647aae32588c700c172e428d..8bea42cac8b51ae2209a533ef0ac94c938172220 100644 (file)
@@ -46,6 +46,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_alpha() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -65,4 +67,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_alpha_variation4.php on line 34
 ===DONE===
index 34aa97725b17cd4193afdd86d0199cad65983ce8..7bcc5a182d6a74c0dc64adab0202f52a7892f765 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_cntrl() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_basic.php on line 17
 ===DONE===
index a708abd1ac01210e4123aa3d1ae66b046034fd93..9b007857bcc626fd8021eba7ff0d505e1ca30024 100644 (file)
@@ -107,6 +107,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_cntrl() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation1.php on line %d
+
 -- Iteration 1 --
 bool(true)
 
@@ -181,4 +183,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation1.php on line %d
 ===DONE===
index 109dff586837a7312c26bc3fd4e2b20726a257cb..925d189d428e73b910c9a6eec22cb58de004e874 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_cntrl() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation2.php on line 14
 character code 0 is control character
 character code 1 is control character
 character code 2 is control character
@@ -99,4 +101,6 @@ character code 157 is control character
 character code 158 is control character
 character code 159 is control character
 character code 173 is control character
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation2.php on line 22
 ===DONE===
index 91d2b7098e882ba0158fa82ccf30dacf728ad8ee..d2c9fe93971bbbb333259e4b8035ec3bb43c0894 100644 (file)
@@ -70,6 +70,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_cntrl() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -159,4 +161,6 @@ bool(false)
 
 -- Iteration 30 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation3.php on line %d
 ===DONE===
index f306e0c2e50abb9d4970a46dcc438077d730d545..782e7b4a3884359cf09c09607ba49f0a3e8ed907 100644 (file)
@@ -45,6 +45,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_cntrl() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -64,4 +66,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_cntrl_variation4.php on line 33
 ===DONE===
index 093fc31a994975be1bf805fd86a97f8a8bc52c2f..dc1a4eb18dd8acfeeb4ab990115163b0c10c35fe 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_digit() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_basic.php on line 17
 ===DONE===
index 26c805036751d1b2f615ee860e9fcf700d52d0fe..a1eeeeaf432e9397401de3a73d8dc17d4f981281 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_digit() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation1.php on line %d
 ===DONE===
index d4bf0f75c1531133d6bd29a6f7a5d06141ecabc0..3589f2fa838de97dd12161c07c34c404d7e10c1c 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_digit() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation2.php on line 14
 character code 48 is a numeric digit
 character code 49 is a numeric digit
 character code 50 is a numeric digit
@@ -43,4 +45,6 @@ character code 54 is a numeric digit
 character code 55 is a numeric digit
 character code 56 is a numeric digit
 character code 57 is a numeric digit
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation2.php on line 22
 ===DONE===
index e1575420ecbbd69ba3009aa499099af8af4792b0..b5a01eb857ace53ca111fbb09d729a4bb2d71b5c 100644 (file)
@@ -69,6 +69,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_digit() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -161,4 +163,6 @@ bool(false)
 
 -- Iteration 31 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation3.php on line %d
 ===DONE===
index 48bbaf7d647265efc384fc4d98247452e0f37db1..e426a4481e4c15ac5da4f177342b035872222c39 100644 (file)
@@ -46,6 +46,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_digit() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -65,4 +67,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_digit_variation4.php on line 34
 ===DONE===
index 767e926109d30152ac7ba364a5effe24a11ffd06..a2db4073f412c0da4fff2256898cc01223eb34d2 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_graph() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_basic.php on line 17
 ===DONE===
index cc9edd02f85a4fe268ba2d10e374f0bd9ae36b0d..00d0868b7e8414cc7598f0456713b37d65f2343c 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_graph() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation1.php on line %d
 ===DONE===
index 724a855623efe05aff712a49b78b3a78a8dd275b..e93a21559dea04a5a81055a12d272ea4ca556455 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_graph() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation2.php on line 14
 character code 33 is a printable character
 character code 34 is a printable character
 character code 35 is a printable character
@@ -221,4 +223,6 @@ character code 252 is a printable character
 character code 253 is a printable character
 character code 254 is a printable character
 character code 255 is a printable character
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation2.php on line 22
 ===DONE===
index fbfdc77d7d2531e9d3d4acb2c3ec53456c18b998..619272132b02bbdff3352b786fe34d99eaf9306c 100644 (file)
@@ -66,6 +66,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_graph() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -149,4 +151,6 @@ bool(false)
 
 -- Iteration 28 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation3.php on line %d
 ===DONE===
index 1b5ec017070faca49ac12a48531948e15bd3cce8..612e38258991af7b00699fb6d815b9dfc96bdac9 100644 (file)
@@ -46,6 +46,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_graph() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -65,4 +67,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_graph_variation4.php on line 34
 ===DONE===
index cde8732e3c407f5be84e8d39d3ce38a6b4a1dc65..54a179be79eaebe49c7f1ba2cb90f345b195c236 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_lower() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_basic.php on line 17
 ===DONE===
index f8ccc79aea6008e29f94be7a2d7d05b4d5de7caa..633328f0df4e6a5390b2435b6001a390f1824d1e 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_lower() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation1.php on line %d
 ===DONE===
index a381275aad6260da38a34e683577e168cfadf4d8..ac0d4f28bf5b99512a6bee6a0fbdc734a145b336 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_lower() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation2.php on line 14
 character code 97 is a lower case character
 character code 98 is a lower case character
 character code 99 is a lower case character
@@ -94,4 +96,6 @@ character code 252 is a lower case character
 character code 253 is a lower case character
 character code 254 is a lower case character
 character code 255 is a lower case character
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation2.php on line 22
 ===DONE===
index 7689ed183ee71f0b8d7af93b13e2f59b91d8fc7d..9e2f6723d96008772210be92a8ee6d0750981f7b 100644 (file)
@@ -64,6 +64,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_lower() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -141,4 +143,6 @@ bool(false)
 
 -- Iteration 26 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation3.php on line %d
 ===DONE===
index a8a61e5c3bad0a4bc4a4f51cb12c056ab4ea4f94..6186fd05b6796787302a6d8bc45e46b267fd0b0c 100644 (file)
@@ -46,6 +46,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_lower() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -65,4 +67,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_lower_variation4.php on line 34
 ===DONE===
index 57329e2a598e321e971d694d1a93db1dd48b4f47..d6047eee7a217786a01f1bc05b46187d1f556e34 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_print() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_basic.php on line 17
 ===DONE===
index dd75e98acda70056ac3d2ccfe90ca1999ae0de0e..77a6f9d6555e20081894a0e826c5fe1d43e6985b 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_print() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation1.php on line %d
 ===DONE===
index 21e76170e070b4d3dc3ed6bc8aa6e1acb9f22bb3..14ce35ff473e0a1cc94b0013e146c6eae3b82c78 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_print() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation2.php on line 14
 character code 32 is a printable character
 character code 33 is a printable character
 character code 34 is a printable character
@@ -223,4 +225,6 @@ character code 252 is a printable character
 character code 253 is a printable character
 character code 254 is a printable character
 character code 255 is a printable character
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation2.php on line 22
 ===DONE===
index 3b14c0d6c24a46dc2646f4f202ee02eef49682a4..6c0ed13ee586a0344b742910adcbbce938cc4278 100644 (file)
@@ -61,6 +61,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_print() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation3.php on line %d
+
 -- Iteration 1 --
 bool(true)
 
@@ -129,4 +131,6 @@ bool(true)
 
 -- Iteration 23 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation3.php on line %d
 ===DONE===
index 47dd8bb503481a513781fefb5c6bb44920c47cde..7631e256b3938728f6a96b388f178ee3f36766bb 100644 (file)
@@ -45,6 +45,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_print() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -64,4 +66,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_print_variation4.php on line 33
 ===DONE===
index 596402bb199c14c94d33ea00053911e15c278f9c..855ec8168388e66c3ac0b8e90463302585f12b87 100644 (file)
@@ -29,6 +29,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_punct() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_basic.php on line %d
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_basic.php on line %d
 ===DONE===
index 29c7c597fb71da733755d26a93f81c9fc9696556..19ec9386f308737a35ec51f66cd80cd7f4986fac 100644 (file)
@@ -38,13 +38,17 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_punct() : error conditions ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_error.php on line 14
+
 -- Testing ctype_punct() function with Zero arguments --
 
-Warning: ctype_punct() expects exactly 1 parameter, 0 given in %s on line %d
+Warning: ctype_punct() expects exactly 1 parameter, 0 given in %sctype_punct_error.php on line 18
 NULL
 
 -- Testing ctype_punct() function with more than expected no. of arguments --
 
-Warning: ctype_punct() expects exactly 1 parameter, 2 given in %s on line %d
+Warning: ctype_punct() expects exactly 1 parameter, 2 given in %sctype_punct_error.php on line 24
 NULL
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_error.php on line 26
 ===DONE===
index acee9c9f5c905f674c0c2262b1c49d951d277f11..412087da067edacdcfeadcbd55320028b8972500 100644 (file)
@@ -107,6 +107,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_punct() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -181,4 +183,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation1.php on line %d
 ===DONE===
index 4096f581418d5afa18d387cd7820db2f0bfe5067..8612ddf363e8f94187e254aaba5768c90f61c416 100644 (file)
@@ -34,6 +34,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_punct() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation2.php on line 15
 character code 33 is punctuation
 character code 34 is punctuation
 character code 35 is punctuation
@@ -62,4 +64,6 @@ character code 171 is punctuation
 character code 183 is punctuation
 character code 187 is punctuation
 character code 191 is punctuation
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation2.php on line 23
 ===DONE===
index c09d4fae2dfa4f1cc1fe480546fa3f9de2f332f0..ba0a33cf5cb2035143897c660148eb857ff3fa37 100644 (file)
@@ -64,6 +64,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_punct() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -141,4 +143,6 @@ bool(true)
 
 -- Iteration 26 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation3.php on line %d
 ===DONE===
index f1404e8c1169132e1f6d6446d6a6a0cb8e34bb2d..f5769d4aa37878293db5195dd0374a24a73bd575 100644 (file)
@@ -47,6 +47,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_punct() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation4.php on line 14
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -66,4 +68,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_punct_variation4.php on line 35
 ===DONE===
index 9f2233e4840cbfb3f830eb288b385671885d4188..3ec245db377117937665b52db45bc52240c9c125 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_space() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_basic.php on line 17
 ===DONE===
index cd2886ef1649978f69131f701e921b1c249eed60..63f6ad3c62d385cb139be95b632b304cf8d6dcc1 100644 (file)
@@ -37,13 +37,17 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_space() : error conditions ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_error.php on line 13
+
 -- Testing ctype_space() function with Zero arguments --
 
-Warning: ctype_space() expects exactly 1 parameter, 0 given in %s on line %d
+Warning: ctype_space() expects exactly 1 parameter, 0 given in %sctype_space_error.php on line 17
 NULL
 
 -- Testing ctype_space() function with more than expected no. of arguments --
 
-Warning: ctype_space() expects exactly 1 parameter, 2 given in %s on line %d
+Warning: ctype_space() expects exactly 1 parameter, 2 given in %sctype_space_error.php on line 23
 NULL
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_error.php on line 25
 ===DONE===
index c4160929cb21d7bb93a2ea78da6f576121ef7cca..66970c9bbb9f7cf07b7d61bbcee680fc8c67377a 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_space() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation1.php on line %d
 ===DONE===
index c46f531a802c8dd7836520440e7b4543b79134b1..3b3f06f29168ce0c57b060457760d860a4e37d15 100644 (file)
@@ -32,6 +32,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_space() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation2.php on line 14
 character code 9 is a space character
 character code 10 is a space character
 character code 11 is a space character
@@ -44,4 +46,6 @@ character code 31 is a space character
 character code 32 is a space character
 character code 133 is a space character
 character code 160 is a space character
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation2.php on line 21
 ===DONE===
index 55d1496f65b7fa803344131fd5dc05bd3310345a..1b2552aa6887234dc913295e9921d7dfbba18575 100644 (file)
@@ -64,6 +64,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_space() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -141,4 +143,6 @@ bool(true)
 
 -- Iteration 26 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation3.php on line %d
 ===DONE===
index 82df3f490e7261faa87ed6be76ba37d0bdcf290f..e5d5bfc98ebcc93a08b7e8a9b722f224de46a08f 100644 (file)
@@ -45,6 +45,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_space() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation4.php on line 13
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -72,4 +74,6 @@ bool(true)
 bool(true)
 -- Iteration 6 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_space_variation4.php on line 33
 ===DONE===
index 88028a5dc21ace92de87d820ed970a06aaee66ae..95ec55ae1019cd379c70831a2af5fcd9a4026ff6 100644 (file)
@@ -28,6 +28,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_upper() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_basic.php on line 9
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_basic.php on line 17
 ===DONE===
index 73b75c0b2586e8bcb0da292da20fc34ddc6df309..c74377a9fc401c52ed7dc365b8d15df9718949d0 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_upper() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation1.php on line %d
 ===DONE===
index 8d037d4f2c2f0a577511f44f3b7777796bcba796..5f751e3b10a3bc6fceac59d8fc4fdec9de52e716 100644 (file)
@@ -32,6 +32,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_upper() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation2.php on line 13
 character code 65 is a uppercase character
 character code 66 is a uppercase character
 character code 67 is a uppercase character
@@ -88,4 +90,6 @@ character code 219 is a uppercase character
 character code 220 is a uppercase character
 character code 221 is a uppercase character
 character code 222 is a uppercase character
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation2.php on line 21
 ===DONE===
index 93a5cb912b809e3ff1e765fa402a31b13763bc88..7f92a910a56d408235ce546b37efd6afc0196916 100644 (file)
@@ -63,6 +63,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_upper() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -140,4 +142,6 @@ bool(false)
 
 -- Iteration 26 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation3.php on line %d
 ===DONE===
index d3d464af9d3bbbb8d23a812465620d87c3d04238..35a2a4c355a3df9e7336c5ee9c24e516a238e13a 100644 (file)
@@ -45,6 +45,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_upper() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation4.php on line 12
+
 -- Octal Values --
 -- Iteration 1 --
 bool(true)
@@ -64,4 +66,6 @@ bool(true)
 bool(true)
 -- Iteration 4 --
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_upper_variation4.php on line 33
 ===DONE===
index fa4622332895d45f95571b0c70065132f1152446..b59b5775af3c07602fd1bcac1e1a1a8d4ab849a7 100644 (file)
@@ -27,6 +27,10 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_xdigit() : basic functionality ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_basic.php on line 8
 bool(true)
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_basic.php on line 16
 ===DONE===
index f3cebe36650d7b80d9e19c2d41f5ed2e9570cfc6..241d86f1a27757a0799db92ccb274b1eaf1140b9 100644 (file)
@@ -106,6 +106,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_xdigit() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation1.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -180,4 +182,6 @@ bool(false)
 
 -- Iteration 25 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation1.php on line %d
 ===DONE===
index dfb229e00bf2adfcb6d9573a0590674c2506081a..d00d5e297fadd0e17630901f4cf88bf1ecd6a453 100644 (file)
@@ -33,6 +33,8 @@ setlocale(LC_CTYPE, $orig);
 ===DONE===
 --EXPECTF--
 *** Testing ctype_xdigit() : usage variations ***
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation2.php on line 14
 character code 48 is a hexadecimal 'digit'
 character code 49 is a hexadecimal 'digit'
 character code 50 is a hexadecimal 'digit'
@@ -55,4 +57,6 @@ character code 99 is a hexadecimal 'digit'
 character code 100 is a hexadecimal 'digit'
 character code 101 is a hexadecimal 'digit'
 character code 102 is a hexadecimal 'digit'
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation2.php on line 22
 ===DONE===
index 698acfe66a5e49d547f443b3a9531a4021f40510..e9ae3a815f18ade69356394ad1a8b2b82c371add 100644 (file)
@@ -64,6 +64,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_xdigit() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation3.php on line %d
+
 -- Iteration 1 --
 bool(false)
 
@@ -141,4 +143,6 @@ bool(false)
 
 -- Iteration 26 --
 bool(false)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation3.php on line %d
 ===DONE===
index 7bccfe2a0ef9da9e85de53fdb20fd1136957523e..d74f15fde347ccb53b0e1821cbfb85bbcc7dbf81 100644 (file)
@@ -61,6 +61,8 @@ setlocale(LC_CTYPE, $orig);
 --EXPECTF--
 *** Testing ctype_xdigit() : usage variations ***
 
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation4.php on line 16
+
 -- Octal values --
 'Incorrect' Integers: 
 bool(false)
@@ -84,4 +86,6 @@ bool(true)
 bool(true)
 bool(true)
 bool(true)
+
+Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %sctype_xdigit_variation4.php on line 49
 ===DONE===
index 0d2cfa275b5974eae821f34dabc9dd49d3f4a309..66499fd2aad44da6650942ccb89168b22e820ae1 100644 (file)
@@ -11,41 +11,7 @@ for ($i = 0; $i < 32; $i++) {
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(4) "31st"
-string(3) "1st"
-string(3) "2nd"
-string(3) "3rd"
-string(3) "4th"
-string(3) "5th"
-string(3) "6th"
-string(3) "7th"
-string(3) "8th"
-string(3) "9th"
-string(4) "10th"
-string(4) "11th"
-string(4) "12th"
-string(4) "13th"
-string(4) "14th"
-string(4) "15th"
-string(4) "16th"
-string(4) "17th"
-string(4) "18th"
-string(4) "19th"
-string(4) "20th"
-string(4) "21st"
-string(4) "22nd"
-string(4) "23rd"
-string(4) "24th"
-string(4) "25th"
-string(4) "26th"
-string(4) "27th"
-string(4) "28th"
-string(4) "29th"
-string(4) "30th"
-string(4) "31st"
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(4) "31st"
 unicode(3) "1st"
 unicode(3) "2nd"
index 55317f7a763390c9f3e0eae823746ad843424226..8224dde01557126969b20f82b6c546abce4793cd 100644 (file)
@@ -25,53 +25,7 @@ foreach ($tz as $zone) {
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "2"
-string(3) "177"
-string(1) "6"
-string(2) "30"
-string(1) "0"
-string(2) "am"
-string(3) "041"
-string(2) "12"
-string(1) "0"
-string(1) "0"
-string(10) "1151366400"
-string(1) "2"
-string(3) "177"
-string(1) "6"
-string(2) "30"
-string(1) "0"
-string(2) "am"
-string(3) "041"
-string(1) "3"
-string(1) "3"
-string(5) "10800"
-string(10) "1151366400"
-string(1) "1"
-string(3) "176"
-string(1) "6"
-string(2) "30"
-string(1) "0"
-string(2) "pm"
-string(3) "041"
-string(1) "7"
-string(2) "19"
-string(6) "-18000"
-string(10) "1151366400"
-string(1) "2"
-string(3) "177"
-string(1) "6"
-string(2) "30"
-string(1) "0"
-string(2) "am"
-string(3) "041"
-string(1) "1"
-string(1) "1"
-string(4) "3600"
-string(10) "1151366400"
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "2"
 unicode(3) "177"
 unicode(1) "6"
index 7485214d48b76113f54ebf9377da5ef2b729199f..04051e44ae63c0a9fd0037f37450ffa6ab5b6d99 100644 (file)
@@ -20,7 +20,7 @@ var_dump(idate("'"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: idate() expects at least 1 parameter, 0 given in %s on line %d
 bool(false)
 
index 407242b161e7bab2ea8ee76b3b71ec5c719a681c..d1399026a64781e2d3ba49c5501cf6722f0fdd7c 100644 (file)
@@ -19,7 +19,7 @@ var_dump(checkdate(1,1,-1));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: checkdate() expects exactly 3 parameters, 0 given in %s on line %d
 bool(false)
 bool(true)
index e33e0e853e83a0b5fb9cf1d72a9a520e413fe361..db46a1ffbf56feb5e88aeff29645b03cfdd30d42 100644 (file)
@@ -15,91 +15,7 @@ var_dump(localtime($t, false));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: localtime() expects at most 2 parameters, 3 given in %s on line %d
-bool(false)
-array(9) {
-  [0]=>
-  int(%d)
-  [1]=>
-  int(%d)
-  [2]=>
-  int(%d)
-  [3]=>
-  int(%d)
-  [4]=>
-  int(%d)
-  [5]=>
-  int(%d)
-  [6]=>
-  int(%d)
-  [7]=>
-  int(%d)
-  [8]=>
-  int(%d)
-}
-array(9) {
-  [0]=>
-  int(0)
-  [1]=>
-  int(0)
-  [2]=>
-  int(0)
-  [3]=>
-  int(27)
-  [4]=>
-  int(5)
-  [5]=>
-  int(106)
-  [6]=>
-  int(2)
-  [7]=>
-  int(177)
-  [8]=>
-  int(0)
-}
-array(9) {
-  ["tm_sec"]=>
-  int(0)
-  ["tm_min"]=>
-  int(0)
-  ["tm_hour"]=>
-  int(0)
-  ["tm_mday"]=>
-  int(27)
-  ["tm_mon"]=>
-  int(5)
-  ["tm_year"]=>
-  int(106)
-  ["tm_wday"]=>
-  int(2)
-  ["tm_yday"]=>
-  int(177)
-  ["tm_isdst"]=>
-  int(0)
-}
-array(9) {
-  [0]=>
-  int(0)
-  [1]=>
-  int(0)
-  [2]=>
-  int(0)
-  [3]=>
-  int(27)
-  [4]=>
-  int(5)
-  [5]=>
-  int(106)
-  [6]=>
-  int(2)
-  [7]=>
-  int(177)
-  [8]=>
-  int(0)
-}
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: localtime() expects at most 2 parameters, 3 given in %s on line %d
 bool(false)
 array(9) {
index 9abdd447f7621ab62efdaf1ec42b3a1c2f34d73c..700366f7a85f55105f7c3a2e0d2cdd5a061af343 100644 (file)
@@ -13,59 +13,7 @@ var_dump(getdate());
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: getdate() expects at most 1 parameter, 2 given in %s on line %d
-bool(false)
-array(11) {
-  ["seconds"]=>
-  int(0)
-  ["minutes"]=>
-  int(0)
-  ["hours"]=>
-  int(0)
-  ["mday"]=>
-  int(27)
-  ["wday"]=>
-  int(2)
-  ["mon"]=>
-  int(6)
-  ["year"]=>
-  int(2006)
-  ["yday"]=>
-  int(177)
-  ["weekday"]=>
-  string(7) "Tuesday"
-  ["month"]=>
-  string(4) "June"
-  [0]=>
-  int(1151366400)
-}
-array(11) {
-  ["seconds"]=>
-  int(%d)
-  ["minutes"]=>
-  int(%d)
-  ["hours"]=>
-  int(%d)
-  ["mday"]=>
-  int(%d)
-  ["wday"]=>
-  int(%d)
-  ["mon"]=>
-  int(%d)
-  ["year"]=>
-  int(%d)
-  ["yday"]=>
-  int(%d)
-  ["weekday"]=>
-  string(%d) "%s"
-  ["month"]=>
-  string(%d) "%s"
-  [0]=>
-  int(%d)
-}
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: getdate() expects at most 1 parameter, 2 given in %s on line %d
 bool(false)
 array(11) {
index 4d569ae1776ea3e705a7f7d191bc2bd34ffb59f0..eb5b459154caedacd0f368539990cb05dab13faf 100644 (file)
@@ -25,26 +25,7 @@ var_dump(gmstrftime("blah", $t));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: strftime() expects at least 1 parameter, 0 given in %s on line %d
-bool(false)
-bool(false)
-string(%d) "Tue Tuesday Jun June Tue Jun 27 00:00:00 2006 %s
-%s %"
-string(5) "%q %a"
-string(%d) "%s"
-string(4) "blah"
-
-Warning: gmstrftime() expects at least 1 parameter, 0 given in %s on line %d
-bool(false)
-bool(false)
-string(%d) "Mon Monday Jun June Mon Jun 26 21:00:00 2006 %s
-%s %"
-string(5) "%q %a"
-string(%d) "%s"
-string(4) "blah"
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: strftime() expects at least 1 parameter, 0 given in %s on line %d
 bool(false)
 bool(false)
index e83cebda9116e0af18c53073e9a7eb180606a621..a0f2805b4ced28fc416e1851cec2c3c51ad154d1 100644 (file)
@@ -9,649 +9,6 @@ date.timezone=UTC
   echo "Done\n";
 ?>
 --EXPECTF--
-array(71) {
-  [0]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(16) "America/New_York"
-  }
-  [1]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Antigua"
-  }
-  [2]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(16) "America/Atikokan"
-  }
-  [3]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(21) "America/Cambridge_Bay"
-  }
-  [4]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(14) "America/Cancun"
-  }
-  [5]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(14) "America/Cayman"
-  }
-  [6]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Chicago"
-  }
-  [7]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(21) "America/Coral_Harbour"
-  }
-  [8]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Detroit"
-  }
-  [9]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(18) "America/Fort_Wayne"
-  }
-  [10]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(18) "America/Grand_Turk"
-  }
-  [11]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(28) "America/Indiana/Indianapolis"
-  }
-  [12]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(20) "America/Indiana/Knox"
-  }
-  [13]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(23) "America/Indiana/Marengo"
-  }
-  [14]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(26) "America/Indiana/Petersburg"
-  }
-  [15]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(21) "America/Indiana/Vevay"
-  }
-  [16]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(25) "America/Indiana/Vincennes"
-  }
-  [17]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(23) "America/Indiana/Winamac"
-  }
-  [18]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(20) "America/Indianapolis"
-  }
-  [19]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Iqaluit"
-  }
-  [20]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Jamaica"
-  }
-  [21]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(27) "America/Kentucky/Louisville"
-  }
-  [22]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(27) "America/Kentucky/Monticello"
-  }
-  [23]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Knox_IN"
-  }
-  [24]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(18) "America/Louisville"
-  }
-  [25]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Managua"
-  }
-  [26]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(17) "America/Menominee"
-  }
-  [27]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(14) "America/Merida"
-  }
-  [28]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(16) "America/Montreal"
-  }
-  [29]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(14) "America/Nassau"
-  }
-  [30]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Nipigon"
-  }
-  [31]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(14) "America/Panama"
-  }
-  [32]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(19) "America/Pangnirtung"
-  }
-  [33]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(22) "America/Port-au-Prince"
-  }
-  [34]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(20) "America/Rankin_Inlet"
-  }
-  [35]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(21) "America/Santo_Domingo"
-  }
-  [36]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(19) "America/Thunder_Bay"
-  }
-  [37]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "America/Toronto"
-  }
-  [38]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(14) "Canada/Eastern"
-  }
-  [39]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(3) "EST"
-  }
-  [40]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(7) "EST5EDT"
-  }
-  [41]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(7) "Jamaica"
-  }
-  [42]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(10) "US/Central"
-  }
-  [43]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(15) "US/East-Indiana"
-  }
-  [44]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(10) "US/Eastern"
-  }
-  [45]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(17) "US/Indiana-Starke"
-  }
-  [46]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(-18000)
-    ["timezone_id"]=>
-    string(11) "US/Michigan"
-  }
-  [47]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(13) "Australia/ACT"
-  }
-  [48]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(18) "Australia/Brisbane"
-  }
-  [49]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(18) "Australia/Canberra"
-  }
-  [50]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(16) "Australia/Currie"
-  }
-  [51]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(16) "Australia/Hobart"
-  }
-  [52]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(18) "Australia/Lindeman"
-  }
-  [53]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(19) "Australia/Melbourne"
-  }
-  [54]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(13) "Australia/NSW"
-  }
-  [55]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(20) "Australia/Queensland"
-  }
-  [56]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(16) "Australia/Sydney"
-  }
-  [57]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(18) "Australia/Tasmania"
-  }
-  [58]=>
-  array(3) {
-    ["dst"]=>
-    bool(false)
-    ["offset"]=>
-    int(36000)
-    ["timezone_id"]=>
-    string(18) "Australia/Victoria"
-  }
-  [59]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(19) "Australia/Melbourne"
-  }
-  [60]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(13) "Australia/ACT"
-  }
-  [61]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(18) "Australia/Brisbane"
-  }
-  [62]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(18) "Australia/Canberra"
-  }
-  [63]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(16) "Australia/Currie"
-  }
-  [64]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(16) "Australia/Hobart"
-  }
-  [65]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(18) "Australia/Lindeman"
-  }
-  [66]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(13) "Australia/NSW"
-  }
-  [67]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(20) "Australia/Queensland"
-  }
-  [68]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(16) "Australia/Sydney"
-  }
-  [69]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(18) "Australia/Tasmania"
-  }
-  [70]=>
-  array(3) {
-    ["dst"]=>
-    bool(true)
-    ["offset"]=>
-    int(39600)
-    ["timezone_id"]=>
-    string(18) "Australia/Victoria"
-  }
-}
-Done
---UEXPECTF--
 array(71) {
   [0]=>
   array(3) {
index bfba6d182b068a99d8a0806cfae517a976b3ca81..8b96509b45653a8c79cbb3f0029e8a70a484bebb 100644 (file)
@@ -21,22 +21,6 @@ echo "Done\n";
 ?>
 --EXPECTF--
 NULL
-string(19) "2006/01/23 00:00:00"
-
-Warning: date_isodate_set() expects at least 3 parameters, 2 given in %s on line %d
-bool(false)
-string(19) "2006/01/23 00:00:00"
-NULL
-string(19) "2006/01/30 00:00:00"
-NULL
-string(19) "2007/12/10 00:00:00"
-
-Warning: date_isodate_set() expects at most 4 parameters, 5 given in %s on line %d
-bool(false)
-string(19) "2007/12/10 00:00:00"
-Done
---UEXPECTF--
-NULL
 unicode(19) "2006/01/23 00:00:00"
 
 Warning: date_isodate_set() expects at least 3 parameters, 2 given in %s on line %d
index a0943613ac08f18f94841d988a07de0561f9d238..1b64716214347910501f0f00aca80de4a52f5680 100644 (file)
@@ -20,29 +20,6 @@ var_dump($dto->format("Y.m.d H:i:s"));
 echo "Done\n";
 ?>
 --EXPECTF--
-object(DateTime)#%d (3) {
-  ["date"]=>
-  string(19) "2006-12-12 00:00:00"
-  ["timezone_type"]=>
-  int(3)
-  ["timezone"]=>
-  string(3) "UTC"
-}
-string(19) "2006.12.12 00:00:00"
-
-Warning: date_date_set() expects exactly 4 parameters, 0 given in %s on line %d
-bool(false)
-string(19) "2006.12.12 00:00:00"
-
-Warning: date_date_set() expects exactly 4 parameters, 3 given in %s on line %d
-bool(false)
-string(19) "2006.12.12 00:00:00"
-NULL
-string(19) "2006.02.15 00:00:00"
-NULL
-string(19) "2008.01.29 00:00:00"
-Done
---UEXPECTF--
 object(DateTime)#%d (3) {
   [u"date"]=>
   unicode(19) "2006-12-12 00:00:00"
index d83947cf1ae017b08090dd46ea3d1f2331f1023e..84ab56f44e958bbea44c48f65e7a1dc4d54a5e98 100644 (file)
@@ -18,26 +18,7 @@ var_dump(timezone_offset_get($dto, $dtz));
 echo "Done\n";
 
 ?>
---EXPECTF-- 
-object(DateTime)#%d (3) {
-  ["date"]=>
-  string(19) "2006-12-12 00:00:00"
-  ["timezone_type"]=>
-  int(3)
-  ["timezone"]=>
-  string(3) "UTC"
-}
-object(DateTimeZone)#%d (0) {
-}
-
-Warning: timezone_offset_get() expects exactly 2 parameters, 0 given in %s on line %d
-bool(false)
-int(0)
-
-Warning: timezone_offset_get() expects parameter 1 to be DateTimeZone, object given in %s on line %d
-bool(false)
-Done
---UEXPECTF-- 
+--EXPECTF--
 object(DateTime)#%d (3) {
   [u"date"]=>
   unicode(19) "2006-12-12 00:00:00"
index 8aac915fb11bb1f585589854d04839d0dfe6f59c..c258b950c1b7b76311d0e5547e1618fd1da3ad9f 100644 (file)
@@ -8,18 +8,6 @@ var_dump(date_default_timezone_get());
 var_dump(gettimeofday());
 ?>
 --EXPECTF--
-string(3) "UTC"
-array(4) {
-  ["sec"]=>
-  int(%d)
-  ["usec"]=>
-  int(%d)
-  ["minuteswest"]=>
-  int(0)
-  ["dsttime"]=>
-  int(0)
-}
---UEXPECTF--
 unicode(3) "UTC"
 array(4) {
   [u"sec"]=>
index 9e21466d55e784b282306619778b7dd57b8778ed..c5983e2528994f909d93fa02aa0c8ae36353f361 100644 (file)
@@ -12,73 +12,6 @@ var_dump(date_parse(" \n "));
 --EXPECT--
 2005-11-20T08:00:00+0000
 2005-11-20T08:00:00+0000
-array(16) {
-  ["year"]=>
-  bool(false)
-  ["month"]=>
-  bool(false)
-  ["day"]=>
-  bool(false)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(true)
-  ["zone_type"]=>
-  int(2)
-  ["zone"]=>
-  int(-60)
-  ["is_dst"]=>
-  bool(false)
-  ["tz_abbr"]=>
-  string(1) "A"
-}
-array(12) {
-  ["year"]=>
-  bool(false)
-  ["month"]=>
-  bool(false)
-  ["day"]=>
-  bool(false)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
---UEXPECT--
-2005-11-20T08:00:00+0000
-2005-11-20T08:00:00+0000
 array(16) {
   [u"year"]=>
   bool(false)
index 6572d42601fd4dc1299f10735f0ec09d34f1b031..368d77b0150dd88c92db3cb93485e32b2ad3b050 100644 (file)
@@ -6,6 +6,4 @@ Bug #37616 (DATE_RFC822 does not product RFC 822 dates)
     var_dump(date(DATE_RFC822, strtotime("1 Jul 06 14:27:30 +0200")));
 ?>
 --EXPECT--
-string(29) "Sat, 01 Jul 06 14:27:30 +0200"
---UEXPECT--
 unicode(29) "Sat, 01 Jul 06 14:27:30 +0200"
index ee9c750b4021038d360a832ab5b0cef055ca1c53..7204646d3ddd350d2ecf44c5d4588c2ab4f51167 100644 (file)
@@ -13,45 +13,6 @@ echo $dt->format( DateTime::ISO8601 ), "\n";
 
 ?>
 --EXPECT--
-array(12) {
-  ["year"]=>
-  int(0)
-  ["month"]=>
-  int(0)
-  ["day"]=>
-  int(0)
-  ["hour"]=>
-  int(0)
-  ["minute"]=>
-  int(0)
-  ["second"]=>
-  int(0)
-  ["fraction"]=>
-  float(0)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-int(-62169984000)
-object(DateTime)#1 (3) {
-  ["date"]=>
-  string(20) "-0001-11-30 00:00:00"
-  ["timezone_type"]=>
-  int(3)
-  ["timezone"]=>
-  string(3) "UTC"
-}
--0001-11-30T00:00:00+0000
---UEXPECT--
 array(12) {
   [u"year"]=>
   int(0)
index 90148ccbc7ba5825718022b409983de1faa1ef26..df6189b69b1706913f6cd735b6f8a81fb134ced2 100644 (file)
@@ -13,45 +13,6 @@ echo $dt->format( DateTime::ISO8601 ), "\n";
 
 ?>
 --EXPECT--
-array(12) {
-  ["year"]=>
-  int(0)
-  ["month"]=>
-  int(0)
-  ["day"]=>
-  int(0)
-  ["hour"]=>
-  int(0)
-  ["minute"]=>
-  int(0)
-  ["second"]=>
-  int(0)
-  ["fraction"]=>
-  float(0)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-bool(false)
-object(DateTime)#1 (3) {
-  ["date"]=>
-  string(20) "-0001-11-30 00:00:00"
-  ["timezone_type"]=>
-  int(3)
-  ["timezone"]=>
-  string(3) "UTC"
-}
--0001-11-30T00:00:00+0000
---UEXPECT--
 array(12) {
   [u"year"]=>
   int(0)
index ae4ab3b671df168f4902aa02b0182f44fcbf2518..03eb873722776f2cb6faac985673784f04daf970 100644 (file)
@@ -40,27 +40,6 @@ echo "\n";
 NULL
 NULL
 
-int(-60)
-string(1) "A"
-
-int(-60)
-string(1) "A"
-
-int(-60)
-string(1) "A"
-
-int(-60)
-string(1) "A"
-
-int(-60)
-string(1) "A"
-
-int(-60)
-string(1) "A"
---UEXPECT--
-NULL
-NULL
-
 int(-60)
 unicode(1) "A"
 
index 1173408234a27de68a6cc2a15377815e86491f67..d31912ec8a55eef036b282ce9769a527592c20bf 100644 (file)
@@ -27,10 +27,4 @@ Bug #42910 (Constructing DateTime with TimeZone Indicator invalidates DateTimeZo
 2007-03-11T00:00:00-0800 - -08:00 - 1173600000
 2007-03-12T00:00:00-0700 - America/Los_Angeles - 1173682800
 2007-03-12T00:00:00-0800 - -08:00 - 1173686400
-string(12) "+0200 +02:00"
---UEXPECT--
-2007-03-11T00:00:00-0800 - America/Los_Angeles - 1173600000
-2007-03-11T00:00:00-0800 - -08:00 - 1173600000
-2007-03-12T00:00:00-0700 - America/Los_Angeles - 1173682800
-2007-03-12T00:00:00-0800 - -08:00 - 1173686400
 unicode(12) "+0200 +02:00"
index 8311fb9bc3479ee4b4d56abd0604f247fb423677..29a8bee6a9a67ce01a28f7eda2940968da72ffc7 100644 (file)
@@ -14,40 +14,6 @@ var_dump( date_get_last_errors() );
 ?>
 --EXPECT--
 bool(false)
-array(4) {
-  ["warning_count"]=>
-  int(1)
-  ["warnings"]=>
-  array(1) {
-    [6]=>
-    string(29) "Double timezone specification"
-  }
-  ["error_count"]=>
-  int(1)
-  ["errors"]=>
-  array(1) {
-    [0]=>
-    string(47) "The timezone could not be found in the database"
-  }
-}
-array(4) {
-  ["warning_count"]=>
-  int(1)
-  ["warnings"]=>
-  array(1) {
-    [6]=>
-    string(29) "Double timezone specification"
-  }
-  ["error_count"]=>
-  int(1)
-  ["errors"]=>
-  array(1) {
-    [0]=>
-    string(47) "The timezone could not be found in the database"
-  }
-}
---UEXPECT--
-bool(false)
 array(4) {
   [u"warning_count"]=>
   int(1)
index 1bf0025372f67dcd5a0e1a0cad7c266a19906479..b7959d398f3dc998b0d9da559fd3980d9d5b97c2 100644 (file)
@@ -39,41 +39,6 @@ Date constants
     );
 ?>
 --EXPECT--
-string(25) "2006-07-01T14:27:30+02:00"
-string(25) "2006-05-30T14:32:13+02:00"
-string(33) "Saturday, 01-Jul-06 14:27:30 CEST"
-string(32) "Tuesday, 30-May-06 14:32:13 CEST"
-string(24) "2006-07-01T14:27:30+0200"
-string(24) "2006-05-30T14:32:13+0200"
-string(29) "Sat, 01 Jul 06 14:27:30 +0200"
-string(29) "Tue, 30 May 06 14:32:13 +0200"
-string(33) "Saturday, 01-Jul-06 14:27:30 CEST"
-string(32) "Tuesday, 30-May-06 14:32:13 CEST"
-string(29) "Sat, 01 Jul 06 14:27:30 +0200"
-string(29) "Tue, 30 May 06 14:32:13 +0200"
-string(31) "Sat, 01 Jul 2006 14:27:30 +0200"
-string(31) "Tue, 30 May 2006 14:32:13 +0200"
-string(31) "Sat, 01 Jul 2006 14:27:30 +0200"
-string(31) "Tue, 30 May 2006 14:32:13 +0200"
-string(25) "2006-07-01T14:27:30+02:00"
-string(25) "2006-05-30T14:32:13+02:00"
-string(31) "Sat, 01 Jul 2006 14:27:30 +0200"
-string(31) "Tue, 30 May 2006 14:32:13 +0200"
-string(25) "2006-07-01T14:27:30+02:00"
-string(25) "2006-05-30T14:32:13+02:00"
-
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
-bool(true)
---UEXPECT--
 unicode(25) "2006-07-01T14:27:30+02:00"
 unicode(25) "2006-05-30T14:32:13+02:00"
 unicode(33) "Saturday, 01-Jul-06 14:27:30 CEST"
index e29f51ed60fd562ceb864304b3a226fc8a252577..6d29c43f4b9172be0056c70c816f88f342992aeb 100644 (file)
@@ -16,292 +16,7 @@ date.timezone=UTC
     var_dump(date_parse(array()));
     echo "Done\n";
 ?>
---EXPECTF--    
-array(12) {
-  ["year"]=>
-  int(2006)
-  ["month"]=>
-  int(12)
-  ["day"]=>
-  int(12)
-  ["hour"]=>
-  int(10)
-  ["minute"]=>
-  int(0)
-  ["second"]=>
-  int(0)
-  ["fraction"]=>
-  float(0.5)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-array(12) {
-  ["year"]=>
-  int(2006)
-  ["month"]=>
-  int(12)
-  ["day"]=>
-  int(12)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-array(15) {
-  ["year"]=>
-  int(2006)
-  ["month"]=>
-  int(12)
-  ["day"]=>
-  bool(false)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(1)
-  ["errors"]=>
-  array(1) {
-    [7]=>
-    string(20) "Unexpected character"
-  }
-  ["is_localtime"]=>
-  bool(true)
-  ["zone_type"]=>
-  int(1)
-  ["zone"]=>
-  int(720)
-  ["is_dst"]=>
-  bool(false)
-}
-array(12) {
-  ["year"]=>
-  int(2006)
-  ["month"]=>
-  int(2)
-  ["day"]=>
-  int(30)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-array(12) {
-  ["year"]=>
-  int(2006)
-  ["month"]=>
-  int(3)
-  ["day"]=>
-  int(4)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-array(12) {
-  ["year"]=>
-  int(2006)
-  ["month"]=>
-  int(3)
-  ["day"]=>
-  bool(false)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(0)
-  ["errors"]=>
-  array(0) {
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-array(15) {
-  ["year"]=>
-  bool(false)
-  ["month"]=>
-  bool(false)
-  ["day"]=>
-  bool(false)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(2)
-  ["errors"]=>
-  array(2) {
-    [0]=>
-    string(20) "Unexpected character"
-    [1]=>
-    string(20) "Unexpected character"
-  }
-  ["is_localtime"]=>
-  bool(true)
-  ["zone_type"]=>
-  int(1)
-  ["zone"]=>
-  int(180)
-  ["is_dst"]=>
-  bool(false)
-}
-array(15) {
-  ["year"]=>
-  bool(false)
-  ["month"]=>
-  bool(false)
-  ["day"]=>
-  bool(false)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(1)
-  ["errors"]=>
-  array(1) {
-    [0]=>
-    string(20) "Unexpected character"
-  }
-  ["is_localtime"]=>
-  bool(true)
-  ["zone_type"]=>
-  int(1)
-  ["zone"]=>
-  int(0)
-  ["is_dst"]=>
-  bool(false)
-}
-array(12) {
-  ["year"]=>
-  bool(false)
-  ["month"]=>
-  bool(false)
-  ["day"]=>
-  bool(false)
-  ["hour"]=>
-  bool(false)
-  ["minute"]=>
-  bool(false)
-  ["second"]=>
-  bool(false)
-  ["fraction"]=>
-  bool(false)
-  ["warning_count"]=>
-  int(0)
-  ["warnings"]=>
-  array(0) {
-  }
-  ["error_count"]=>
-  int(1)
-  ["errors"]=>
-  array(1) {
-    [0]=>
-    string(12) "Empty string"
-  }
-  ["is_localtime"]=>
-  bool(false)
-}
-
-Warning: date_parse() expects parameter 1 to be string, array given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 array(12) {
   [u"year"]=>
   int(2006)
index c995a5ca9599f457a25e6f88ef3b33fcc86e0278..1c3cdb432c9e9cd140a0599e26a6e99215bbdbe5 100644 (file)
@@ -8,29 +8,7 @@ $sun_info = date_sun_info(strtotime("2006-12-12"), 31.7667, 35.2333);
 var_dump($sun_info);
 echo "Done\n";
 ?>
---EXPECTF--    
-array(9) {
-  ["sunrise"]=>
-  int(1165897782)
-  ["sunset"]=>
-  int(1165934168)
-  ["transit"]=>
-  int(1165915975)
-  ["civil_twilight_begin"]=>
-  int(1165896176)
-  ["civil_twilight_end"]=>
-  int(1165935773)
-  ["nautical_twilight_begin"]=>
-  int(1165894353)
-  ["nautical_twilight_end"]=>
-  int(1165937597)
-  ["astronomical_twilight_begin"]=>
-  int(1165892570)
-  ["astronomical_twilight_end"]=>
-  int(1165939380)
-}
-Done
---UEXPECTF--
+--EXPECT--
 array(9) {
   [u"sunrise"]=>
   int(1165897782)
index 9cb366315b08439037b285ea9f8230a700347781..da565234f2a8fdf122fc7578b94e330b8d366101 100644 (file)
@@ -40,18 +40,6 @@ try {
 echo "DONE\n";
 ?>
 --EXPECTF--
-string(19) "%d-%d-%d %d:%d:%d"
-
-Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %soo_001.php on line %d
-bool(false)
-DateTime::__construct(): Failed to parse time string (1am todax) at position 4 (t): The timezone could not be found in the database
-string(3) "UTC"
-
-Warning: DateTimeZone::getName(): The DateTimeZone object has not been correctly initialized by its constructor in %soo_001.php on line %d
-bool(false)
-DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne)
-DONE
---UEXPECTF--
 unicode(19) "%d-%d-%d %d:%d:%d"
 
 Warning: DateTime::format(): The DateTime object has not been correctly initialized by its constructor in %soo_001.php on line %d
@@ -63,4 +51,3 @@ Warning: DateTimeZone::getName(): The DateTimeZone object has not been correctly
 bool(false)
 DateTimeZone::__construct(): Unknown or bad timezone (GottaFindThisOne)
 DONE
-
index 7bd0a7d72ff0af465bb5b0360620dd2465c9f1c6..891af7b4f880ab8ea88efb60bd49e37c124d5305 100644 (file)
@@ -20,13 +20,6 @@ $c = clone $t;
 var_dump($c->getName());
 ?>
 --EXPECT--
-string(29) "Wed, 01 Aug 07 13:00:00 +0000"
-string(29) "Wed, 01 Aug 07 13:00:00 +0000"
-string(29) "Wed, 01 Aug 07 14:00:00 +0000"
-string(29) "Wed, 01 Aug 07 12:59:59 +0000"
-string(10) "Asia/Tokyo"
-string(10) "Asia/Tokyo"
---UEXPECT--
 unicode(29) "Wed, 01 Aug 07 13:00:00 +0000"
 unicode(29) "Wed, 01 Aug 07 13:00:00 +0000"
 unicode(29) "Wed, 01 Aug 07 14:00:00 +0000"
index ff4da8996b8bbbf714bf41826dabdc059ba59239..d3c43b479341dcdb26be6e6c9ea464334ad67695 100644 (file)
@@ -22,12 +22,6 @@ foreach($d as $date) {
 }
 ?>
 --EXPECT--
-string(31) "Fri, 23 May 1997 09:15:28 +0000"
-string(31) "Sun, 31 Dec 2000 18:58:59 +0000"
-string(31) "Wed, 10 Apr 2080 10:10:10 +0000"
-
---UEXPECT--
 unicode(31) "Fri, 23 May 1997 09:15:28 +0000"
 unicode(31) "Sun, 31 Dec 2000 18:58:59 +0000"
 unicode(31) "Wed, 10 Apr 2080 10:10:10 +0000"
-
index f69de8abe786f84c399dc482b242d4367a5ca71c..c560418954c8a6b75e4a8a40215d85e5bd14595a 100755 (executable)
@@ -22,10 +22,6 @@ foreach($d as $date) {
 }
 ?>
 --EXPECT--
-string(31) "Fri, 23 May 1997 09:15:28 +0000"
-string(31) "Sun, 31 Dec 2000 18:58:59 +0000"
-bool(false)
---UEXPECT--
 unicode(31) "Fri, 23 May 1997 09:15:28 +0000"
 unicode(31) "Sun, 31 Dec 2000 18:58:59 +0000"
 bool(false)
index 44b7cf7882542ba9f115869b861c643a8a5d4261..e67ca423ab2ba3e7a6a1b83c1cbc693163e91951 100644 (file)
@@ -47,31 +47,6 @@ foreach ($strs as $str) {
 --EXPECT--
 bool(false)
 bool(false)
-string(31) "Thu, 15 Jun 2006 00:00:00 +0100"
-string(31) "Fri, 16 Jun 2006 22:49:12 +0100"
-bool(false)
-string(31) "Fri, 16 Jun 2006 23:49:12 +0100"
-bool(false)
-string(31) "Fri, 16 Jun 2006 02:22:00 +0100"
-string(31) "Mon, 16 Jun 0222 02:22:00 -0036"
-string(31) "Fri, 16 Jun 2006 02:22:33 +0100"
-bool(false)
-string(31) "Tue, 02 Mar 2004 00:00:00 +0000"
-string(31) "Tue, 02 Mar 2004 00:00:00 +0000"
-string(31) "Sun, 12 Feb 2006 23:12:23 +0000"
-bool(false)
-string(31) "Fri, 16 Jun 2006 00:00:00 +0100"
-string(31) "Sun, 15 Jan 2006 00:00:00 +0000"
-string(31) "Sun, 15 Jan 2006 00:00:00 +0000"
-string(31) "Tue, 10 Oct 2000 13:55:36 +0100"
-bool(false)
-string(31) "Fri, 16 Jun 2006 20:06:00 +0100"
-string(31) "Mon, 16 Jun 1986 22:51:59 +0100"
-string(31) "Mon, 16 Jan 2006 00:00:00 +0000"
-string(31) "Mon, 16 Jan 2006 00:00:00 +0000"
---UEXPECT--
-bool(false)
-bool(false)
 unicode(31) "Thu, 15 Jun 2006 00:00:00 +0100"
 unicode(31) "Fri, 16 Jun 2006 22:49:12 +0100"
 bool(false)
index fa9373d8231dc74b86a65df92aa80139f7c5153c..099a53890e5a9116d4184498712ed3241db6f1cb 100644 (file)
@@ -47,31 +47,6 @@ foreach ($strs as $str) {
 --EXPECT--
 bool(false)
 bool(false)
-string(31) "Thu, 15 Jun 2006 00:00:00 +0100"
-string(31) "Fri, 16 Jun 2006 22:49:12 +0100"
-bool(false)
-string(31) "Fri, 16 Jun 2006 23:49:12 +0100"
-bool(false)
-string(31) "Fri, 16 Jun 2006 02:22:00 +0100"
-bool(false)
-string(31) "Fri, 16 Jun 2006 02:22:33 +0100"
-bool(false)
-string(31) "Tue, 02 Mar 2004 00:00:00 +0000"
-string(31) "Tue, 02 Mar 2004 00:00:00 +0000"
-string(31) "Sun, 12 Feb 2006 23:12:23 +0000"
-bool(false)
-string(31) "Fri, 16 Jun 2006 00:00:00 +0100"
-string(31) "Sun, 15 Jan 2006 00:00:00 +0000"
-string(31) "Sun, 15 Jan 2006 00:00:00 +0000"
-string(31) "Tue, 10 Oct 2000 13:55:36 +0100"
-bool(false)
-string(31) "Fri, 16 Jun 2006 20:06:00 +0100"
-string(31) "Mon, 16 Jun 1986 22:51:59 +0100"
-string(31) "Mon, 16 Jan 2006 00:00:00 +0000"
-string(31) "Mon, 16 Jan 2006 00:00:00 +0000"
---UEXPECT--
-bool(false)
-bool(false)
 unicode(31) "Thu, 15 Jun 2006 00:00:00 +0100"
 unicode(31) "Fri, 16 Jun 2006 22:49:12 +0100"
 bool(false)
index 232bd7feceaf2af0ae98459af9abd6384773556c..24d1dddeb68c6c79a490a8c8dec061c1b7b331da 100644 (file)
@@ -8,6 +8,4 @@ error_reporting(E_ALL & ~E_STRICT); // hide e_strict warning about timezones
 var_dump( date_create( '@1202996091' )->format( 'c' ) );
 ?>
 --EXPECT--
-string(25) "2008-02-14T13:34:51+00:00"
---UEXPECT--
 unicode(25) "2008-02-14T13:34:51+00:00"
index b7c7de3bf7aa2139cbfe1a2c9749063d3e7240f6..1af979a1134a4fcb25b1101f77d910b95b9324b9 100755 (executable)
@@ -21,8 +21,6 @@ if (($db_make=dba_open($db_file, "n", 'cdb_make'))!==FALSE) {
 }
 ?>
 ===DONE===
---EXPECTF--
-string(32) "1f34b74bde3744265acfc21e0f30af95"
---UEXPECTF--
+--EXPECT--
 unicode(32) "1f34b74bde3744265acfc21e0f30af95"
 ===DONE===
index 3d617fb2c231f1bd99a7a13f2f5f8cc354709320..33f889ca4072850573ffd5233e0334b732ec2c0b 100644 (file)
@@ -18,4 +18,4 @@ DBA File Creation Test
 ?>
 --EXPECTF--
 database handler: %s
-database file created
\ No newline at end of file
+database file created
index efa36a5d0709b93047160b2751fce04bd9563a33..a9f32ed76f4ee7ad8baca25703c1ec4744090840 100644 (file)
@@ -34,4 +34,4 @@ DBA FirstKey/NextKey with 2 deletes
 ?>
 --EXPECTF--
 database handler: %s
-3NYNYY
\ No newline at end of file
+3NYNYY
index 577dacc68c1538a704475ead3292a0eafbb4d950..a0a2c57c8e3ab504b8f60773d480e293803e2182 100644 (file)
@@ -42,4 +42,4 @@ array(3) {
   string(%d) "%s/dba/tests/test1.dbm"
   [%d]=>
   string(%d) "%s/dba/tests/test2.dbm"
-}
\ No newline at end of file
+}
index 47d66a98980f925ae52d8ab844f5d1c3a379e064..fc54822b55c7ca076f7bffeb99739148cd97ccaa 100644 (file)
@@ -17,38 +17,6 @@ DBA CDB handler test
 database handler: cdb
 5YYYYY
 Content String 2
-array(5) {
-  ["key1"]=>
-  string(16) "Content String 1"
-  ["key2"]=>
-  string(16) "Content String 2"
-  ["key3"]=>
-  string(20) "Third Content String"
-  ["key4"]=>
-  string(22) "Another Content String"
-  ["key5"]=>
-  string(23) "The last content string"
-}
---NO-LOCK--
-5YYYYY
-Content String 2
-array(5) {
-  ["key1"]=>
-  string(16) "Content String 1"
-  ["key2"]=>
-  string(16) "Content String 2"
-  ["key3"]=>
-  string(20) "Third Content String"
-  ["key4"]=>
-  string(22) "Another Content String"
-  ["key5"]=>
-  string(23) "The last content string"
-}
-===DONE===
---UEXPECT--
-database handler: cdb
-5YYYYY
-Content String 2
 array(5) {
   [u"key1"]=>
   string(16) "Content String 1"
@@ -77,4 +45,3 @@ array(5) {
   string(23) "The last content string"
 }
 ===DONE===
-
index 49c8bd28c3d25e1bdbe44a9811858ed04f5f9be1..03e5900c3153f075c31e6f4e596f6cc5fb4b3472 100644 (file)
@@ -32,10 +32,5 @@ DBA CDB_MAKE handler test
 ?>
 --EXPECT--
 database handler: cdb_make
-string(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
-string(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
---UEXPECT--
-database handler: cdb_make
 unicode(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
 unicode(32) "12fc5ba2b9dcfef2480e5324eeb5f3e5"
-
index a0fbe7bccaee272c6503759ec725a58d0eeaf11e..ef6acac600de84e34216c3c5fb5ea612b5a107bf 100644 (file)
@@ -62,4 +62,4 @@ database handler: cdb
 #1122
 ?1212314
 #1212314
-=1231324
\ No newline at end of file
+=1231324
index ed1f7373028fba56c70bd97bdd1979e572c31e33..7d53157f5c1a45acddb9ffbf6f9fa2cb131abb10 100644 (file)
@@ -20,38 +20,6 @@ Content 2 replaced
 Read during write: not allowed
 Content 2 replaced 2nd time
 The 6th value
-array(3) {
-  ["key number 6"]=>
-  string(13) "The 6th value"
-  ["key2"]=>
-  string(27) "Content 2 replaced 2nd time"
-  ["key5"]=>
-  string(23) "The last content string"
-}
---NO-LOCK--
-3NYNYY
-Content String 2
-Content 2 replaced
-Read during write: not allowed
-Content 2 replaced 2nd time
-The 6th value
-array(3) {
-  ["key number 6"]=>
-  string(13) "The 6th value"
-  ["key2"]=>
-  string(27) "Content 2 replaced 2nd time"
-  ["key5"]=>
-  string(23) "The last content string"
-}
-===DONE===
---UEXPECT--
-database handler: flatfile
-3NYNYY
-Content String 2
-Content 2 replaced
-Read during write: not allowed
-Content 2 replaced 2nd time
-The 6th value
 array(3) {
   [u"key number 6"]=>
   string(13) "The 6th value"
@@ -76,4 +44,3 @@ array(3) {
   string(23) "The last content string"
 }
 ===DONE===
-
index c043210c967c4820b0d2fd2199a0cae46171f2dd..8d7c09ff16061bbe6b3ebb060f47047be461c26c 100644 (file)
@@ -20,38 +20,6 @@ Content 2 replaced
 Read during write: not allowed
 Content 2 replaced 2nd time
 The 6th value
-array(3) {
-  ["key number 6"]=>
-  string(13) "The 6th value"
-  ["key2"]=>
-  string(27) "Content 2 replaced 2nd time"
-  ["key5"]=>
-  string(23) "The last content string"
-}
---NO-LOCK--
-3NYNYY
-Content String 2
-Content 2 replaced
-Read during write: not allowed
-Content 2 replaced 2nd time
-The 6th value
-array(3) {
-  ["key number 6"]=>
-  string(13) "The 6th value"
-  ["key2"]=>
-  string(27) "Content 2 replaced 2nd time"
-  ["key5"]=>
-  string(23) "The last content string"
-}
-===DONE===
---UEXPECT--
-database handler: inifile
-3NYNYY
-Content String 2
-Content 2 replaced
-Read during write: not allowed
-Content 2 replaced 2nd time
-The 6th value
 array(3) {
   [u"key number 6"]=>
   string(13) "The 6th value"
@@ -76,4 +44,3 @@ array(3) {
   string(23) "The last content string"
 }
 ===DONE===
-
index 60106d5c9f49598275af71dde268a9790ca9c593..8d9c007ff019b70e87e1f1a0d4af3207156ed918 100644 (file)
@@ -45,26 +45,7 @@ var_dump(dbase_create("", ""));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-int(%d)
-string(38) "dbase_create(): unknown field type 'E'"
-bool(false)
-string(38) "dbase_create(): unknown field type '-'"
-bool(false)
-int(%d)
-string(71) "dbase_create(): expected field name as first element of list in field 0"
-bool(false)
-string(56) "dbase_create(): Unable to create database without fields"
-bool(false)
-string(67) "Argument 2 passed to dbase_create() must be an array, integer given"
-string(50) "dbase_create(): Expected array as second parameter"
-bool(false)
-string(%d) "unlink(%s001.dbf): No such file or directory"
-string(66) "Argument 2 passed to dbase_create() must be an array, string given"
-string(50) "dbase_create(): Expected array as second parameter"
-bool(false)
-Done
---UEXPECTF--   
+--EXPECTF--
 int(%d)
 unicode(38) "dbase_create(): unknown field type 'E'"
 bool(false)
index d5dd5c9e02c76bda77b30fb5488234b5051a99c9..38909781cbddc2b48e3c6156416ab50db342a4df 100644 (file)
@@ -34,7 +34,7 @@ var_dump(dbase_open($file, 0));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: dbase_open(): Invalid access mode -1 in %s on line %d
 bool(false)
 
index ee590de80c4c2bd022046be52f6585bc9163c0cd..3612b2f016be9d6e804e8fadf0ec649c6c65e42e 100644 (file)
@@ -32,4 +32,4 @@ CDATA Length (two appends): 8
 CDATA Content: data><&"
 
 <?xml version="1.0"?>
-<root><cdata><![CDATA[data><&"]]></cdata></root>
\ No newline at end of file
+<root><cdata><![CDATA[data><&"]]></cdata></root>
index c756f1665a8c4fcbd019d6b628a6d4d2d32e9a52..a5c21f0ad30779e11adcf9927b52fd51c40e4213 100644 (file)
@@ -16,6 +16,6 @@ $dom->saveXML();
 echo $dom->saveXML();
 
 ?>
---EXPECTF--
+--EXPECT--
 <?xml version="1.0"?>
-<!--test-comment-more-data-->
\ No newline at end of file
+<!--test-comment-more-data-->
index 89480f24ce9f0be64941c64dc2ffb7240a1855a0..50b8a99f53da65bf67f6fabb00dd9c7b770ad765 100644 (file)
@@ -33,4 +33,4 @@ Comment Length (two appends): 8
 Comment Content: data><&"
 
 <?xml version="1.0"?>
-<root><comment><!--data><&"--></comment></root>
\ No newline at end of file
+<root><comment><!--data><&"--></comment></root>
index 5a4857d6770b2f964d7f74ee83a5719d785434be..16fa55e40db3b84269f36f8deaf463f1b34fbbc2 100644 (file)
@@ -16,6 +16,6 @@ $dom->appendChild($comment);
 echo $dom->saveXML();
 
 ?>
---EXPECTF--
+--EXPECT--
 <?xml version="1.0"?>
 <!--test-inserted-comment-->
index 56922ac5185a545fcf2e2550f653573e58b03c44..bd72642e338b8c7d8e29d69b6304addd76b6b54a 100644 (file)
@@ -20,5 +20,5 @@ try {
 }
 
 ?>
---EXPECTF--
+--EXPECT--
 Throws DOMException for -ve offset
index d2affa89e7ca6f5f316b15807726065f907a6af1..73911cc3687a5292f1f081e358aaa2081f5d3818 100644 (file)
@@ -20,5 +20,5 @@ try {
 }
 
 ?>
---EXPECTF--
-Throws DOMException for offset too large
\ No newline at end of file
+--EXPECT--
+Throws DOMException for offset too large
index 10bf677ff349f2e0a038bd5f2c8e6db89fd4abd1..e58d24b6f5cd77a2013f5dee531d0ad3006b5429 100644 (file)
@@ -22,7 +22,7 @@ $dom->appendChild($comment);
 echo $dom->saveXML();
 
 ?>
---EXPECTF--
+--EXPECT--
 <?xml version="1.0"?>
 <!--testreplacedcomment-->
 <?xml version="1.0"?>
index 4ae4cb61da8fabf1404f61fe57d8df08c003c400..16ea993e3442947305151c16fecc2827acb62a51 100644 (file)
@@ -20,5 +20,5 @@ try {
 }
 
 ?>
---EXPECTF--
+--EXPECT--
 Throws DOMException for -ve offest
index 89614f9756a43ae8f2073e9939fa9b4528474816..fbf59d76dc707372d0bf084a07cdddbabb21ff1c 100644 (file)
@@ -20,5 +20,5 @@ try {
 }
 
 ?>
---EXPECTF--
-Throws DOMException for offest too large
\ No newline at end of file
+--EXPECT--
+Throws DOMException for offest too large
index 5205a3e30fd757bb2b4605147301068b95ca4570..d5044471e12f7b442efcc0764dc554d5ff534bc6 100644 (file)
@@ -21,4 +21,3 @@ echo $doc->saveXML();
 --EXPECT--
 <?xml version="1.0"?>
 <para hahaha=""/>
-
index 3b318d40d285d80b32f87941f5c2339c4150ceba..736e2f71f2d9714c934678e741f55730695c2898 100644 (file)
@@ -21,5 +21,5 @@ catch(Exception $e) {
 }
 
 ?>
---EXPECTF--
+--EXPECT--
 PASS
index 153b18b5a24cb298f74c4c29f75c4ffc91555a06..8f612fab3df678538485503ecf170c306db6632c 100644 (file)
@@ -24,4 +24,3 @@ catch (DOMException $e) {
 ?>
 --EXPECT--
 Test failed!
-
index f00493455ca80b6ec7f90f9077fb329dd869523c..d9631d8a4a694d790dfb1818be030b5d131936e1 100644 (file)
@@ -8,5 +8,5 @@ $attr = $dom->createAttribute('string');
 echo get_class($attr);
 
 ?>
---EXPECTF--
+--EXPECT--
 DOMAttr
index 616d1d837150bd39bc2053bc72bf7adf6d8119bb..839bd0f92344513e17777ecd5572eb5e9f20076a 100644 (file)
@@ -13,6 +13,6 @@ $doc = new DOMDocument();
 $doc->loadHTML("<html><body><p>Test<br></p></body></html>");
 echo $doc->saveHTML();
 ?>
---EXPECTF--
+--EXPECT--
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
 <html><body><p>Test<br></p></body></html>
index c7d1ead24b46a1c916cbbf0c04d8af1db73cada2..bcad72dce5fe45722b776112fbd1942d48ef6c34 100644 (file)
@@ -28,6 +28,5 @@ echo 'Wrote: ' . $doc->save($temp_filename) . ' bytes'; // Wrote: 72 bytes
        $temp_filename = dirname(__FILE__)."/DomDocument_save_basic.tmp";
        unlink($temp_filename);
 ?>
---EXPECTF--
+--EXPECT--
 Wrote: 72 bytes
-
index 34dfcc365e70fd3545c32c2523de1510e6ee2e8b..e03460248becd00e71ba0a5f3706b7bc22a6d992 100644 (file)
@@ -34,6 +34,6 @@ var_dump($result == $dom->saveXML());
 
 unlink($filename);
 
---EXPECTF--
+--EXPECT--
 int(151)
-bool(true)
\ No newline at end of file
+bool(true)
index 406f8d14ceccebee1bd57cddc9b0efb51a600eda..e5c88b2dce3878047f494939258a92d43c2a02fb 100644 (file)
@@ -31,7 +31,7 @@ $dom->loadXML('<root><a/><b/></root>');
 var_dump($dom->documentElement->hasChildNodes());
 
 ?>
---EXPECTF--
+--EXPECT--
 <?xml version="1.0"?>
 <root/>
 Document has child nodes
index 3a6f6b4218886a6f416837b020526553c78c68e4..e303110befa15fb6b2a2f1ac91ca441754652de2 100644 (file)
@@ -37,7 +37,7 @@ echo "Text has child nodes: ";
 var_dump($text->hasChildNodes());
 
 ?>
---EXPECTF--
+--EXPECT--
 Root has child nodes: bool(true)
 Title has child nodes: bool(true)
-Text has child nodes: bool(false)
\ No newline at end of file
+Text has child nodes: bool(false)
index 85cd502b26b7805a936ee5fe032d89c0a89489c3..eb5db6fb166a86fb40a81112ec3def49ce966796 100644 (file)
@@ -21,7 +21,7 @@ $e2->parentNode->insertBefore($e1, $e2);
 echo $dom->saveXML();
 
 ?>
---EXPECTF--
+--EXPECT--
 <?xml version="1.0"?>
 <root/>
 Add new node B
index 8ab9080f69ffbd8163c4877c8aa18935798448ba..fce6b289bd6baa7c888974bb24094ec4fb57a297 100644 (file)
@@ -57,8 +57,8 @@ echo "Number of child nodes of title after normalizing title = ";
 var_dump($title->childNodes->length);
 
 ?>
---EXPECTF--
+--EXPECT--
 Number of child nodes of title = int(1)
 Number of child nodes of title after adding second title = int(2)
 Number of child nodes of title after normalizing author = int(2)
-Number of child nodes of title after normalizing title = int(1)
\ No newline at end of file
+Number of child nodes of title after normalizing title = int(1)
index 6a28a9ae4558e8514d99e74e92dab5afb8806723..b066b8c5e25286e5f3ddf8850ad7380672c2dbfc 100644 (file)
@@ -32,4 +32,4 @@ Text Length (two appends): 8
 Text Content: data><&"
 
 <?xml version="1.0"?>
-<root><text>data&gt;&lt;&amp;"</text></root>
\ No newline at end of file
+<root><text>data&gt;&lt;&amp;"</text></root>
index 1d04ff3f1cad78e565bc5fab94ac3c9df796e1e8..e2113500931014d9ba6430c61e842b5126ba4e85 100644 (file)
@@ -25,18 +25,6 @@ var_dump($z->p_array);
 var_dump($z->p_variable);
 ?>
 --EXPECTF--
-array(4) {
-  [0]=>
-  string(5) "bonus"
-  [1]=>
-  string(3) "vir"
-  [2]=>
-  string(6) "semper"
-  [3]=>
-  string(4) "tiro"
-}
-string(30) "Cessante causa cessat effectus"
---UEXPECTF--
 array(4) {
   [0]=>
   unicode(5) "bonus"
index 712ae436da670f9572ebb0d39ed19e5b87702c84..6cdfa8cefca6025843b7fdd503cefb4ac0cce49c 100644 (file)
@@ -35,14 +35,6 @@ print $dom->saveXML();
 ?>
 --EXPECT--
 bool(false)
-string(0) ""
-string(8) "attranew"
-string(8) "attrbnew"
-string(5) "attrc"
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<foo xmlns="http://www.example.com/ns/foo" xmlns:fubar="http://www.example.com/ns/fubar" xmlns:default="http://www.example.com/ns/foo" attra="attra" default:attra="attranew" fubar:attrb="attrbnew" default:attrc="attrc"/>
---UEXPECT--
-bool(false)
 unicode(0) ""
 unicode(8) "attranew"
 unicode(8) "attrbnew"
index 4c3b907196ab6f4e893da4b55cb30054c2aa743c..fdae6dc78918e2d684aa133ba0ce5ef840a8bdd4 100644 (file)
@@ -22,4 +22,3 @@ print $dom2->saveXML();
 
 <?xml version="1.0" encoding="UTF-8"?>
 <foo/>
-
index 904712f4b1baa86e4429d5ad1c81f5bfd33cf8e5..017416e0d8a73f8861159b98d714f1b5c8d4a627 100644 (file)
@@ -19,4 +19,3 @@ print $attr->nodeValue;
 --EXPECT--
 
 newval
-
index a48a9906f0300587e396f6af29a9d6202cb88575..8afd8d70a079800a0864f412a8f47f9f8cee2ccf 100644 (file)
@@ -20,17 +20,6 @@ object(DOMNodeList)#%d (0) {
 int(0)
 bool(true)
 bool(true)
-string(0) ""
-bool(true)
-bool(true)
-bool(false)
-bool(false)
---UEXPECTF--
-object(DOMNodeList)#%d (0) {
-}
-int(0)
-bool(true)
-bool(true)
 unicode(0) ""
 bool(true)
 bool(true)
index d04f590acabbd5ff556126f85456c592486bc341..6e61a817a6829111783a144d9ce41210f2de593b 100644 (file)
@@ -42,4 +42,4 @@ Invalid Character Error
 Invalid Character Error
 Invalid Character Error
 Namespace Error
-<root/>
\ No newline at end of file
+<root/>
index 3c6819ce0371ee5e285a02fc6c81a94c2ec45e05..d2706621d4e0e120ef2cbfed424cac23c325baef 100644 (file)
@@ -31,31 +31,6 @@ dump($dom->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
 dump($doc->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
 ?>
 --EXPECT--
-string(3) "bar"
-string(5) "test1"
-string(3) "bar"
-string(5) "test2"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
-string(3) "bar"
-string(5) "test1"
-string(3) "bar"
-string(5) "test2"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
---UEXPECT--
 unicode(3) "bar"
 unicode(5) "test1"
 unicode(3) "bar"
index c6576b69bdbb19bfe8eb09f804f4348cf085ff8f..ec5317bd29e892f3b355708718ee343e61c399d4 100755 (executable)
@@ -31,31 +31,6 @@ dump($dom->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
 dump($doc->getElementsByTagNameNS('http://www.example.com/ns/fubar', 'bar'));
 ?>
 --EXPECT--
-string(3) "bar"
-string(5) "test1"
-string(3) "bar"
-string(5) "test2"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
-string(3) "bar"
-string(5) "test1"
-string(3) "bar"
-string(5) "test2"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
-string(9) "fubar:bar"
-string(5) "test3"
-string(9) "fubar:bar"
-string(5) "test4"
---UEXPECT--
 unicode(3) "bar"
 unicode(5) "test1"
 unicode(3) "bar"
index c1f4d22082943e2a2045a80f98d696bf6ef613c1..4ad7232623ac23bd73a66e640233588f22806852 100644 (file)
@@ -21,49 +21,6 @@ $rootNode->appendChild($rootNode);
 ?>
 --EXPECTF--
 --- Catch exception with try/catch
-object(DOMException)#%d (6) {
-  ["message":protected]=>
-  string(23) "Hierarchy Request Error"
-  ["string":"Exception":private]=>
-  string(0) ""
-  ["file":protected]=>
-  string(%d) "%sdom003.php"
-  ["line":protected]=>
-  int(8)
-  ["trace":"Exception":private]=>
-  array(1) {
-    [0]=>
-    array(6) {
-      ["file"]=>
-      string(%d) "%sdom003.php"
-      ["line"]=>
-      int(8)
-      ["function"]=>
-      string(11) "appendChild"
-      ["class"]=>
-      string(7) "DOMNode"
-      ["type"]=>
-      string(2) "->"
-      ["args"]=>
-      array(1) {
-        [0]=>
-        object(DOMElement)#%d (0) {
-        }
-      }
-    }
-  }
-  ["code"]=>
-  int(3)
-}
---- Don't catch exception with try/catch
-
-Fatal error: Uncaught exception 'DOMException' with message 'Hierarchy Request Error' in %sdom003.php:%d
-Stack trace:
-#0 %sdom003.php(13): DOMNode->appendChild(Object(DOMElement))
-#1 {main}
-  thrown in %sdom003.php on line %d
---UEXPECTF--
---- Catch exception with try/catch
 object(DOMException)#%d (6) {
   [u"message":protected]=>
   unicode(23) "Hierarchy Request Error"
index adb43fd0e5a48b9b4f43aaa466389b7aebf99592..292e429214920f9daf9f00c03f4a818040cd8912 100644 (file)
@@ -32,22 +32,6 @@ bool(true)
 --- child 0 ---
 object(DOMText)#%d (0) {
 }
-string(2) "
-       "
---- child 1 ---
-object(DOMComment)#%d (0) {
-}
-string(14) " Hello World! "
---- child 2 ---
-object(DOMText)#%d (0) {
-}
-string(1) "
-"
---UEXPECTF--
-bool(true)
---- child 0 ---
-object(DOMText)#%d (0) {
-}
 unicode(2) "
        "
 --- child 1 ---
@@ -59,4 +43,3 @@ object(DOMText)#%d (0) {
 }
 unicode(1) "
 "
-
index cd15aebcd1ba02480f0a953cf095640f46d79d07..2bc23a3719da71d89d782bfc7c2ef8d629d510a7 100644 (file)
@@ -29,11 +29,4 @@ bool(true)
 --- child 0 ---
 object(DOMComment)#%d (0) {
 }
-string(14) " Hello World! "
---UEXPECTF--
-bool(true)
---- child 0 ---
-object(DOMComment)#%d (0) {
-}
 unicode(14) " Hello World! "
-
index 0d24892ea44b0a55fcf999e5b7b6e2d6a315c2ef..3aad57145bef066bb8c2e6c3c547537b8d60dfcf 100644 (file)
@@ -31,41 +31,6 @@ try {
 
 ?>
 --EXPECTF--
-object(DOMException)#%d (6) {
-  ["message":protected]=>
-  string(20) "Wrong Document Error"
-  ["string":"Exception":private]=>
-  string(0) ""
-  ["file":protected]=>
-  string(%d) "%sdom_set_attr_node.php"
-  ["line":protected]=>
-  int(%d)
-  ["trace":"Exception":private]=>
-  array(1) {
-    [0]=>
-    array(6) {
-      ["file"]=>
-      string(%d) "%sdom_set_attr_node.php"
-      ["line"]=>
-      int(%d)
-      ["function"]=>
-      string(16) "setAttributeNode"
-      ["class"]=>
-      string(10) "DOMElement"
-      ["type"]=>
-      string(2) "->"
-      ["args"]=>
-      array(1) {
-        [0]=>
-        object(DOMAttr)#%d (0) {
-        }
-      }
-    }
-  }
-  ["code"]=>
-  int(4)
-}
---UEXPECTF--
 object(DOMException)#%d (6) {
   [u"message":protected]=>
   unicode(20) "Wrong Document Error"
index fb643cfceec87605c2a7611ee13866756213fb1d..d13952e449d8f4cba8ff299bb731204a9b8e0347 100644 (file)
@@ -96,4 +96,3 @@ string(85) "<foo:child xmlns:foo="urn::foo" foo:bar="2" xml:id="id2">data &amp;
 <root xmlns:foo="urn::foo"><child1 imported="1"><?php echo 'Hello World'; ?></child1></root>
 
 Output is identical
-
index 82396b521816237d2148d51b21e021874e282922..dc2186e66d0c2dae927a0ea389f0f6b7bcaa6357 100644 (file)
@@ -55,4 +55,4 @@ var_dump($avg);
 myval
 float(1)
 bool(true)
-float(4)
\ No newline at end of file
+float(4)
index b15e3d0cd1a6dcca90b27eeb41989fded631d3f9..563e07a6ef373750b981527dcba6ae14895a92b4 100644 (file)
@@ -161,99 +161,6 @@ Arg value
 string(0) ""
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-string(6) "Object"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing ereg_replace() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-string(1) "0"
-
-Arg value 1 
-string(9) "new value"
-
-Arg value 12345 
-string(13) "new value2345"
-
-Arg value -2345 
-string(5) "-2345"
-
-Arg value 10.5 
-string(12) "new value0.5"
-
-Arg value -10.5 
-string(13) "-new value0.5"
-
-Arg value 101234567000 
-string(28) "new value0new value234567000"
-
-Arg value 1.07654321E-9 
-string(29) "new value.0765432new valueE-9"
-
-Arg value 0.5 
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(9) "new value"
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(9) "new value"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
index ee8bbb706b7a696ecc3f9277a7e25c4cfb64f50b..e6baa6dd8704cab326b0b965b5a9082e2e6ec41e 100644 (file)
@@ -168,107 +168,6 @@ Error: 2 - ereg(): REG_EMPTY, %s(75)
 bool(false)
 Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(75)
-Error: 8 - Object of class stdClass to string conversion, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-Done
---UEXPECTF--
-*** Testing ereg() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(65)
-Error: 8 - Undefined variable: unset_var, %s(68)
-
-Arg value 0 
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value 12345 
-bool(false)
-
-Arg value -2345 
-bool(false)
-
-Arg value 10.5 
-bool(false)
-
-Arg value -10.5 
-bool(false)
-
-Arg value 101234567000 
-bool(false)
-
-Arg value 1.07654321E-9 
-bool(false)
-
-Arg value 0.5 
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - ereg(): REG_EMPTY, %s(75)
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(75)
 Error: 8 - Object of class stdClass to string conversion, %s(75)
@@ -281,4 +180,4 @@ bool(false)
 Arg value  
 Error: 2 - ereg(): REG_EMPTY, %s(75)
 bool(false)
-Done
\ No newline at end of file
+Done
index 737df62ef0cdf33f8a5df67ac7e0314a0d09b562..91364f12bd1dfd947f2cc0dc01efc9aa2e0d3d79 100644 (file)
@@ -161,99 +161,6 @@ Arg value
 bool(false)
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-Done
---UEXPECTF--
-*** Testing ereg() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value 12345 
-int(1)
-
-Arg value -2345 
-bool(false)
-
-Arg value 10.5 
-int(1)
-
-Arg value -10.5 
-int(1)
-
-Arg value 101234567000 
-int(1)
-
-Arg value 1.07654321E-9 
-int(1)
-
-Arg value 0.5 
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
@@ -264,4 +171,4 @@ bool(false)
 
 Arg value  
 bool(false)
-Done
\ No newline at end of file
+Done
index 8272804c96f119c0bc5b7c82f8a221b07281389b..0431959334d033ec026c7e76c0cf5b31649cc46c 100644 (file)
@@ -161,99 +161,6 @@ Arg value
 string(0) ""
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-string(6) "Object"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing eregi_replace() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-string(1) "0"
-
-Arg value 1 
-string(9) "new value"
-
-Arg value 12345 
-string(13) "new value2345"
-
-Arg value -2345 
-string(5) "-2345"
-
-Arg value 10.5 
-string(12) "new value0.5"
-
-Arg value -10.5 
-string(13) "-new value0.5"
-
-Arg value 101234567000 
-string(28) "new value0new value234567000"
-
-Arg value 1.07654321E-9 
-string(29) "new value.0765432new valueE-9"
-
-Arg value 0.5 
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-string(5) "Array"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(9) "new value"
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(9) "new value"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
@@ -264,4 +171,4 @@ string(0) ""
 
 Arg value  
 string(0) ""
-Done
\ No newline at end of file
+Done
index e201667520c6eb745524bd258724cf221c43366c..977e5b447ca7076df7bdd08785babb10e98ad39a 100644 (file)
@@ -168,107 +168,6 @@ Error: 2 - eregi(): REG_EMPTY, %s(75)
 bool(false)
 Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(75)
-Error: 8 - Object of class stdClass to string conversion, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-Done
---UEXPECTF--
-*** Testing eregi() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(65)
-Error: 8 - Undefined variable: unset_var, %s(68)
-
-Arg value 0 
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value 12345 
-bool(false)
-
-Arg value -2345 
-bool(false)
-
-Arg value 10.5 
-bool(false)
-
-Arg value -10.5 
-bool(false)
-
-Arg value 101234567000 
-bool(false)
-
-Arg value 1.07654321E-9 
-bool(false)
-
-Arg value 0.5 
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-Error: 8 - Array to string conversion, %s(74)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-
-Arg value  
-Error: 2 - eregi(): REG_EMPTY, %s(75)
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(75)
 Error: 8 - Object of class stdClass to string conversion, %s(75)
index 88f9c7dfedf0668f0e1d6b046c107e100dd8eec8..0dc38259ad053fcbe09d9fa69097d86cb686c525 100644 (file)
@@ -161,99 +161,6 @@ Arg value
 bool(false)
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-Done
---UEXPECTF--
-*** Testing eregi() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value 12345 
-int(1)
-
-Arg value -2345 
-bool(false)
-
-Arg value 10.5 
-int(1)
-
-Arg value -10.5 
-int(1)
-
-Arg value 101234567000 
-int(1)
-
-Arg value 1.07654321E-9 
-int(1)
-
-Arg value 0.5 
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-bool(false)
-
-Arg value 1 
-int(1)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-
-Arg value  
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
index 39c54fe6805dcb9ff527b421edf016599621b1ec..397da8724ce0341e0d23750a801c3af678080998 100644 (file)
@@ -243,186 +243,6 @@ Error: 2 - split(): REG_EMPTY, %s(74)
 bool(false)
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-Done
---UEXPECTF--
-*** Testing split() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 1 
-array(4) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(3) " a "
-  [2]=>
-  string(7) " Array "
-  [3]=>
-  string(3) " c "
-}
-
-Arg value 12345 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value -2345 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 10.5 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value -10.5 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 101234567000 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 1.07654321E-9 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 0.5 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value 1 
-array(4) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(3) " a "
-  [2]=>
-  string(7) " Array "
-  [3]=>
-  string(3) " c "
-}
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value 1 
-array(4) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(3) " a "
-  [2]=>
-  string(7) " Array "
-  [3]=>
-  string(3) " c "
-}
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - split(): REG_EMPTY, %s(74)
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
@@ -438,4 +258,4 @@ bool(false)
 Arg value  
 Error: 2 - split(): REG_EMPTY, %s(74)
 bool(false)
-Done
\ No newline at end of file
+Done
index 7a4e8e71deac63611af0a8e56d6ed05a2558e8b5..b40d58354deaa18cf825767e2ec48afc4be8fc44 100644 (file)
@@ -249,198 +249,6 @@ array(1) {
 }
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(2) "Ob"
-  [1]=>
-  string(3) "ect"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-Done
---UEXPECTF--
-*** Testing split() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-array(1) {
-  [0]=>
-  string(1) "0"
-}
-
-Arg value 1 
-array(1) {
-  [0]=>
-  string(1) "1"
-}
-
-Arg value 12345 
-array(1) {
-  [0]=>
-  string(5) "12345"
-}
-
-Arg value -2345 
-array(1) {
-  [0]=>
-  string(5) "-2345"
-}
-
-Arg value 10.5 
-array(1) {
-  [0]=>
-  string(4) "10.5"
-}
-
-Arg value -10.5 
-array(1) {
-  [0]=>
-  string(5) "-10.5"
-}
-
-Arg value 101234567000 
-array(1) {
-  [0]=>
-  string(12) "101234567000"
-}
-
-Arg value 1.07654321E-9 
-array(2) {
-  [0]=>
-  string(10) "1.07654321"
-  [1]=>
-  string(2) "-9"
-}
-
-Arg value 0.5 
-array(1) {
-  [0]=>
-  string(3) "0.5"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value 1 
-array(1) {
-  [0]=>
-  string(1) "1"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value 1 
-array(1) {
-  [0]=>
-  string(1) "1"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
index a811e144bd2909c3ea3faca7674f6ad91f2554fd..a2d43f583699c3825e44d536b07f7b6b75bce54f 100644 (file)
@@ -243,186 +243,6 @@ Error: 2 - spliti(): REG_EMPTY, %s(74)
 bool(false)
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-Done
---UEXPECTF--
-*** Testing spliti() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 1 
-array(4) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(3) " a "
-  [2]=>
-  string(7) " Array "
-  [3]=>
-  string(3) " c "
-}
-
-Arg value 12345 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value -2345 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 10.5 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value -10.5 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 101234567000 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 1.07654321E-9 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-
-Arg value 0.5 
-array(1) {
-  [0]=>
-  string(16) "1 a 1 Array 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(2) {
-  [0]=>
-  string(6) "1 a 1 "
-  [1]=>
-  string(5) " 1 c "
-}
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value 1 
-array(4) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(3) " a "
-  [2]=>
-  string(7) " Array "
-  [3]=>
-  string(3) " c "
-}
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value 1 
-array(4) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(3) " a "
-  [2]=>
-  string(7) " Array "
-  [3]=>
-  string(3) " c "
-}
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-
-Arg value  
-Error: 2 - spliti(): REG_EMPTY, %s(74)
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
index 6b311dfc703535fc14b73af2d484e118492cc7ba..82316164d95b2363675b7dbf1fc30f68649a4889 100644 (file)
@@ -249,200 +249,6 @@ array(1) {
 }
 Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(74)
-Error: 8 - Object of class stdClass to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(2) "Ob"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ct"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-Done
---UEXPECTF--
-*** Testing spliti() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(64)
-Error: 8 - Undefined variable: unset_var, %s(67)
-
-Arg value 0 
-array(1) {
-  [0]=>
-  string(1) "0"
-}
-
-Arg value 1 
-array(1) {
-  [0]=>
-  string(1) "1"
-}
-
-Arg value 12345 
-array(1) {
-  [0]=>
-  string(5) "12345"
-}
-
-Arg value -2345 
-array(1) {
-  [0]=>
-  string(5) "-2345"
-}
-
-Arg value 10.5 
-array(1) {
-  [0]=>
-  string(4) "10.5"
-}
-
-Arg value -10.5 
-array(1) {
-  [0]=>
-  string(5) "-10.5"
-}
-
-Arg value 101234567000 
-array(1) {
-  [0]=>
-  string(12) "101234567000"
-}
-
-Arg value 1.07654321E-9 
-array(2) {
-  [0]=>
-  string(10) "1.07654321"
-  [1]=>
-  string(2) "-9"
-}
-
-Arg value 0.5 
-array(1) {
-  [0]=>
-  string(3) "0.5"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(74)
-array(3) {
-  [0]=>
-  string(1) "A"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(2) "ay"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value 1 
-array(1) {
-  [0]=>
-  string(1) "1"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value 1 
-array(1) {
-  [0]=>
-  string(1) "1"
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  [0]=>
-  string(0) ""
-}
-Error: 4096 - Object of class stdClass could not be converted to string, %s(73)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(74)
 Error: 8 - Object of class stdClass to string conversion, %s(74)
index 7746098b1fb42ced02292137bf3eb60ba27d7869..3d275356cd98c3afde4e70d568f7da6895e096fa 100644 (file)
@@ -159,99 +159,6 @@ Arg value
 string(0) ""
 Error: 4096 - Object of class stdClass could not be converted to string, %s(71)
 
-Arg value  
-Error: 4096 - Object of class stdClass could not be converted to string, %s(72)
-Error: 8 - Object of class stdClass to string conversion, %s(72)
-string(24) "[Oo][Bb][Jj][Ee][Cc][Tt]"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing sql_regcase() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(62)
-Error: 8 - Undefined variable: unset_var, %s(65)
-
-Arg value 0 
-string(1) "0"
-
-Arg value 1 
-string(1) "1"
-
-Arg value 12345 
-string(5) "12345"
-
-Arg value -2345 
-string(5) "-2345"
-
-Arg value 10.5 
-string(4) "10.5"
-
-Arg value -10.5 
-string(5) "-10.5"
-
-Arg value 101234567000 
-string(12) "101234567000"
-
-Arg value 1.07654321E-9 
-string(16) "1.07654321[Ee]-9"
-
-Arg value 0.5 
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(71)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(72)
-string(20) "[Aa][Rr][Rr][Aa][Yy]"
-Error: 8 - Array to string conversion, %s(71)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(72)
-string(20) "[Aa][Rr][Rr][Aa][Yy]"
-Error: 8 - Array to string conversion, %s(71)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(72)
-string(20) "[Aa][Rr][Rr][Aa][Yy]"
-Error: 8 - Array to string conversion, %s(71)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(72)
-string(20) "[Aa][Rr][Rr][Aa][Yy]"
-Error: 8 - Array to string conversion, %s(71)
-
-Arg value Array 
-Error: 8 - Array to string conversion, %s(72)
-string(20) "[Aa][Rr][Rr][Aa][Yy]"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(1) "1"
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(1) "1"
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Error: 4096 - Object of class stdClass could not be converted to string, %s(71)
-
 Arg value  
 Error: 4096 - Object of class stdClass could not be converted to binary string, %s(72)
 Error: 8 - Object of class stdClass to string conversion, %s(72)
@@ -262,4 +169,4 @@ string(0) ""
 
 Arg value  
 string(0) ""
-Done
\ No newline at end of file
+Done
index 15588306d4f50f035237aa968eabb5a3b035f8f4..92a36b331215f06c901bb69cb7c59a8968876660 100644 (file)
@@ -15,74 +15,6 @@ zlib.output_compression=0
 var_dump(exif_read_data(dirname(__FILE__).'/test2.jpg','',true,false));
 ?>
 --EXPECTF--
-array(5) {
-  ["FILE"]=>
-  array(6) {
-    ["FileName"]=>
-    string(9) "test2.jpg"
-    ["FileDateTime"]=>
-    int(%d)
-    ["FileSize"]=>
-    int(1240)
-    ["FileType"]=>
-    int(2)
-    ["MimeType"]=>
-    string(10) "image/jpeg"
-    ["SectionsFound"]=>
-    string(33) "ANY_TAG, IFD0, THUMBNAIL, COMMENT"
-  }
-  ["COMPUTED"]=>
-  array(12) {
-    ["html"]=>
-    string(20) "width="1" height="1""
-    ["Height"]=>
-    int(1)
-    ["Width"]=>
-    int(1)
-    ["IsColor"]=>
-    int(1)
-    ["ByteOrderMotorola"]=>
-    int(1)
-    ["UserComment"]=>
-    string(16) "Exif test image."
-    ["UserCommentEncoding"]=>
-    string(5) "ASCII"
-    ["Copyright"]=>
-    string(41) "Photo (c) M.Boerger, Edited by M.Boerger."
-    ["Copyright.Photographer"]=>
-    string(19) "Photo (c) M.Boerger"
-    ["Copyright.Editor"]=>
-    string(20) "Edited by M.Boerger."
-    ["Thumbnail.FileType"]=>
-    int(2)
-    ["Thumbnail.MimeType"]=>
-    string(10) "image/jpeg"
-  }
-  ["IFD0"]=>
-  array(2) {
-    ["Copyright"]=>
-    string(19) "Photo (c) M.Boerger"
-    ["UserComment"]=>
-    string(5) "ASCII"
-  }
-  ["THUMBNAIL"]=>
-  array(2) {
-    ["JPEGInterchangeFormat"]=>
-    int(134)
-    ["JPEGInterchangeFormatLength"]=>
-    int(523)
-  }
-  ["COMMENT"]=>
-  array(3) {
-    [0]=>
-    string(11) "Comment #1."
-    [1]=>
-    string(11) "Comment #2."
-    [2]=>
-    string(13) "Comment #3end"
-  }
-}
---UEXPECTF--
 array(5) {
   [u"FILE"]=>
   array(6) {
index 9edba0a618c8f133269e92ed3b63cc218e63df33..4b5e7c9e27002fd6bcce3da05f4b87369e7d1a84 100644 (file)
@@ -14,13 +14,6 @@ $image  = exif_read_data(dirname(__FILE__).'/test5.jpg','',true,false);
 var_dump($image['IFD0']);
 ?>
 --EXPECT--
-array(2) {
-  ["ImageDescription"]=>
-  string(11) "Ifd00000009"
-  ["DateTime"]=>
-  string(19) "2002:10:18 20:06:00"
-}
---UEXPECTF--
 array(2) {
   [u"ImageDescription"]=>
   string(11) "Ifd00000009"
index a071c7e8bccf2c8bc955fd7cab2bcd47cfbf8ddf..fee185a92db72c8572808a0afe2907eeb96d0317 100644 (file)
@@ -16,21 +16,7 @@ var_dump(filter_id(0,0,0));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-int(513)
-int(513)
-int(518)
-int(257)
-bool(false)
-
-Warning: filter_id() expects parameter 1 to be string, array given in %s on line %d
-NULL
-bool(false)
-
-Warning: filter_id() expects exactly 1 parameter, 3 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 int(513)
 int(513)
 int(518)
index d6c654d22ae6b269ed0ed2dbee614ed1bfb2bc84..e24a947e72268fcb872f20a99f1d3cb613891a37 100644 (file)
@@ -44,27 +44,6 @@ echo "\nDone image_type_to_mime_type() test\n";
 --EXPECT--
 Starting image_type_to_mime_type() test
 
-string(9) "image/gif"
-string(10) "image/jpeg"
-string(9) "image/png"
-string(29) "application/x-shockwave-flash"
-string(9) "image/psd"
-string(9) "image/bmp"
-string(10) "image/tiff"
-string(10) "image/tiff"
-string(24) "application/octet-stream"
-string(9) "image/jp2"
-string(24) "application/octet-stream"
-string(24) "application/octet-stream"
-string(9) "image/iff"
-string(18) "image/vnd.wap.wbmp"
-string(24) "application/octet-stream"
-string(9) "image/xbm"
-
-Done image_type_to_mime_type() test
---UEXPECT--
-Starting image_type_to_mime_type() test
-
 unicode(9) "image/gif"
 unicode(10) "image/jpeg"
 unicode(9) "image/png"
@@ -82,4 +61,4 @@ unicode(18) "image/vnd.wap.wbmp"
 unicode(24) "application/octet-stream"
 unicode(9) "image/xbm"
 
-Done image_type_to_mime_type() test
\ No newline at end of file
+Done image_type_to_mime_type() test
index afa602987deeae0d08e9cc3e793c98e66d361f76..09da72d550c6069a92f7bd4304a524f4dd4d4e9e 100644 (file)
@@ -55,29 +55,6 @@ echo "Done\n";
 ?>
 --EXPECT--
 Simple test of imagedashedline() function
-array(4) {
-  ["red"]=>
-  int(255)
-  ["green"]=>
-  int(0)
-  ["blue"]=>
-  int(0)
-  ["alpha"]=>
-  int(0)
-}
-array(4) {
-  ["red"]=>
-  int(0)
-  ["green"]=>
-  int(0)
-  ["blue"]=>
-  int(0)
-  ["alpha"]=>
-  int(0)
-}
-Done
---UEXPECT--
-Simple test of imagedashedline() function
 array(4) {
   [u"red"]=>
   int(255)
@@ -98,4 +75,4 @@ array(4) {
   [u"alpha"]=>
   int(0)
 }
-Done
\ No newline at end of file
+Done
index b12119b6dd7a5fd59b75e8aed6ab1caa2d2218b9..7493582b2faf324104cebd433b0aac2e167589f2 100644 (file)
@@ -69,39 +69,6 @@ echo "Done\n";
 ?>
 --EXPECT--
 Simple test of imagefilledpolygon() function
-array(4) {
-  ["red"]=>
-  int(0)
-  ["green"]=>
-  int(255)
-  ["blue"]=>
-  int(0)
-  ["alpha"]=>
-  int(0)
-}
-array(4) {
-  ["red"]=>
-  int(0)
-  ["green"]=>
-  int(255)
-  ["blue"]=>
-  int(0)
-  ["alpha"]=>
-  int(0)
-}
-array(4) {
-  ["red"]=>
-  int(0)
-  ["green"]=>
-  int(0)
-  ["blue"]=>
-  int(0)
-  ["alpha"]=>
-  int(0)
-}
-Done
---UEXPECT--
-Simple test of imagefilledpolygon() function
 array(4) {
   [u"red"]=>
   int(0)
index 9197e07e4e37e2fa9b14ebd9dfa2718e7ade421e..a60896080ce669d7f57465ffd08ff7a9d9ec4ea7 100644 (file)
@@ -57,29 +57,6 @@ echo "Done\n";
 ?>     
 --EXPECT--
 Simple test of imagepolygon() function
-array(4) {
-  ["red"]=>
-  int(255)
-  ["green"]=>
-  int(0)
-  ["blue"]=>
-  int(0)
-  ["alpha"]=>
-  int(0)
-}
-array(4) {
-  ["red"]=>
-  int(0)
-  ["green"]=>
-  int(0)
-  ["blue"]=>
-  int(0)
-  ["alpha"]=>
-  int(0)
-}
-Done
---UEXPECT--
-Simple test of imagepolygon() function
 array(4) {
   [u"red"]=>
   int(255)
index 2b8e2b196d645098f73cab24cb2001697557cc67..bd58661221d73cfad74beaa0ea79c534096823a6 100644 (file)
@@ -18,7 +18,7 @@ var_dump(dcngettext("","","",0,0));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: dcngettext() expects exactly 5 parameters, 4 given in %s on line %d
 bool(false)
 string(1) "1"
index 5499032fb5b47184a01023ece114325d779f5f44..d08edd99f054be5300b1c95a08fe9ea7ddacea41 100644 (file)
@@ -22,10 +22,7 @@ echo gettext("Basic test"), "\n";
 echo _("Basic test"), "\n";
 
 ?>
---EXPECT--
-Perustesti
-Perustesti
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 Perustesti
 Perustesti
index 89c318b47450a5d92a0561e95d7be98ba350e221..4633174f96fcaf877ddee7a38739d008e464e4e5 100644 (file)
@@ -25,12 +25,7 @@ var_dump(textdomain(0));
 var_dump(textdomain(""));
 
 ?>
---EXPECT--
-string(14) "Einfacher Test"
-string(14) "Einfacher Test"
-string(8) "messages"
-string(8) "messages"
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 string(14) "Einfacher Test"
 string(14) "Einfacher Test"
index a0fa1cd133c91f55274bea18fe9128512ef3bdcb..c7f13216de272161a0938553e3d0f03bb98fe977 100644 (file)
@@ -24,7 +24,7 @@ var_dump(gmp_intval($g));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: gmp_intval() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 int(0)
index 0417197b0d39790f302635205d1f9e81dd294018..839a889a2970f8117e84c6884fe3470e081ae786 100644 (file)
@@ -31,46 +31,7 @@ var_dump(gmp_strval(new stdclass, new stdclass));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_strval() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-bool(false)
-
-Warning: gmp_strval() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: gmp_strval(): Bad base for conversion: -1 in %s on line %d
-bool(false)
-
-Warning: gmp_strval() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: gmp_strval(): supplied resource is not a valid GMP integer resource in %s on line %d
-bool(false)
-string(7) "9765456"
-
-Warning: gmp_strval(): Bad base for conversion: -1 in %s on line %d
-bool(false)
-
-Warning: gmp_strval(): Bad base for conversion: 100000 in %s on line %d
-bool(false)
-string(7) "9765456"
-string(8) "-3373333"
-
-Warning: gmp_strval(): Bad base for conversion: -1 in %s on line %d
-bool(false)
-
-Warning: gmp_strval(): Bad base for conversion: 100000 in %s on line %d
-bool(false)
-string(8) "-3373333"
-
-Warning: gmp_strval() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: gmp_strval() expects parameter 2 to be long, object given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_strval() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 bool(false)
index a685caede3e3008657c3e5ed32abda366058e93c..783314038b2e2b232bdffacdad16e9f8ce7b746b 100644 (file)
@@ -22,33 +22,7 @@ var_dump(gmp_strval($g));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_sub() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: gmp_sub() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-bool(false)
-
-Warning: gmp_sub() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-resource(%d) of type (GMP integer)
-string(2) "-1"
-resource(%d) of type (GMP integer)
-string(5) "10001"
-
-Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-string(1) "0"
-
-Warning: gmp_sub(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-string(1) "0"
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_sub() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
index ea99e567805f2fce6e48c0a0d7572694bf292d07..58b9602999c2cf98b51532364ef85089579e34d4 100644 (file)
@@ -44,94 +44,7 @@ var_dump(gmp_div_qr(array(), array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_div_qr() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: gmp_div_qr() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(1) "0"
-string(1) "0"
-
-Warning: gmp_div_qr(): Zero operand not allowed in %s on line %d
-bool(false)
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(1) "0"
-string(5) "12653"
-NULL
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(4) "9131"
-string(2) "10"
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(4) "9132"
-string(4) "-113"
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(4) "9131"
-string(2) "10"
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(4) "9131"
-string(2) "10"
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(4) "9132"
-string(4) "-113"
-array(2) {
-  [0]=>
-  resource(%d) of type (GMP integer)
-  [1]=>
-  resource(%d) of type (GMP integer)
-}
-string(4) "9131"
-string(2) "10"
-
-Warning: gmp_div_qr(): supplied resource is not a valid GMP integer resource in %s on line %d
-bool(false)
-
-Warning: gmp_div_qr(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_div_qr() expects at least 2 parameters, 0 given in %s on line %d
 NULL
 
index b6a74fabe78b4146c1b831f474e6c2983d2886b9..7d96e6f7a59dd9a4d6bb526d265301f8271a2d3c 100644 (file)
@@ -35,43 +35,7 @@ var_dump(gmp_div_r(array(), array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_div_r() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: gmp_div_r() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-int(0)
-string(1) "0"
-
-Warning: gmp_div_r(): Zero operand not allowed in %s on line %d
-bool(false)
-int(12653)
-string(5) "12653"
-NULL
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-int(10)
-string(2) "10"
-int(113)
-string(3) "113"
-int(10)
-string(2) "10"
-int(10)
-string(2) "10"
-int(113)
-string(3) "113"
-int(10)
-string(2) "10"
-
-Warning: gmp_div_r(): supplied resource is not a valid GMP integer resource in %s on line %d
-bool(false)
-
-Warning: gmp_div_r(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_div_r() expects at least 2 parameters, 0 given in %s on line %d
 NULL
 
index 81087a80a1ad747111548a84d38805e457e44abd..b425095f0b365143b9ad5e60fdf9cccc644552fc 100644 (file)
@@ -35,43 +35,7 @@ var_dump(gmp_div_q(array(), array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_div_q() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: gmp_div_q() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-resource(%d) of type (GMP integer)
-string(1) "0"
-
-Warning: gmp_div_q(): Zero operand not allowed in %s on line %d
-bool(false)
-resource(%d) of type (GMP integer)
-string(1) "0"
-NULL
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-resource(%d) of type (GMP integer)
-string(4) "9131"
-resource(%d) of type (GMP integer)
-string(4) "9132"
-resource(%d) of type (GMP integer)
-string(4) "9131"
-resource(%d) of type (GMP integer)
-string(4) "9131"
-resource(%d) of type (GMP integer)
-string(4) "9132"
-resource(%d) of type (GMP integer)
-string(4) "9131"
-
-Warning: gmp_div_q(): supplied resource is not a valid GMP integer resource in %s on line %d
-bool(false)
-
-Warning: gmp_div_q(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_div_q() expects at least 2 parameters, 0 given in %s on line %d
 NULL
 
index 293a2a0bf20cea27ab94898375b42b4aacbf8478..3bc20a1fafd5a2daaec0dcb1c2cf859d89a75e16 100644 (file)
@@ -21,7 +21,7 @@ var_dump(gmp_mod($a, $b));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: gmp_mod() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
index e47df03be2b9f631bacd3be4ae1111f2a03dd310..90249189e950da03228f77eaa8812e3eedb3ecb6 100644 (file)
@@ -38,23 +38,7 @@ var_dump(gmp_strval($r));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_divexact() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_divexact() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-string(1) "0"
-
-Warning: gmp_divexact(): Zero operand not allowed in %s on line %d
-string(1) "0"
-string(2) "10"
-string(3) "512"
-string(19) "5000000000000000000"
-string(18) "200000000000000000"
-string(9) "-10000000"
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_divexact() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 
index f0d41d42ce06f8106b4c2b9cb92c5ae472d1a819..53f7b8c348fa90098c4f37f554975dd03045d5c9 100644 (file)
@@ -23,26 +23,7 @@ var_dump(gmp_neg(array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-int(0)
-int(-1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-string(21) "-12345678901234567890"
-
-Warning: gmp_neg() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-
-Warning: gmp_neg() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: gmp_neg(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 int(0)
 int(-1)
 int(1)
index 2bfdbb4c616593cc718afd0dfd95678009314fc3..0e09a01ab58267cd84fa50d3fba31b24e10115ef 100644 (file)
@@ -21,29 +21,7 @@ var_dump(gmp_abs(array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "0"
-string(1) "0"
-string(1) "0"
-
-Warning: gmp_abs(): Unable to convert variable to GMP - wrong type in %s on line %d
-string(1) "0"
-string(21) "111111111111111111111"
-string(21) "111111111111111111111"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-
-Warning: gmp_abs() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: gmp_abs() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-
-Warning: gmp_abs(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "0"
 unicode(1) "0"
 unicode(1) "0"
index cf883ad2bd801037002f0ab10a88da093d71b2b2..e019bf478c8ff5c30ed8bf05fc83f9bf8f794e65 100644 (file)
@@ -28,35 +28,7 @@ var_dump(gmp_strval(gmp_fact(array())));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "1"
-string(1) "1"
-string(1) "1"
-
-Warning: gmp_fact(): Number has to be greater than or equal to 0 in %s on line %d
-string(1) "0"
-
-Warning: gmp_fact(): Number has to be greater than or equal to 0 in %s on line %d
-string(1) "0"
-string(1) "1"
-string(19) "2432902008176640000"
-string(65) "30414093201713378043612608166064768844377641568960512000000000000"
-string(7) "3628800"
-string(1) "1"
-string(11) "87178291200"
-
-Warning: gmp_fact(): Number has to be greater than or equal to 0 in %s on line %d
-string(1) "0"
-
-Warning: gmp_fact() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: gmp_fact() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-resource(%d) of type (GMP integer)
-string(1) "1"
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "1"
 unicode(1) "1"
 unicode(1) "1"
index 39327f0d1c545ffd32be7471ea83357eae5e20b3..3ec718fe4cc592271dfdecc5c76e7136e2a07b43 100644 (file)
@@ -30,43 +30,7 @@ var_dump(gmp_pow(array(),10));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(4) "1024"
-string(4) "1024"
-string(5) "-2048"
-string(4) "1024"
-string(1) "1"
-
-Warning: gmp_pow(): Negative exponent not supported in %s on line %d
-string(1) "0"
-string(4) "1024"
-string(14) "10240000000000"
-string(17) "97656250000000000"
-
-Warning: gmp_pow(): Negative exponent not supported in %s on line %d
-string(1) "0"
-string(14) "10240000000000"
-string(14) "10240000000000"
-
-Warning: gmp_pow() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_pow() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_pow() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
-Warning: gmp_pow() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: gmp_pow() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: gmp_pow(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(4) "1024"
 unicode(4) "1024"
 unicode(5) "-2048"
index 0f5271a0cbe9761734f3f616b13512726076d35a..ee9412bdaca4bc88230f74716dacb93969b7fcf6 100644 (file)
@@ -35,43 +35,7 @@ var_dump(gmp_powm(10, $n, 10));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "0"
-string(1) "5"
-string(1) "5"
-string(1) "5"
-string(1) "5"
-string(3) "533"
-string(3) "331"
-string(3) "171"
-string(3) "371"
-
-Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_powm(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_powm() expects exactly 3 parameters, 2 given in %s on line %d
-NULL
-
-Warning: gmp_powm() expects exactly 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_powm() expects exactly 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: gmp_powm(): Second parameter cannot be less than 0 in %s on line %d
-bool(false)
-resource(%d) of type (GMP integer)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "0"
 unicode(1) "5"
 unicode(1) "5"
index 5204622d618b864dfecc609c4f106ebf3796cc2e..e4f3333886d1b75387f553e7926418f695faeb04 100644 (file)
@@ -24,31 +24,7 @@ var_dump(gmp_sqrt(array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %d
-string(1) "0"
-
-Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %d
-string(1) "0"
-string(1) "0"
-string(1) "1"
-string(2) "12"
-string(1) "0"
-
-Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %d
-string(1) "0"
-string(2) "27"
-
-Warning: gmp_sqrt() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-
-Warning: gmp_sqrt() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: gmp_sqrt(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_sqrt(): Number has to be greater than or equal to 0 in %s on line %d
 unicode(1) "0"
 
index 72f1304e1e683311685d1acf4e56f0ecef1cade1..aacffa47bbbe5dffba6943cf812b58155bddb528 100644 (file)
@@ -57,48 +57,7 @@ var_dump(gmp_sqrtrem());
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_sqrtrem(): Number has to be greater than or equal to 0 in %s on line %d
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-string(1) "0"
-string(1) "0"
-string(1) "1"
-string(1) "1"
-string(1) "3"
-string(1) "1"
-string(1) "2"
-string(1) "3"
-string(1) "1"
-string(1) "2"
-string(3) "316"
-string(3) "144"
-string(4) "1000"
-string(1) "0"
-string(4) "1000"
-string(1) "1"
-
-Warning: gmp_sqrtrem(): Number has to be greater than or equal to 0 in %s on line %d
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-string(4) "1000"
-string(1) "1"
-
-Warning: gmp_sqrtrem(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_sqrtrem() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_sqrtrem(): Number has to be greater than or equal to 0 in %s on line %d
 
 Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
index aa596ba9cd0bdb9b33e5df0b9ace1bf089e9ba45..0f519c7b79c0d616c0ef24840e6073396eafcbbc 100644 (file)
@@ -26,7 +26,7 @@ var_dump(gmp_perfect_square(array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 bool(true)
 bool(true)
 bool(false)
index f8f3e6921ca30bc11530945d9c7bbfd0dd284436..99735bd7c009d6f8390eecb039e1e38fb3022550 100644 (file)
@@ -33,7 +33,7 @@ var_dump(gmp_prob_prime(array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 int(0)
 int(2)
 int(2)
index 72ff573f63023679c6aceb96054e97b90d06331a..8b6212d8d7578ebecb836c29ac7b7e133c17abea 100644 (file)
@@ -27,29 +27,7 @@ var_dump(gmp_gcd(array(),$n,1));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "3"
-string(5) "12387"
-string(3) "224"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "2"
-string(1) "1"
-string(10) "8127346234"
-string(10) "8127346234"
-
-Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_gcd() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "3"
 unicode(5) "12387"
 unicode(3) "224"
index 3cf444734543ab910382fcebf24e039b89ad191b..7b8443f6e7ebafe212fdc8d7cc196b0589478ec9 100644 (file)
@@ -36,54 +36,7 @@ var_dump(gmp_gcdext());
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "3"
-string(2) "-4"
-string(2) "11"
-string(1) "1"
-string(4) "-805"
-string(3) "359"
-string(1) "3"
-string(2) "32"
-string(5) "-2257"
-string(4) "3003"
-string(3) "-10"
-string(2) "19"
-string(1) "2"
-string(2) "67"
-string(2) "-3"
-string(2) "15"
-string(7) "-601519"
-string(1) "6"
-string(3) "345"
-string(1) "1"
-string(1) "0"
-string(1) "1"
-string(5) "84319"
-string(9) "-84241831"
-string(1) "1"
-string(13) "-156252240050"
-string(14) "16689072773537"
-string(3) "195"
-string(11) "46994884483"
-string(9) "-68772552"
-
-Warning: gmp_gcdext(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_gcdext(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_gcdext() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_gcdext() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_gcdext() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "3"
 unicode(2) "-4"
 unicode(2) "11"
index e26739de38e76d1c515c4ec31a2a012d4fb11e21..e6f94abb3959d861cc1c23976c24fe07e523bd35 100644 (file)
@@ -27,33 +27,7 @@ var_dump(gmp_invert(array(), array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(7) "2293131"
-string(1) "0"
-string(4) "5827"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(22) "3498273496234234523441"
-string(1) "1"
-
-Warning: gmp_invert() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_invert() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_invert(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_invert(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_invert(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(7) "2293131"
 unicode(1) "0"
 unicode(4) "5827"
index 9f718c10dd421f2a28e6f09a25c01b1a4c599968..df3b7faa7c9feae9ae3872cf0b697e1430a0b169 100644 (file)
@@ -30,44 +30,7 @@ var_dump(gmp_jacobi());
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(2) "-1"
-
-Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_jacobi(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_jacobi() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_jacobi() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_jacobi() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "0"
 unicode(2) "-1"
 unicode(1) "0"
index 747121aee165eb25dbc56a3a18927beee2f4ed0e..be1b4211c36c4e68719b88e807c169ee5b6df2fc 100644 (file)
@@ -30,44 +30,7 @@ var_dump(gmp_legendre());
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(2) "-1"
-string(1) "0"
-string(1) "0"
-string(2) "-1"
-string(1) "0"
-string(2) "-1"
-
-Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_legendre(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_legendre() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_legendre() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_legendre() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "0"
 unicode(2) "-1"
 unicode(1) "0"
index 83e7910d1e6ec5538711ca9e83a103e522eac46b..2e48d3b83b91c04bf8d01dbe6a4239ee27f14190 100644 (file)
@@ -24,7 +24,7 @@ var_dump(gmp_cmp());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 int(2)
 int(0)
 int(-1)
index 71204db98b3bf6b750ddf58a8686d163314a3b57..0aa6e87652d39a2d9d7353d8ea09a277084b4cd3 100644 (file)
@@ -19,7 +19,7 @@ var_dump(gmp_sign());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 int(-1)
 int(1)
 int(0)
index ba4e0a9bdd774bcae08cac4ff3857879016fb268..4bbfb3e1e570a0b7910c49699f6aa164862c1f78 100644 (file)
@@ -19,27 +19,7 @@ var_dump(gmp_random("test"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(%d) "%d"
-string(%d) "%d"
-string(1) "0"
-string(%d) "%d"
-string(%d) "%d"
-string(%d) "%d"
-
-Warning: gmp_random() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: gmp_random() expects at most 1 parameter, 2 given in %s on line %d
-NULL
-
-Warning: gmp_random() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: gmp_random() expects parameter 1 to be long, string given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(%d) "%d"
 unicode(%d) "%d"
 unicode(1) "0"
index 3a4260c4e05f54d1437e0169d02f3851b1f2a826..ce3dcfa4def7031646a84d2dc1a5e7a730ccc9ae 100644 (file)
@@ -25,32 +25,7 @@ var_dump(gmp_and(array(), array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(6) "106502"
-string(5) "40994"
-string(3) "515"
-string(4) "3333"
-string(4) "4544"
-string(1) "0"
-string(4) "1536"
-string(15) "424703623692768"
-
-Warning: gmp_and() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_and() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_and(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_and(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_and(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(6) "106502"
 unicode(5) "40994"
 unicode(3) "515"
index 0944a34adde85feac7c6e2622b2dd09d0cbaf1d3..98d3470f663ffb4b00bffa78d9bee64287fa95b4 100644 (file)
@@ -25,32 +25,7 @@ var_dump(gmp_or(array(), array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(7) "2226831"
-string(6) "517363"
-string(10) "2342341163"
-string(2) "-1"
-string(3) "-19"
-string(1) "0"
-string(15) "987657876576252"
-string(21) "987658441719689394144"
-
-Warning: gmp_or() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_or() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_or(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_or(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_or(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(7) "2226831"
 unicode(6) "517363"
 unicode(10) "2342341163"
index dda6ced6c68e3f69343ec122c69ce76ff95bb348..3247eabe910079f4d1cf9ec5cfdbd6e31a0f9f28 100644 (file)
@@ -23,26 +23,7 @@ var_dump(gmp_strval(gmp_com()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(2) "-1"
-string(2) "-1"
-string(1) "0"
-string(14) "-2394876545679"
-string(3) "110"
-string(7) "-874654"
-string(4) "9875"
-string(9) "-98765468"
-string(12) "-98765463338"
-
-Warning: gmp_com(): Unable to convert variable to GMP - wrong type in %s on line %d
-string(1) "0"
-
-Warning: gmp_com() expects exactly 1 parameter, 0 given in %s on line %d
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(2) "-1"
 unicode(2) "-1"
 unicode(1) "0"
index ea9ed3277a7e7cc21048f27922da41ce601ef3d5..c770e7673f231d3e196a6d44856e682d6c63b151 100644 (file)
@@ -25,32 +25,7 @@ var_dump(gmp_xor(array(), array()));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(7) "2120329"
-string(6) "476369"
-string(10) "2342340648"
-string(5) "-3334"
-string(5) "-4563"
-string(1) "0"
-string(15) "987657876574716"
-string(21) "987658017016065701376"
-
-Warning: gmp_xor() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: gmp_xor() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
-Warning: gmp_xor(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_xor(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_xor(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(7) "2120329"
 unicode(6) "476369"
 unicode(10) "2342340648"
index e696e23c587cc4c406e4bcc6077e94246b49b8a4..261d0f98fcdcc0389f8b17a0b22cb476fa9692b2 100644 (file)
@@ -41,28 +41,7 @@ gmp_setbit($a,array());
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(2) "-1"
-
-Warning: gmp_setbit(): Index must be greater than or equal to zero in %s on line %d
-string(1) "5"
-string(1) "1"
-string(1) "7"
-string(12) "100008388608"
-string(12) "100000000000"
-string(12) "100000000008"
-
-Warning: gmp_setbit(): supplied argument is not a valid GMP integer resource in %s on line %d
-
-Warning: gmp_setbit() expects at least 2 parameters, 1 given in %s on line %d
-
-Warning: gmp_setbit() expects at most 3 parameters, 4 given in %s on line %d
-
-Warning: gmp_setbit() expects parameter 2 to be long, array given in %s on line %d
-
-Warning: gmp_setbit() expects parameter 2 to be long, array given in %s on line %d
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(2) "-1"
 
 Warning: gmp_setbit(): Index must be greater than or equal to zero in %s on line %d
index 509aaed70e0fb8ac2f920705cbda578976221a84..d53a174d8ccca40853ed4ea293de3d019e55b3f9 100644 (file)
@@ -35,26 +35,7 @@ gmp_clrbit();
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(1) "0"
-
-Warning: gmp_clrbit(): Index must be greater than or equal to zero in %s on line %d
-string(2) "-1"
-
-Warning: gmp_clrbit(): Index must be greater than or equal to zero in %s on line %d
-string(7) "1000000"
-string(7) "1000000"
-string(30) "238462734628347239571822592658"
-
-Warning: gmp_clrbit(): supplied argument is not a valid GMP integer resource in %s on line %d
-
-Warning: gmp_clrbit() expects exactly 2 parameters, 3 given in %s on line %d
-
-Warning: gmp_clrbit() expects exactly 2 parameters, 1 given in %s on line %d
-
-Warning: gmp_clrbit() expects exactly 2 parameters, 0 given in %s on line %d
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(1) "0"
 
 Warning: gmp_clrbit(): Index must be greater than or equal to zero in %s on line %d
index 4b45a044810b6f7a16996357b2a5660edd7fdd8f..26a7b5af8db13e33974242bc199f6d466729d4e7 100644 (file)
@@ -17,7 +17,7 @@ var_dump(gmp_popcount());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 int(-1)
 int(0)
 int(10)
index c21e03ccb25aa79b94b304b0ad239580ab25d224..60ef89f84dfaff054249b5918ed55b62935e001d 100644 (file)
@@ -24,7 +24,7 @@ var_dump(gmp_hamdist());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 int(13)
 int(-1)
 int(36)
index 2a87a968a24bbd5edee29910efc23458b383900b..fb70cf8b25b22f338f3f7c6f7817f7687ab8101f 100644 (file)
@@ -20,7 +20,7 @@ var_dump(gmp_scan0());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: gmp_scan0(): Starting index must be greater than or equal to zero in %s on line %d
 bool(false)
 int(2)
index 7ebce9be7d1d5885b017b9efdc649e3cf4f45e72..a89a9195b0582b81859392451c9f050a5539bf07 100644 (file)
@@ -20,7 +20,7 @@ var_dump(gmp_scan1());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: gmp_scan1(): Starting index must be greater than or equal to zero in %s on line %d
 bool(false)
 int(1)
index 8bc2a7deb398d9b78b83c358d92d04bdf657e5a3..265f5933950f74bcf813e3d24b3ad62460024266 100644 (file)
@@ -37,28 +37,7 @@ var_dump(gmp_strval($n));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: gmp_testbit(): Index must be greater than or equal to zero in %s on line %d
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(true)
-
-Warning: gmp_testbit(): Index must be greater than or equal to zero in %s on line %d
-bool(false)
-bool(false)
-bool(true)
-string(7) "1000002"
-bool(true)
-string(7) "1000034"
-bool(false)
-bool(true)
-string(30) "238462734628347239571823641266"
-bool(false)
-string(30) "238462734628347239571823641234"
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: gmp_testbit(): Index must be greater than or equal to zero in %s on line %d
 bool(false)
 bool(false)
index 4ea6b15ef3c6350b2097b44608e4e9df3e36427d..184f97278c9f2de3bb1ccacbae277ac05560ae94 100644 (file)
@@ -17,28 +17,7 @@ var_dump(gmp_strval(gmp_init("993247326237679187178",3)));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-resource(%d) of type (GMP integer)
-string(8) "98765678"
-
-Warning: gmp_init() expects at least 1 parameter, 0 given in %s on line %d
-
-Warning: gmp_strval(): Unable to convert variable to GMP - wrong type in %s on line %d
-bool(false)
-
-Warning: gmp_init() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: gmp_init() expects at most 2 parameters, 4 given in %s on line %d
-NULL
-
-Warning: gmp_init(): Bad base for conversion: -1 (should be between 2 and 36) in %s on line %d
-bool(false)
-bool(false)
-bool(false)
-string(1) "0"
-Done
---UEXPECTF--
+--EXPECTF--
 resource(%d) of type (GMP integer)
 unicode(8) "98765678"
 
index ce15ccac75130341775bd6310206f2a6fa973c1f..1ab31087c14e9ae5f64618b93565c980891a07c6 100644 (file)
@@ -24,7 +24,7 @@ var_dump(gmp_strval($n));
        
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 %s(1) "2"
 %s(1) "2"
 %s(4) "-997"
index 34b6bb3a432ef17b999c16e204830865e77ad4a5..4f182518a3d781acaf62311e2935fcf5be485259 100644 (file)
@@ -26,161 +26,7 @@ foreach ($algos as $algo) {
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(32) "d5ac4ffd08f6a57b9bd402b8068392ff"
-string(32) "d5ac4ffd08f6a57b9bd402b8068392ff"
-string(32) "302c45586b53a984bd3a1237cb81c15f"
-string(32) "302c45586b53a984bd3a1237cb81c15f"
-string(32) "e35759f6ea35db254e415b5332269435"
-string(32) "e35759f6ea35db254e415b5332269435"
-string(40) "29f62a228f726cd728efa7a0ac6a2aba318baf15"
-string(40) "29f62a228f726cd728efa7a0ac6a2aba318baf15"
-string(64) "d3a13cf52af8e9390caed78b77b6b1e06e102204e3555d111dfd149bc5d54dba"
-string(64) "d3a13cf52af8e9390caed78b77b6b1e06e102204e3555d111dfd149bc5d54dba"
-string(96) "6950d861ace4102b803ab8b3779d2f471968233010d2608974ab89804cef6f76162b4433d6e554e11e40a7cdcf510ea3"
-string(96) "6950d861ace4102b803ab8b3779d2f471968233010d2608974ab89804cef6f76162b4433d6e554e11e40a7cdcf510ea3"
-string(128) "caced3db8e9e3a5543d5b933bcbe9e7834e6667545c3f5d4087b58ec8d78b4c8a4a5500c9b88f65f7368810ba9905e51f1cff3b25a5dccf76634108fb4e7ce13"
-string(128) "caced3db8e9e3a5543d5b933bcbe9e7834e6667545c3f5d4087b58ec8d78b4c8a4a5500c9b88f65f7368810ba9905e51f1cff3b25a5dccf76634108fb4e7ce13"
-string(32) "5f1bc5f5aeaf747574dd34a6535cd94a"
-string(32) "5f1bc5f5aeaf747574dd34a6535cd94a"
-string(40) "02a2a535ee10404c6b5cf9acb178a04fbed67269"
-string(40) "02a2a535ee10404c6b5cf9acb178a04fbed67269"
-string(64) "547d2ed85ca0a0e3208b5ecf4fc6a7fc1e64db8ff13493e4beaf11e4d71648e2"
-string(64) "547d2ed85ca0a0e3208b5ecf4fc6a7fc1e64db8ff13493e4beaf11e4d71648e2"
-string(80) "785a7df56858f550966cddfd59ce14b13bf4b18e7892c4c1ad91bf23bf67639bd2c96749ba29cfa6"
-string(80) "785a7df56858f550966cddfd59ce14b13bf4b18e7892c4c1ad91bf23bf67639bd2c96749ba29cfa6"
-string(128) "6e60597340640e621e25f975cef2b000b0c4c09a7af7d240a52d193002b0a8426fa7da7acc5b37ed9608016d4f396db834a0ea2f2c35f900461c9ac7e5604082"
-string(128) "6e60597340640e621e25f975cef2b000b0c4c09a7af7d240a52d193002b0a8426fa7da7acc5b37ed9608016d4f396db834a0ea2f2c35f900461c9ac7e5604082"
-string(32) "a92be6c58be7688dc6cf9585a47aa625"
-string(32) "a92be6c58be7688dc6cf9585a47aa625"
-string(40) "a92be6c58be7688dc6cf9585a47aa62535fc2482"
-string(40) "a92be6c58be7688dc6cf9585a47aa62535fc2482"
-string(48) "a92be6c58be7688dc6cf9585a47aa62535fc2482e0e5d12c"
-string(48) "a92be6c58be7688dc6cf9585a47aa62535fc2482e0e5d12c"
-string(32) "32fb748ef5a36ca222511bcb99b044ee"
-string(32) "32fb748ef5a36ca222511bcb99b044ee"
-string(40) "32fb748ef5a36ca222511bcb99b044ee1d740bf3"
-string(40) "32fb748ef5a36ca222511bcb99b044ee1d740bf3"
-string(48) "32fb748ef5a36ca222511bcb99b044ee1d740bf300593703"
-string(48) "32fb748ef5a36ca222511bcb99b044ee1d740bf300593703"
-string(64) "fbe88daa74c89b9e29468fa3cd3a657d31845e21bb58dd3f8d806f5179a85c26"
-string(64) "fbe88daa74c89b9e29468fa3cd3a657d31845e21bb58dd3f8d806f5179a85c26"
-string(64) "5820c7c4a0650587538b30ef4099f2b5993069758d5c847a552e6ef7360766a5"
-string(64) "5820c7c4a0650587538b30ef4099f2b5993069758d5c847a552e6ef7360766a5"
-string(8) "28097c6f"
-string(8) "28097c6f"
-string(8) "e5cfc160"
-string(8) "e5cfc160"
-string(8) "4e7a1469"
-string(8) "4e7a1469"
-string(32) "86362472c8895e68e223ef8b3711d8d9"
-string(32) "86362472c8895e68e223ef8b3711d8d9"
-string(40) "fabdf6905f3ba18a3c93d6a16b91e31f7222a7a4"
-string(40) "fabdf6905f3ba18a3c93d6a16b91e31f7222a7a4"
-string(48) "e05d0ff5723028bd5494f32c0c2494cd0b9ccf7540af7b47"
-string(48) "e05d0ff5723028bd5494f32c0c2494cd0b9ccf7540af7b47"
-string(56) "56b196289d8de8a22296588cf90e5b09cb6fa1b01ce8e92bca40cae2"
-string(56) "56b196289d8de8a22296588cf90e5b09cb6fa1b01ce8e92bca40cae2"
-string(64) "ff4d7ab0fac2ca437b945461f9b62fd16e71e9103524d5d140445a00e3d49239"
-string(64) "ff4d7ab0fac2ca437b945461f9b62fd16e71e9103524d5d140445a00e3d49239"
-string(32) "ee44418e0195a0c4a35d112722919a9c"
-string(32) "ee44418e0195a0c4a35d112722919a9c"
-string(40) "f320cce982d5201a1ccacc1c5ff835a258a97eb1"
-string(40) "f320cce982d5201a1ccacc1c5ff835a258a97eb1"
-string(48) "a96600107463e8e97a7fe6f260d9bf4f4587a281caafa6db"
-string(48) "a96600107463e8e97a7fe6f260d9bf4f4587a281caafa6db"
-string(56) "7147c9e1c1e67b942da3229f59a1ab18f121f5d7f5765ca88bc9f200"
-string(56) "7147c9e1c1e67b942da3229f59a1ab18f121f5d7f5765ca88bc9f200"
-string(64) "82fec42679ed5a77a841962827b88a9cddf7d677736e50bc81f1a14b99f06061"
-string(64) "82fec42679ed5a77a841962827b88a9cddf7d677736e50bc81f1a14b99f06061"
-string(32) "8d0b157828328ae7d34d60b4b60c1dab"
-string(32) "8d0b157828328ae7d34d60b4b60c1dab"
-string(40) "54dab5e10dc41503f9b8aa32ffe3bab7cf1da8a3"
-string(40) "54dab5e10dc41503f9b8aa32ffe3bab7cf1da8a3"
-string(48) "7d91265a1b27698279d8d95a5ee0a20014528070bf6415e7"
-string(48) "7d91265a1b27698279d8d95a5ee0a20014528070bf6415e7"
-string(56) "7772b2e22f2a3bce917e08cf57ebece46bb33168619a776c6f2f7234"
-string(56) "7772b2e22f2a3bce917e08cf57ebece46bb33168619a776c6f2f7234"
-string(64) "438a602cb1a761f7bd0a633b7bd8b3ccd0577b524d05174ca1ae1f559b9a2c2a"
-string(64) "438a602cb1a761f7bd0a633b7bd8b3ccd0577b524d05174ca1ae1f559b9a2c2a"
-string(32) "d5ac4ffd08f6a57b9bd402b8068392ff"
-string(32) "5c36f61062d091a8324991132c5e8dbd"
-string(32) "302c45586b53a984bd3a1237cb81c15f"
-string(32) "1d4196526aada3506efb4c7425651584"
-string(32) "e35759f6ea35db254e415b5332269435"
-string(32) "f255c114bd6ce94aad092b5141c00d46"
-string(40) "29f62a228f726cd728efa7a0ac6a2aba318baf15"
-string(40) "a273396f056554dcd491b5dea1e7baa3b89b802b"
-string(64) "d3a13cf52af8e9390caed78b77b6b1e06e102204e3555d111dfd149bc5d54dba"
-string(64) "268e7f4cf88504a53fd77136c4c4748169f46ff7150b376569ada9c374836944"
-string(96) "6950d861ace4102b803ab8b3779d2f471968233010d2608974ab89804cef6f76162b4433d6e554e11e40a7cdcf510ea3"
-string(96) "0d44981d04bb11b1ef75d5c2932bd0aa2785e7bc454daac954d77e2ca10047879b58997533fc99650b20049c6cb9a6cc"
-string(128) "caced3db8e9e3a5543d5b933bcbe9e7834e6667545c3f5d4087b58ec8d78b4c8a4a5500c9b88f65f7368810ba9905e51f1cff3b25a5dccf76634108fb4e7ce13"
-string(128) "28d7c721433782a880f840af0c3f3ea2cad4ef55de2114dda9d504cedeb110e1cf2519c49e4b5da3da4484bb6ba4fd1621ceadc6408f4410b2ebe9d83a4202c2"
-string(32) "5f1bc5f5aeaf747574dd34a6535cd94a"
-string(32) "f95f5e22b8875ee0c48219ae97f0674b"
-string(40) "02a2a535ee10404c6b5cf9acb178a04fbed67269"
-string(40) "900d615c1abe714e340f4ecd6a3d65599fd30ff4"
-string(64) "547d2ed85ca0a0e3208b5ecf4fc6a7fc1e64db8ff13493e4beaf11e4d71648e2"
-string(64) "b9799db40d1af5614118c329169cdcd2c718db6af03bf945ea7f7ba72b8e14f4"
-string(80) "785a7df56858f550966cddfd59ce14b13bf4b18e7892c4c1ad91bf23bf67639bd2c96749ba29cfa6"
-string(80) "d6d12c1fca7a9c4a59c1be4f40188e92a746a035219e0a6ca1ee53b36a8282527187f7dffaa57ecc"
-string(128) "6e60597340640e621e25f975cef2b000b0c4c09a7af7d240a52d193002b0a8426fa7da7acc5b37ed9608016d4f396db834a0ea2f2c35f900461c9ac7e5604082"
-string(128) "e8c6a921e7d8eac2fd21d4df6054bb27a02321b2beb5b01b6f88c40706164e64d67ec97519bf76c8af8df896745478b78d42a0159f1a0db16777771fd9d420dc"
-string(32) "a92be6c58be7688dc6cf9585a47aa625"
-string(32) "dc80d448032c9da9f1e0262985353c0f"
-string(40) "a92be6c58be7688dc6cf9585a47aa62535fc2482"
-string(40) "dc80d448032c9da9f1e0262985353c0fe37e9551"
-string(48) "a92be6c58be7688dc6cf9585a47aa62535fc2482e0e5d12c"
-string(48) "dc80d448032c9da9f1e0262985353c0fe37e9551165c82e1"
-string(32) "32fb748ef5a36ca222511bcb99b044ee"
-string(32) "e5c4212432c0e266e581d4ee6a8e20a9"
-string(40) "32fb748ef5a36ca222511bcb99b044ee1d740bf3"
-string(40) "e5c4212432c0e266e581d4ee6a8e20a9d0d944e3"
-string(48) "32fb748ef5a36ca222511bcb99b044ee1d740bf300593703"
-string(48) "e5c4212432c0e266e581d4ee6a8e20a9d0d944e34804b0c4"
-string(64) "fbe88daa74c89b9e29468fa3cd3a657d31845e21bb58dd3f8d806f5179a85c26"
-string(64) "614ca924864fa0e8fa309aa0944e047d5edbfd4964a35858f4d8ec66a0fb88b0"
-string(64) "5820c7c4a0650587538b30ef4099f2b5993069758d5c847a552e6ef7360766a5"
-string(64) "a00961e371287c71c527a41c14564f13b6ed12ac7cd9d5f5dfb3542a25e28d3b"
-string(8) "28097c6f"
-string(8) "471714d9"
-string(8) "e5cfc160"
-string(8) "59f8d3d2"
-string(8) "4e7a1469"
-string(8) "9939e63e"
-string(32) "86362472c8895e68e223ef8b3711d8d9"
-string(32) "ebeeeb05c18af1e53d2d127b561d5e0d"
-string(40) "fabdf6905f3ba18a3c93d6a16b91e31f7222a7a4"
-string(40) "f1a2c9604fb40899ad502abe0dfcec65115c8a9a"
-string(48) "e05d0ff5723028bd5494f32c0c2494cd0b9ccf7540af7b47"
-string(48) "d3a7315773a326678208650ed02510ed96cd488d74cd5231"
-string(56) "56b196289d8de8a22296588cf90e5b09cb6fa1b01ce8e92bca40cae2"
-string(56) "6d7132fabc83c9ab7913748b79ecf10e25409569d3ed144177f46731"
-string(64) "ff4d7ab0fac2ca437b945461f9b62fd16e71e9103524d5d140445a00e3d49239"
-string(64) "7a469868ad4b92891a3a44524c58a2b8d0f3bebb92b4cf47d19bc6aba973eb95"
-string(32) "ee44418e0195a0c4a35d112722919a9c"
-string(32) "6ecddb39615f43fd211839287ff38461"
-string(40) "f320cce982d5201a1ccacc1c5ff835a258a97eb1"
-string(40) "bcd2e7821723ac22e122b8b7cbbd2daaa9a862df"
-string(48) "a96600107463e8e97a7fe6f260d9bf4f4587a281caafa6db"
-string(48) "ae74619a88dcec1fbecde28e27f009a65ecc12170824d2cd"
-string(56) "7147c9e1c1e67b942da3229f59a1ab18f121f5d7f5765ca88bc9f200"
-string(56) "fdaba6563f1334d40de24e311f14b324577f97c3b78b9439c408cdca"
-string(64) "82fec42679ed5a77a841962827b88a9cddf7d677736e50bc81f1a14b99f06061"
-string(64) "289a2ba4820218bdb25a6534fbdf693f9de101362584fdd41e32244c719caa37"
-string(32) "8d0b157828328ae7d34d60b4b60c1dab"
-string(32) "ffa7993a4e183b245263fb1f63e27343"
-string(40) "54dab5e10dc41503f9b8aa32ffe3bab7cf1da8a3"
-string(40) "375ee5ab3a9bd07a1dbe5d071e07b2afb3165e3b"
-string(48) "7d91265a1b27698279d8d95a5ee0a20014528070bf6415e7"
-string(48) "c650585f93c6e041e835caedc621f8c42d8bc6829fb76789"
-string(56) "7772b2e22f2a3bce917e08cf57ebece46bb33168619a776c6f2f7234"
-string(56) "bc674d465a822817d939f19b38edde083fe5668759836c203c56e3e4"
-string(64) "438a602cb1a761f7bd0a633b7bd8b3ccd0577b524d05174ca1ae1f559b9a2c2a"
-string(64) "da70ad9bd09ed7c9675329ea2b5279d57761807c7aeac6340d94b5d494809457"
-Done
---UEXPECTF--
+--EXPECTF--
 unicode(32) "d5ac4ffd08f6a57b9bd402b8068392ff"
 unicode(32) "d5ac4ffd08f6a57b9bd402b8068392ff"
 unicode(32) "302c45586b53a984bd3a1237cb81c15f"
index 84ba703e200fbb85bb95ed515a712913b3c51070..eda2950043b3eb6e7544f7562bdcc8cfba3a9b71 100644 (file)
@@ -16,11 +16,7 @@ echo hash_final($ctx) . "\n";
 
 echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\n";
 ?>
---EXPECT--
-9294727a3638bb1c13f48ef8158bfc9d
-750c783e6ab0b503eaa86e310a5db738
-56be34521d144c88dbb8c733f0e8b3f6
---UEXPECTF--
+--EXPECTF--
 9294727a3638bb1c13f48ef8158bfc9d
 750c783e6ab0b503eaa86e310a5db738
 
index 1a52f66221fd5f825824c2fe09b2dae274a00cb0..1c5f283ef5e6db05637f938de4357f41b7ded14f 100644 (file)
@@ -15,6 +15,4 @@ if ($test === false) {
        var_dump(iconv_substr('x', 0, 1, 'UTF-8'));
 ?>
 --EXPECT--
-string(1) "x"
---UEXPECT--
 unicode(1) "x"
index 641678dfcb6b2ce0dcfbad996d5b8ff3b63a84fe..29fc4f99d0b738e0bd0edb9e92beb754ea47d64c 100644 (file)
@@ -15,9 +15,5 @@ var_dump("UTF-8: ".iconv( "ISO-8859-1", "UTF-8", $test ) );
 ?>
 --EXPECT--
 iconv extension is available
-string(15) "ISO-8859-1: æøå"
-string(13) "UTF-8: æøå"
---UEXPECT--
-iconv extension is available
 unicode(15) "ISO-8859-1: æøå"
 unicode(13) "UTF-8: æøå"
index e8a0e909b5befb52c0ccec9f483c90ea9c84dd6b..4917e4bd9d62ccc6e1021579e548c04e78fdb051 100644 (file)
@@ -28,18 +28,6 @@ var_dump(bin2hex(fread($fp, 1)));
 fclose($fp);
 ?>
 --EXPECTF--
-string(20) "1b244224332473244b24"
-string(10) "41244f1b28"
-string(2) "42"
-string(20) "a4b3a4f3a4cba4c1a4cf"
-string(10) "69636f6e76"
-string(2) "0a"
-
-Warning: fread(): iconv stream filter ("ISO-2022-JP"=>"EUC-JP"): invalid multibyte sequence in %s on line %d
-string(0) ""
-string(0) ""
-string(0) ""
---UEXPECTF--
 unicode(20) "1b244224332473244b24"
 unicode(10) "41244f1b28"
 unicode(2) "42"
index d62769ee022cb62eafe85c5ead59ab7c6d17d4a3..9293c39e47daa84540da418a1993bee30d7ec998 100644 (file)
@@ -12,15 +12,7 @@ var_dump(imap_utf8("test"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(0) ""
-string(1) "1"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-string(4) "test"
-Done
---UEXPECTF--
+--EXPECTF--
 string(0) ""
 string(1) "1"
 
index c210b8dec72313485d2686b9c41641e1683bc495..a106e89f852cbdbf3d0e34614a4c805c2b929fc4 100644 (file)
@@ -31,50 +31,6 @@ NULL
 NULL
 NULL
 NULL
-string(1) "."
-string(1) "."
-string(3) "<?>"
-string(1) ";"
-string(12) "руссиш"
-string(4) "blah"
-NULL
-object(stdClass)#%d (1) {
-  ["test"]=>
-  object(stdClass)#%d (1) {
-    ["foo"]=>
-    string(3) "bar"
-  }
-}
-object(stdClass)#%d (1) {
-  ["test"]=>
-  object(stdClass)#%d (1) {
-    ["foo"]=>
-    string(0) ""
-  }
-}
-object(stdClass)#%d (1) {
-  ["_empty_"]=>
-  object(stdClass)#%d (1) {
-    ["foo"]=>
-    string(0) ""
-  }
-}
-object(stdClass)#%d (1) {
-  ["_empty_"]=>
-  object(stdClass)#%d (1) {
-    ["_empty_"]=>
-    string(0) ""
-  }
-}
-string(16) "{ "": { "": "" }"
-string(16) "{ "": "": "" } }"
-Done
---UEXPECTF--
-Warning: json_decode() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-NULL
-NULL
-NULL
 unicode(1) "."
 unicode(1) "."
 unicode(3) "<?>"
index 87f57421f3c9c3416fdc6c51c4c1d85da3bedaff..c995f9e4555304e5a12068888b1d7fc916eb00c7 100644 (file)
@@ -17,7 +17,7 @@ var_dump(json_encode("руссиш"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECT--
 string(2) """"
 string(4) "null"
 string(4) "true"
index f10baa9d12ae41082d57cc0c69405d7258793611..3cac99aa5e10ebbdd14bf2fe36c2d218b9c2596c 100644 (file)
@@ -16,7 +16,7 @@ unset($a[0]);
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 array(1) {
   [0]=>
   &array(1) {
index 348d1c735e6a335859b00d0d0c95ba32f38d87ee..6248b42982605574e4eacacf533a90bf00f39214 100644 (file)
@@ -13,19 +13,7 @@ var_dump(json_encode($a));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-object(stdClass)#%d (1) {
-  ["prop"]=>
-  object(stdClass)#%d (1) {
-    ["prop"]=>
-    *RECURSION*
-  }
-}
-
-Warning: json_encode(): recursion detected in %s on line %d
-string(22) "{"prop":{"prop":null}}"
-Done
---UEXPECTF--
+--EXPECTF--
 object(stdClass)#%d (1) {
   [u"prop"]=>
   object(stdClass)#%d (1) {
index 01a307f4a3abc8f2d1bca9c7ff68fec4b109dccb..48c4b38830363182c149c4eca6001b3d16ff7929 100644 (file)
@@ -13,7 +13,7 @@ var_dump(json_encode($a));
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 array(1) {
   [0]=>
   array(0) {
index e3bcb76f7fcfe0ee2253107e744995455b144c6a..4f651f27352cf3d4659a30ff6e7d49ed3cbf88ad 100644 (file)
@@ -16,8 +16,5 @@ var_dump(bin2hex((binary)$json_decoded[0]));
 
 ?>
 --EXPECT--
-string(8) "f09d8480"
-string(8) "f09d8480"
---UEXPECT--
 unicode(8) "f09d8480"
 unicode(8) "f09d8480"
index 86f47be740dff2c8a898432563195540dce16c8d..6672b148e43b33696aad5f68417c06a4940df34b 100644 (file)
@@ -22,27 +22,7 @@ var_dump(json_decode('[123,13452345]'));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-array(1) {
-  [0]=>
-  float(2,1)
-}
-array(1) {
-  [0]=>
-  float(0,15)
-}
-array(1) {
-  [0]=>
-  float(123,13452345)
-}
-array(2) {
-  [0]=>
-  int(123)
-  [1]=>
-  int(13452345)
-}
-Done
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 array(1) {
   [0]=>
index 1b341ab758e7d7fc4ac4d544773c1f4d3ff3dd12..f8f370c8341561255b7bb03b2f64d5cd555e04c8 100644 (file)
@@ -15,14 +15,6 @@ var_dump(
 );
 ?>
 --EXPECT--
-string(0) ""
-string(5) "".."."
-string(1) """
-string(2) """"
-string(4) ""\"""
-string(1) """
-string(2) """"
---UEXPECT--
 unicode(0) ""
 unicode(5) "".."."
 unicode(1) """
index f05b13ae2e80a801b55879b1442ada93e39273e1..b3df2fbb28f4b8adf1a793c412a0ac9619b29bf2 100644 (file)
@@ -21,10 +21,7 @@ $bar1->a = 100.10;
 $bar1->b = "foo";
 var_dump(json_encode($bar1));
 ?>
---EXPECT--
-string(13) "[100.1,"bar"]"
-string(21) "{"a":100.1,"b":"foo"}"
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 unicode(13) "[100.1,"bar"]"
 unicode(21) "{"a":100.1,"b":"foo"}"
index 0f86d1dfad223db279caaa0aa921321bae91b106..7cabdaf4a9add2a681ed0e9717efbc4f7ff7fc39 100644 (file)
@@ -12,10 +12,9 @@ var_dump(json_encode(array("ab\xE0", "ab\xE0c", "abc")));
 
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 string(5) ""abc""
 string(4) "null"
 string(4) "null"
 string(17) "[null,null,"abc"]"
 Done
-
index 494ab2af3ea197ea5837d474b30bbb2e2192e920..59dc06d3f4a5295f6c1f5d2e43613cc9923cffba 100644 (file)
@@ -45,127 +45,6 @@ foreach ($tests as $test)
 --EXPECT--
 Testing: "A JSON payload should be an object or array, not a string."
 AS OBJECT
-string(58) "A JSON payload should be an object or array, not a string."
-AS ARRAY
-string(58) "A JSON payload should be an object or array, not a string."
-Testing: ["Unclosed array"
-AS OBJECT
-string(17) "["Unclosed array""
-AS ARRAY
-string(17) "["Unclosed array""
-Testing: {unquoted_key: "keys must be quoted}
-AS OBJECT
-string(36) "{unquoted_key: "keys must be quoted}"
-AS ARRAY
-string(36) "{unquoted_key: "keys must be quoted}"
-Testing: ["extra comma",]
-AS OBJECT
-string(16) "["extra comma",]"
-AS ARRAY
-string(16) "["extra comma",]"
-Testing: ["double extra comma",,]
-AS OBJECT
-string(24) "["double extra comma",,]"
-AS ARRAY
-string(24) "["double extra comma",,]"
-Testing: [   , "<-- missing value"]
-AS OBJECT
-string(26) "[   , "<-- missing value"]"
-AS ARRAY
-string(26) "[   , "<-- missing value"]"
-Testing: ["Comma after the close"],
-AS OBJECT
-string(26) "["Comma after the close"],"
-AS ARRAY
-string(26) "["Comma after the close"],"
-Testing: ["Extra close"]]
-AS OBJECT
-string(16) "["Extra close"]]"
-AS ARRAY
-string(16) "["Extra close"]]"
-Testing: {"Extra comma": true,}
-AS OBJECT
-string(22) "{"Extra comma": true,}"
-AS ARRAY
-string(22) "{"Extra comma": true,}"
-Testing: {"Extra value after close": true} "misplaced quoted value"
-AS OBJECT
-string(58) "{"Extra value after close": true} "misplaced quoted value""
-AS ARRAY
-string(58) "{"Extra value after close": true} "misplaced quoted value""
-Testing: {"Illegal expression": 1 + 2}
-AS OBJECT
-string(29) "{"Illegal expression": 1 + 2}"
-AS ARRAY
-string(29) "{"Illegal expression": 1 + 2}"
-Testing: {"Illegal invocation": alert()}
-AS OBJECT
-string(31) "{"Illegal invocation": alert()}"
-AS ARRAY
-string(31) "{"Illegal invocation": alert()}"
-Testing: {"Numbers cannot have leading zeroes": 013}
-AS OBJECT
-string(43) "{"Numbers cannot have leading zeroes": 013}"
-AS ARRAY
-string(43) "{"Numbers cannot have leading zeroes": 013}"
-Testing: {"Numbers cannot be hex": 0x14}
-AS OBJECT
-string(31) "{"Numbers cannot be hex": 0x14}"
-AS ARRAY
-string(31) "{"Numbers cannot be hex": 0x14}"
-Testing: ["Illegal backslash escape: \x15"]
-AS OBJECT
-string(34) "["Illegal backslash escape: \x15"]"
-AS ARRAY
-string(34) "["Illegal backslash escape: \x15"]"
-Testing: ["Illegal backslash escape: \'"]
-AS OBJECT
-string(32) "["Illegal backslash escape: \'"]"
-AS ARRAY
-string(32) "["Illegal backslash escape: \'"]"
-Testing: ["Illegal backslash escape: \017"]
-AS OBJECT
-string(34) "["Illegal backslash escape: \017"]"
-AS ARRAY
-string(34) "["Illegal backslash escape: \017"]"
-Testing: [[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]
-AS OBJECT
-string(266) "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]"
-AS ARRAY
-string(266) "[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[[["Too deep"]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]]"
-Testing: {"Missing colon" null}
-AS OBJECT
-string(22) "{"Missing colon" null}"
-AS ARRAY
-string(22) "{"Missing colon" null}"
-Testing: {"Double colon":: null}
-AS OBJECT
-string(23) "{"Double colon":: null}"
-AS ARRAY
-string(23) "{"Double colon":: null}"
-Testing: {"Comma instead of colon", null}
-AS OBJECT
-string(32) "{"Comma instead of colon", null}"
-AS ARRAY
-string(32) "{"Comma instead of colon", null}"
-Testing: ["Colon instead of comma": false]
-AS OBJECT
-string(33) "["Colon instead of comma": false]"
-AS ARRAY
-string(33) "["Colon instead of comma": false]"
-Testing: ["Bad value", truth]
-AS OBJECT
-string(20) "["Bad value", truth]"
-AS ARRAY
-string(20) "["Bad value", truth]"
-Testing: ['single quote']
-AS OBJECT
-string(16) "['single quote']"
-AS ARRAY
-string(16) "['single quote']"
---UEXPECT--
-Testing: "A JSON payload should be an object or array, not a string."
-AS OBJECT
 unicode(58) "A JSON payload should be an object or array, not a string."
 AS ARRAY
 unicode(58) "A JSON payload should be an object or array, not a string."
index ff91bc80c9e9bcbfd69d3fe6ba3e62afe42cd46d..7deba30b6e90f8ae056a2e5676e7ab2ba4632fd5 100644 (file)
@@ -166,798 +166,6 @@ Testing:
 1066
 
 
-,"rosebud"]
-
-DECODE: AS OBJECT
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  object(stdClass)#%d (1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  object(stdClass)#%d (0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  object(stdClass)#%d (36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    ["_empty_"]=>
-    float(INF)
-    ["E no ."]=>
-    float(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    object(stdClass)#%d (0) {
-    }
-    ["123"]=>
-    object(stdClass)#%d (1) {
-      ["456"]=>
-      object(stdClass)#%d (1) {
-        ["abc"]=>
-        object(stdClass)#%d (3) {
-          ["789"]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-DECODE: AS ARRAY
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  array(1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  array(0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  array(36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    [""]=>
-    float(INF)
-    ["E no ."]=>
-    float(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    array(0) {
-    }
-    [123]=>
-    array(1) {
-      [456]=>
-      array(1) {
-        ["abc"]=>
-        array(3) {
-          [789]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-ENCODE: FROM OBJECT
-["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":{},"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
-ENCODE: FROM ARRAY
-["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":[],"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
-DECODE AGAIN: AS OBJECT
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  object(stdClass)#%d (1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  object(stdClass)#%d (0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  object(stdClass)#%d (36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    ["_empty_"]=>
-    int(0)
-    ["E no ."]=>
-    %s(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    object(stdClass)#%d (0) {
-    }
-    ["123"]=>
-    object(stdClass)#%d (1) {
-      ["456"]=>
-      object(stdClass)#%d (1) {
-        ["abc"]=>
-        object(stdClass)#%d (3) {
-          ["789"]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-DECODE AGAIN: AS ARRAY
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  array(1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  array(0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  array(36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    [""]=>
-    int(0)
-    ["E no ."]=>
-    %s(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    array(0) {
-    }
-    [123]=>
-    array(1) {
-      [456]=>
-      array(1) {
-        ["abc"]=>
-        array(3) {
-          [789]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
---UEXPECTF--
-Testing: 
-[
-    "JSON Test Pattern pass1",
-    {"object with 1 member":["array with 1 element"]},
-    {},
-    [],
-    -42,
-    true,
-    false,
-    null,
-    {
-        "integer": 1234567890,
-        "real": -9876.543210,
-        "e": 0.123456789e-12,
-        "E": 1.234567890E+34,
-        "":  23456789012E666,
-        "E no .":  4E12,
-        "zero": 0,
-        "one": 1,
-        "space": " ",
-        "quote": "\"",
-        "backslash": "\\",
-        "controls": "\b\f\n\r\t",
-        "slash": "/ & \/",
-        "alpha": "abcdefghijklmnopqrstuvwyz",
-        "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
-        "digit": "0123456789",
-        "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
-        "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
-        "unicode": "\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8",
-        "プレスキット": "プレスキット",
-        "empty_string": "",
-        "true": true,
-        "false": false,
-        "null": null,
-        "array":[  ],
-        "object":{  },
-        "123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},
-        "address": "50 St. James Street",
-        "url": "http://www.JSON.org/",
-        "comment": "// /* <!-- --",
-        "# -- --> */": " ",
-        " s p a c e d " :[1,2 , 3
-
-,
-
-4 , 5        ,          6           ,7        ],
-        "compact": [1,2,3,4,5,6,7],
-        "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
-        "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
-        "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
-: "A key can be any string"
-    },
-    0.5 ,98.6
-,
-99.44
-,
-
-1066
-
-
 ,"rosebud"]
 
 DECODE: AS OBJECT
index 5a342233a955bce9ced00ab53230af934c8a0519..d1682a7ea9476dbb10c38e0bb4ab384bcf860d53 100644 (file)
@@ -166,798 +166,6 @@ Testing:
 1066
 
 
-,"rosebud"]
-
-DECODE: AS OBJECT
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  object(stdClass)#%d (1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  object(stdClass)#%d (0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  object(stdClass)#%d (36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    ["_empty_"]=>
-    float(INF)
-    ["E no ."]=>
-    float(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    object(stdClass)#%d (0) {
-    }
-    ["123"]=>
-    object(stdClass)#%d (1) {
-      ["456"]=>
-      object(stdClass)#%d (1) {
-        ["abc"]=>
-        object(stdClass)#%d (3) {
-          ["789"]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-DECODE: AS ARRAY
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  array(1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  array(0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  array(36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    [""]=>
-    float(INF)
-    ["E no ."]=>
-    float(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    array(0) {
-    }
-    [123]=>
-    array(1) {
-      [456]=>
-      array(1) {
-        ["abc"]=>
-        array(3) {
-          [789]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-ENCODE: FROM OBJECT
-["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":{},"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
-ENCODE: FROM ARRAY
-["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"E no .":4000000000000,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","unicode":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8":"\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8","empty_string":"","true":true,"false":false,"null":null,"array":[],"object":[],"123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
-DECODE AGAIN: AS OBJECT
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  object(stdClass)#%d (1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  object(stdClass)#%d (0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  object(stdClass)#%d (36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    ["_empty_"]=>
-    int(0)
-    ["E no ."]=>
-    int(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    object(stdClass)#%d (0) {
-    }
-    ["123"]=>
-    object(stdClass)#%d (1) {
-      ["456"]=>
-      object(stdClass)#%d (1) {
-        ["abc"]=>
-        object(stdClass)#%d (3) {
-          ["789"]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-DECODE AGAIN: AS ARRAY
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  array(1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  array(0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  array(36) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    [""]=>
-    int(0)
-    ["E no ."]=>
-    int(4000000000000)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["unicode"]=>
-    string(18) "プレスキット"
-    ["プレスキット"]=>
-    string(18) "プレスキット"
-    ["empty_string"]=>
-    string(0) ""
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    array(0) {
-    }
-    [123]=>
-    array(1) {
-      [456]=>
-      array(1) {
-        ["abc"]=>
-        array(3) {
-          [789]=>
-          string(3) "def"
-          ["012"]=>
-          array(4) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(1) "5"
-            [3]=>
-            int(500)
-          }
-          ["ghi"]=>
-          array(5) {
-            [0]=>
-            int(1)
-            [1]=>
-            int(2)
-            [2]=>
-            string(4) "five"
-            [3]=>
-            int(50)
-            [4]=>
-            string(5) "sixty"
-          }
-        }
-      }
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
---UEXPECTF--
-Testing: 
-[
-    "JSON Test Pattern pass1",
-    {"object with 1 member":["array with 1 element"]},
-    {},
-    [],
-    -42,
-    true,
-    false,
-    null,
-    {
-        "integer": 1234567890,
-        "real": -9876.543210,
-        "e": 0.123456789e-12,
-        "E": 1.234567890E+34,
-        "":  23456789012E666,
-        "E no .":  4E12,
-        "zero": 0,
-        "one": 1,
-        "space": " ",
-        "quote": "\"",
-        "backslash": "\\",
-        "controls": "\b\f\n\r\t",
-        "slash": "/ & \/",
-        "alpha": "abcdefghijklmnopqrstuvwyz",
-        "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
-        "digit": "0123456789",
-        "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
-        "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
-        "unicode": "\u30d7\u30ec\u30b9\u30ad\u30c3\u30c8",
-        "プレスキット": "プレスキット",
-        "empty_string": "",
-        "true": true,
-        "false": false,
-        "null": null,
-        "array":[  ],
-        "object":{  },
-        "123":{"456":{"abc":{"789":"def","012":[1,2,"5",500],"ghi":[1,2,"five",50,"sixty"]}}},
-        "address": "50 St. James Street",
-        "url": "http://www.JSON.org/",
-        "comment": "// /* <!-- --",
-        "# -- --> */": " ",
-        " s p a c e d " :[1,2 , 3
-
-,
-
-4 , 5        ,          6           ,7        ],
-        "compact": [1,2,3,4,5,6,7],
-        "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
-        "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
-        "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
-: "A key can be any string"
-    },
-    0.5 ,98.6
-,
-99.44
-,
-
-1066
-
-
 ,"rosebud"]
 
 DECODE: AS OBJECT
index 15ee7705a48a72785c7f33f1d1c984df97ebcb32..51d1e96a1762015e80e417ddc12d87f9c441f940 100644 (file)
@@ -150,621 +150,6 @@ Testing:
 1066
 
 
-,"rosebud"]
-
-DECODE: AS OBJECT
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  object(stdClass)#%d (1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  object(stdClass)#%d (0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  object(stdClass)#%d (31) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    ["_empty_"]=>
-    float(INF)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    object(stdClass)#%d (0) {
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-DECODE: AS ARRAY
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  array(1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  array(0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  array(31) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    [""]=>
-    float(INF)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    array(0) {
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-ENCODE: FROM OBJECT
-["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},{},[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"_empty_":0,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":{},"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
-ENCODE: FROM ARRAY
-["JSON Test Pattern pass1",{"object with 1 member":["array with 1 element"]},[],[],-42,true,false,null,{"integer":1234567890,"real":-9876.54321,"e":1.23456789e-13,"E":1.23456789e+34,"":0,"zero":0,"one":1,"space":" ","quote":"\"","backslash":"\\","controls":"\b\f\n\r\t","slash":"\/ & \/","alpha":"abcdefghijklmnopqrstuvwyz","ALPHA":"ABCDEFGHIJKLMNOPQRSTUVWYZ","digit":"0123456789","special":"`1~!@#$%^&*()_+-={':[,]}|;.<\/>?","hex":"\u0123\u4567\u89ab\ucdef\uabcd\uef4a","true":true,"false":false,"null":null,"array":[],"object":[],"address":"50 St. James Street","url":"http:\/\/www.JSON.org\/","comment":"\/\/ \/* <!-- --","# -- --> *\/":" "," s p a c e d ":[1,2,3,4,5,6,7],"compact":[1,2,3,4,5,6,7],"jsontext":"{\"object with 1 member\":[\"array with 1 element\"]}","quotes":"&#34; \" %22 0x22 034 &#x22;","\/\\\"\ucafe\ubabe\uab98\ufcde\ubcda\uef4a\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',.\/<>?":"A key can be any string"},0.5,98.6,99.44,1066,"rosebud"]
-DECODE AGAIN: AS OBJECT
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  object(stdClass)#%d (1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  object(stdClass)#%d (0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  object(stdClass)#%d (31) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    ["_empty_"]=>
-    int(0)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    object(stdClass)#%d (0) {
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
-DECODE AGAIN: AS ARRAY
-array(14) {
-  [0]=>
-  string(23) "JSON Test Pattern pass1"
-  [1]=>
-  array(1) {
-    ["object with 1 member"]=>
-    array(1) {
-      [0]=>
-      string(20) "array with 1 element"
-    }
-  }
-  [2]=>
-  array(0) {
-  }
-  [3]=>
-  array(0) {
-  }
-  [4]=>
-  int(-42)
-  [5]=>
-  bool(true)
-  [6]=>
-  bool(false)
-  [7]=>
-  NULL
-  [8]=>
-  array(31) {
-    ["integer"]=>
-    int(1234567890)
-    ["real"]=>
-    float(-9876.54321)
-    ["e"]=>
-    float(1.23456789E-13)
-    ["E"]=>
-    float(1.23456789E+34)
-    [""]=>
-    int(0)
-    ["zero"]=>
-    int(0)
-    ["one"]=>
-    int(1)
-    ["space"]=>
-    string(1) " "
-    ["quote"]=>
-    string(1) """
-    ["backslash"]=>
-    string(1) "\"
-    ["controls"]=>
-    string(5) "\b\f
-
-       "
-    ["slash"]=>
-    string(5) "/ & /"
-    ["alpha"]=>
-    string(25) "abcdefghijklmnopqrstuvwyz"
-    ["ALPHA"]=>
-    string(25) "ABCDEFGHIJKLMNOPQRSTUVWYZ"
-    ["digit"]=>
-    string(10) "0123456789"
-    ["special"]=>
-    string(31) "`1~!@#$%^&*()_+-={':[,]}|;.</>?"
-    ["hex"]=>
-    string(17) "ģ䕧覫췯ꯍ"
-    ["true"]=>
-    bool(true)
-    ["false"]=>
-    bool(false)
-    ["null"]=>
-    NULL
-    ["array"]=>
-    array(0) {
-    }
-    ["object"]=>
-    array(0) {
-    }
-    ["address"]=>
-    string(19) "50 St. James Street"
-    ["url"]=>
-    string(20) "http://www.JSON.org/"
-    ["comment"]=>
-    string(13) "// /* <!-- --"
-    ["# -- --> */"]=>
-    string(1) " "
-    [" s p a c e d "]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["compact"]=>
-    array(7) {
-      [0]=>
-      int(1)
-      [1]=>
-      int(2)
-      [2]=>
-      int(3)
-      [3]=>
-      int(4)
-      [4]=>
-      int(5)
-      [5]=>
-      int(6)
-      [6]=>
-      int(7)
-    }
-    ["jsontext"]=>
-    string(49) "{"object with 1 member":["array with 1 element"]}"
-    ["quotes"]=>
-    string(27) "&#34; " %22 0x22 034 &#x22;"
-    ["/\"쫾몾ꮘﳞ볚\b\f
-
-       `1~!@#$%^&*()_+-=[]{}|;:',./<>?"]=>
-    string(23) "A key can be any string"
-  }
-  [9]=>
-  float(0.5)
-  [10]=>
-  float(98.6)
-  [11]=>
-  float(99.44)
-  [12]=>
-  int(1066)
-  [13]=>
-  string(7) "rosebud"
-}
---UEXPECTF--
-Testing: 
-[
-    "JSON Test Pattern pass1",
-    {"object with 1 member":["array with 1 element"]},
-    {},
-    [],
-    -42,
-    true,
-    false,
-    null,
-    {
-        "integer": 1234567890,
-        "real": -9876.543210,
-        "e": 0.123456789e-12,
-        "E": 1.234567890E+34,
-        "":  23456789012E666,
-        "zero": 0,
-        "one": 1,
-        "space": " ",
-        "quote": "\"",
-        "backslash": "\\",
-        "controls": "\b\f\n\r\t",
-        "slash": "/ & \/",
-        "alpha": "abcdefghijklmnopqrstuvwyz",
-        "ALPHA": "ABCDEFGHIJKLMNOPQRSTUVWYZ",
-        "digit": "0123456789",
-        "special": "`1~!@#$%^&*()_+-={':[,]}|;.</>?",
-        "hex": "\u0123\u4567\u89AB\uCDEF\uabcd\uef4A",
-        "true": true,
-        "false": false,
-        "null": null,
-        "array":[  ],
-        "object":{  },
-        "address": "50 St. James Street",
-        "url": "http://www.JSON.org/",
-        "comment": "// /* <!-- --",
-        "# -- --> */": " ",
-        " s p a c e d " :[1,2 , 3
-
-,
-
-4 , 5        ,          6           ,7        ],
-        "compact": [1,2,3,4,5,6,7],
-        "jsontext": "{\"object with 1 member\":[\"array with 1 element\"]}",
-        "quotes": "&#34; \u0022 %22 0x22 034 &#x22;",
-        "\/\\\"\uCAFE\uBABE\uAB98\uFCDE\ubcda\uef4A\b\f\n\r\t`1~!@#$%^&*()_+-=[]{}|;:',./<>?"
-: "A key can be any string"
-    },
-    0.5 ,98.6
-,
-99.44
-,
-
-1066
-
-
 ,"rosebud"]
 
 DECODE: AS OBJECT
index 8a6542ef5ad52d82d32e88af769b24f17ebbb36b..7d5989abde75dc77458dc4f0fbd708eacf930e65 100644 (file)
@@ -34,248 +34,6 @@ var_dump($arr);
 --EXPECT--
 Testing: [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
 DECODE: AS OBJECT
-array(1) {
-  [0]=>
-  array(1) {
-    [0]=>
-    array(1) {
-      [0]=>
-      array(1) {
-        [0]=>
-        array(1) {
-          [0]=>
-          array(1) {
-            [0]=>
-            array(1) {
-              [0]=>
-              array(1) {
-                [0]=>
-                array(1) {
-                  [0]=>
-                  array(1) {
-                    [0]=>
-                    array(1) {
-                      [0]=>
-                      array(1) {
-                        [0]=>
-                        array(1) {
-                          [0]=>
-                          array(1) {
-                            [0]=>
-                            array(1) {
-                              [0]=>
-                              array(1) {
-                                [0]=>
-                                array(1) {
-                                  [0]=>
-                                  array(1) {
-                                    [0]=>
-                                    array(1) {
-                                      [0]=>
-                                      string(12) "Not too deep"
-                                    }
-                                  }
-                                }
-                              }
-                            }
-                          }
-                        }
-                      }
-                    }
-                  }
-                }
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-}
-DECODE: AS ARRAY
-array(1) {
-  [0]=>
-  array(1) {
-    [0]=>
-    array(1) {
-      [0]=>
-      array(1) {
-        [0]=>
-        array(1) {
-          [0]=>
-          array(1) {
-            [0]=>
-            array(1) {
-              [0]=>
-              array(1) {
-                [0]=>
-                array(1) {
-                  [0]=>
-                  array(1) {
-                    [0]=>
-                    array(1) {
-                      [0]=>
-                      array(1) {
-                        [0]=>
-                        array(1) {
-                          [0]=>
-                          array(1) {
-                            [0]=>
-                            array(1) {
-                              [0]=>
-                              array(1) {
-                                [0]=>
-                                array(1) {
-                                  [0]=>
-                                  array(1) {
-                                    [0]=>
-                                    array(1) {
-                                      [0]=>
-                                      string(12) "Not too deep"
-                                    }
-                                  }
-                                }
-                              }
-                            }
-                          }
-                        }
-                      }
-                    }
-                  }
-                }
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-}
-ENCODE: FROM OBJECT
-[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
-ENCODE: FROM ARRAY
-[[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
-DECODE AGAIN: AS OBJECT
-array(1) {
-  [0]=>
-  array(1) {
-    [0]=>
-    array(1) {
-      [0]=>
-      array(1) {
-        [0]=>
-        array(1) {
-          [0]=>
-          array(1) {
-            [0]=>
-            array(1) {
-              [0]=>
-              array(1) {
-                [0]=>
-                array(1) {
-                  [0]=>
-                  array(1) {
-                    [0]=>
-                    array(1) {
-                      [0]=>
-                      array(1) {
-                        [0]=>
-                        array(1) {
-                          [0]=>
-                          array(1) {
-                            [0]=>
-                            array(1) {
-                              [0]=>
-                              array(1) {
-                                [0]=>
-                                array(1) {
-                                  [0]=>
-                                  array(1) {
-                                    [0]=>
-                                    array(1) {
-                                      [0]=>
-                                      string(12) "Not too deep"
-                                    }
-                                  }
-                                }
-                              }
-                            }
-                          }
-                        }
-                      }
-                    }
-                  }
-                }
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-}
-DECODE AGAIN: AS ARRAY
-array(1) {
-  [0]=>
-  array(1) {
-    [0]=>
-    array(1) {
-      [0]=>
-      array(1) {
-        [0]=>
-        array(1) {
-          [0]=>
-          array(1) {
-            [0]=>
-            array(1) {
-              [0]=>
-              array(1) {
-                [0]=>
-                array(1) {
-                  [0]=>
-                  array(1) {
-                    [0]=>
-                    array(1) {
-                      [0]=>
-                      array(1) {
-                        [0]=>
-                        array(1) {
-                          [0]=>
-                          array(1) {
-                            [0]=>
-                            array(1) {
-                              [0]=>
-                              array(1) {
-                                [0]=>
-                                array(1) {
-                                  [0]=>
-                                  array(1) {
-                                    [0]=>
-                                    array(1) {
-                                      [0]=>
-                                      string(12) "Not too deep"
-                                    }
-                                  }
-                                }
-                              }
-                            }
-                          }
-                        }
-                      }
-                    }
-                  }
-                }
-              }
-            }
-          }
-        }
-      }
-    }
-  }
-}
---UEXPECT--
-Testing: [[[[[[[[[[[[[[[[[[["Not too deep"]]]]]]]]]]]]]]]]]]]
-DECODE: AS OBJECT
 array(1) {
   [0]=>
   array(1) {
index 066621e2042c1055ff62bdd0fd3690078322b6b0..8badc81d92cec716af981dfb1dbec475774e0a45 100644 (file)
@@ -48,59 +48,6 @@ Testing:
     }
 }
 
-DECODE: AS OBJECT
-object(stdClass)#%d (1) {
-  ["JSON Test Pattern pass3"]=>
-  object(stdClass)#%d (2) {
-    ["The outermost value"]=>
-    string(27) "must be an object or array."
-    ["In this test"]=>
-    string(16) "It is an object."
-  }
-}
-DECODE: AS ARRAY
-array(1) {
-  ["JSON Test Pattern pass3"]=>
-  array(2) {
-    ["The outermost value"]=>
-    string(27) "must be an object or array."
-    ["In this test"]=>
-    string(16) "It is an object."
-  }
-}
-ENCODE: FROM OBJECT
-{"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It is an object."}}
-ENCODE: FROM ARRAY
-{"JSON Test Pattern pass3":{"The outermost value":"must be an object or array.","In this test":"It is an object."}}
-DECODE AGAIN: AS OBJECT
-object(stdClass)#%d (1) {
-  ["JSON Test Pattern pass3"]=>
-  object(stdClass)#%d (2) {
-    ["The outermost value"]=>
-    string(27) "must be an object or array."
-    ["In this test"]=>
-    string(16) "It is an object."
-  }
-}
-DECODE AGAIN: AS ARRAY
-array(1) {
-  ["JSON Test Pattern pass3"]=>
-  array(2) {
-    ["The outermost value"]=>
-    string(27) "must be an object or array."
-    ["In this test"]=>
-    string(16) "It is an object."
-  }
-}
---UEXPECTF--
-Testing: 
-{
-    "JSON Test Pattern pass3": {
-        "The outermost value": "must be an object or array.",
-        "In this test": "It is an object."
-    }
-}
-
 DECODE: AS OBJECT
 object(stdClass)#%d (1) {
   [u"JSON Test Pattern pass3"]=>
index bd4ec14cd3a54e6d6606ec0aaeac4d6c6eca9ecb..463b06bb1177b731f482ad8112653bccb829243b 100644 (file)
@@ -69,32 +69,6 @@ Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title
 
 --------------------------------------------
 
-object(LibXMLError)#%d (6) {
-  ["level"]=>
-  int(3)
-  ["code"]=>
-  int(76)
-  ["column"]=>
-  int(%d)
-  ["message"]=>
-  string(57) "Opening and ending tag mismatch: titles line 4 and title
-"
-  ["file"]=>
-  string(0) ""
-  ["line"]=>
-  int(4)
-}
-Done
---UEXPECTF--
-bool(false)
-            <titles>PHP: Behind the Parser</title>
-%s
-Fatal Error 76: Opening and ending tag mismatch: titles line 4 and title
-  Line: 4
-  Column: %d
-
---------------------------------------------
-
 object(LibXMLError)#%d (6) {
   [u"level"]=>
   int(3)
index fec10540fbe9fa0a8ea9242f917e3cc35d78f981..19626795eb938cc5c98806f2421a4473b5e6ca5e 100644 (file)
@@ -58,7 +58,7 @@ var_dump(base64_encode(mb_convert_encoding($euc_jp_string, 'UTF-8', 'EUC-JP')));
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_convert_encoding() : basic functionality ***
 
 -- Convert to JIS --
@@ -93,38 +93,3 @@ string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnj
 string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
 string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
 Done
---UEXPECTF--
-*** Testing mb_convert_encoding() : basic functionality ***
-
--- Convert to JIS --
-JIS encoded string in base64:
-string(68) "GyRCRnxLXDhsJUYlLSU5JUgkRyQ5ISMbKEIwMTIzNBskQiM1IzYjNyM4IzkhIxsoQg=="
-Converted Strings:
-string(68) "GyRCRnxLXDhsJUYlLSU5JUgkRyQ5ISMbKEIwMTIzNBskQiM1IzYjNyM4IzkhIxsoQg=="
-string(68) "GyRCRnxLXDhsJUYlLSU5JUgkRyQ5ISMbKEIwMTIzNBskQiM1IzYjNyM4IzkhIxsoQg=="
-string(68) "GyRCRnxLXDhsJUYlLSU5JUgkRyQ5ISMbKEIwMTIzNBskQiM1IzYjNyM4IzkhIxsoQg=="
-
--- Convert to EUC-JP --
-EUC-JP encoded string in base64:
-string(52) "xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow=="
-Converted Strings:
-string(52) "xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow=="
-string(52) "xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow=="
-string(52) "xvzL3LjspcalraW5pcikx6S5oaMwMTIzNKO1o7ajt6O4o7mhow=="
-
--- Convert to SJIS --
-SJIS encoded string in base64:
-string(52) "k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=="
-Converted Strings:
-string(52) "k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=="
-string(52) "k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=="
-string(52) "k/qWe4zqg2WDTINYg2eCxYK3gUIwMTIzNIJUglWCVoJXgliBQg=="
-
--- Convert to UTF-8 --
-UTF-8 encoded string in base64:
-string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-Converted Strings:
-string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-Done
\ No newline at end of file
index d24526ddd699e510c46fa974f7696b106e6c0cc2..5871cbff87351c8839fac19dcdd8e21da1d15a0d 100644 (file)
@@ -37,7 +37,7 @@ foreach ($inputs as $lang => $input) {
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_encode_mimeheader() : basic ***
 
 Language: English
@@ -63,29 +63,3 @@ string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20=CE=B5=CE=AF=CE=BD=CE=B1=CE=B9
  =?UTF-8?Q?=CE=AF=CE=BC=CE=B5=CE=BD=CE=BF=2E=20=30=31=32=33=34=35=36=37=38?=
  =?UTF-8?Q?=39=2E?="
 Done
---UEXPECTF--
-*** Testing mb_encode_mimeheader() : basic ***
-
-Language: English
--- Base 64: --
-string(37) "This is an English string. 0123456789"
--- Quoted-Printable --
-string(37) "This is an English string. 0123456789"
-
-Language: Japanese
--- Base 64: --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
--- Quoted-Printable --
-string(117) "=?UTF-8?Q?=E6=97=A5=E6=9C=AC=E8=AA=9E=E3=83=86=E3=82=AD=E3=82=B9=E3=83=88?=
- =?UTF-8?Q?=E3=81=A7=E3=81=99=E3=80=82?="
-
-Language: Greek
--- Base 64: --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
--- Quoted-Printable --
-string(249) "=?UTF-8?Q?=CE=91=CF=85=CF=84=CF=8C=20=CE=B5=CE=AF=CE=BD=CE=B1=CE=B9=20?=
- =?UTF-8?Q?=CE=B5=CE=BB=CE=BB=CE=B7=CE=BD=CE=B9=CE=BA=CF=8C=20=CE=BA=CE=B5?=
- =?UTF-8?Q?=CE=AF=CE=BC=CE=B5=CE=BD=CE=BF=2E=20=30=31=32=33=34=35=36=37=38?=
- =?UTF-8?Q?=39=2E?="
-Done
\ No newline at end of file
index e52aca7f7dc7959d5c4eb05b58b898535f01a2a0..b7a4ba6f18a579c21aee8b6dbf8a5cc1abc676f2 100644 (file)
@@ -181,83 +181,6 @@ string(0) ""
 
 -- Iteration 24 --
 
-Warning: mb_encode_mimeheader() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_encode_mimeheader() : usage variations ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "123456789000"
-
--- Iteration 8 --
-string(13) "1.23456789E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-
--- Iteration 10 --
-string(0) ""
-
--- Iteration 11 --
-string(0) ""
-
--- Iteration 12 --
-string(1) "1"
-
--- Iteration 13 --
-string(0) ""
-
--- Iteration 14 --
-string(1) "1"
-
--- Iteration 15 --
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-
--- Iteration 17 --
-string(0) ""
-
--- Iteration 18 --
-string(6) "string"
-
--- Iteration 19 --
-string(6) "string"
-
--- Iteration 20 --
-string(11) "hello world"
-
--- Iteration 21 --
-string(14) "Class A object"
-
--- Iteration 22 --
-string(0) ""
-
--- Iteration 23 --
-string(0) ""
-
--- Iteration 24 --
-
 Warning: mb_encode_mimeheader() expects parameter 1 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index f363e7b82d9744a89a4ede5be2ccd74a79e4e796..cb9918164d11bf412e1bd4c9ff0d925a6e366bdd 100644 (file)
@@ -219,121 +219,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_encode_mimeheader() expects parameter 2 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_encode_mimeheader() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 19 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 20 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 21 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 22 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_encode_mimeheader(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_encode_mimeheader() expects parameter 2 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 7c880c1c63c0a147011cb543b21963f932c123e7..cf7b96a4af611d6a5f9965bc20ecc94c50e978fa 100644 (file)
@@ -181,83 +181,6 @@ string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
 
 -- Iteration 24 --
 
-Warning: mb_encode_mimeheader() expects parameter 3 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_encode_mimeheader() : usage variations ***
-
--- Iteration 1 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 2 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 3 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 4 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 5 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 6 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 7 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 8 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 9 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 10 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 11 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 12 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 13 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 14 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 15 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 16 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 17 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 18 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 19 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 20 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 21 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 22 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 23 --
-string(52) "=?UTF-8?B?5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC?="
-
--- Iteration 24 --
-
 Warning: mb_encode_mimeheader() expects parameter 3 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index c5f206723b2b69f3f5ff2fabc27c7c190dd20346..c8d596364ade0cec491a1732ab4f66ff2820b94d 100644 (file)
@@ -182,83 +182,6 @@ string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr
 
 -- Iteration 24 --
 
-Warning: mb_encode_mimeheader() expects parameter 4 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_encode_mimeheader() : usage variations ***
-
--- Iteration 1 --
-string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=0 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 2 --
-string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=1 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 3 --
-string(118) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=12345 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 4 --
-string(118) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=-2345 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 5 --
-string(117) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=10.5 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 6 --
-string(118) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=-10.5 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 7 --
-string(121) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=12345678 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 8 --
-string(121) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=1.234567 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 9 --
-string(116) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=0.5 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 10 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 11 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 12 --
-string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=1 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 13 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 14 --
-string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=1 =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 15 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 16 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 17 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 18 --
-string(119) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=string =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 19 --
-string(119) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=string =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 20 --
-string(121) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=hello wo =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 21 --
-string(121) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=Class A  =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 22 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 23 --
-string(113) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?= =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 24 --
-
 Warning: mb_encode_mimeheader() expects parameter 4 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 74eb6037314e3387ec9a5a830228b82cb643a0ca..ad4b957c6b7a1a5489574869f049bb8c1df701a6 100644 (file)
@@ -172,112 +172,6 @@ string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr
 
 -- Iteration 16 --
 
-Warning: mb_encode_mimeheader() expects parameter 5 to be long, string given in %s on line %d
-NULL
-
--- Iteration 17 --
-
-Warning: mb_encode_mimeheader() expects parameter 5 to be long, string given in %s on line %d
-NULL
-
--- Iteration 18 --
-
-Warning: mb_encode_mimeheader() expects parameter 5 to be long, string given in %s on line %d
-NULL
-
--- Iteration 19 --
-
-Warning: mb_encode_mimeheader() expects parameter 5 to be long, string given in %s on line %d
-NULL
-
--- Iteration 20 --
-
-Warning: mb_encode_mimeheader() expects parameter 5 to be long, string given in %s on line %d
-NULL
-
--- Iteration 21 --
-
-Warning: mb_encode_mimeheader() expects parameter 5 to be long, object given in %s on line %d
-NULL
-
--- Iteration 22 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 23 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 24 --
-
-Warning: mb_encode_mimeheader() expects parameter 5 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_encode_mimeheader() : usage variations ***
-
--- Iteration 1 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 2 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 3 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 4 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 5 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66?=
- =?UTF-8?B?zrXOr868zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 6 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 7 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 8 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 9 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 10 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 11 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 12 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 13 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 14 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 15 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 16 --
-
 Warning: mb_encode_mimeheader() expects parameter 5 to be long, Unicode string given in %s on line %d
 NULL
 
@@ -318,4 +212,4 @@ string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr
 
 Warning: mb_encode_mimeheader() expects parameter 5 to be long, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index f840155301b142fb077e130d392ad984984b6763..de2a84817237faaa6859f2c6222b3a7046bad02f 100644 (file)
@@ -37,7 +37,7 @@ foreach ($linefeeds as $linefeed) {
 echo "Done";
 ?>
 
---EXPECTF--
+--EXPECT--
 *** Testing mb_encode_mimeheader() : usage variations ***
 
 -- Iteration 1 --
@@ -51,17 +51,3 @@ string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr
 -- Iteration 3 --
 string(116) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=--- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
 Done
---UEXPECTF--
-*** Testing mb_encode_mimeheader() : usage variations ***
-
--- Iteration 1 --
-string(115) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 2 --
-string(114) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=
- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-
--- Iteration 3 --
-string(116) "=?UTF-8?B?zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868?=--- =?UTF-8?B?zrXOvc6/LiAwMTIzNDU2Nzg5Lg==?="
-Done
\ No newline at end of file
index a1ca7c79ee0bd95d7091059a042d916443902280..c9af72f6a8515a0d6608a281350382ead846b2a0 100644 (file)
@@ -76,7 +76,7 @@ function base64_encode_var_dump($regs) {
 }
 ?>
 
---EXPECTF--
+--EXPECT--
 *** Testing mb_ereg() : basic functionality ***
 Regex encoding set to utf-8
 
@@ -115,42 +115,3 @@ array(3) {
 bool(false)
 NULL
 Done
---UEXPECTF--
-*** Testing mb_ereg() : basic functionality ***
-Regex encoding set to utf-8
-
-**-- ASCII String --**
--- Without $regs argument--
-int(1)
-int(1)
---With $regs argument --
-int(36)
-array(2) {
-  [0]=>
-  string(36) "This is an English string. 012345678"
-  [1]=>
-  string(17) "This is an Englis"
-}
-int(17)
-array(1) {
-  [0]=>
-  string(17) "This is an Englis"
-}
-
-**-- Multibyte String --**
--- Without $regs argument --
-int(1)
-bool(false)
--- With $regs argument --
-int(15)
-array(3) {
-  [0]=>
-  string(48) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzQ="
-  [1]=>
-  string(12) "5pel5pys6Kqe"
-  [2]=>
-  string(8) "MTIzNA=="
-}
-bool(false)
-NULL
-Done
\ No newline at end of file
index a0cc35fb679bb7a728218c8ac1fed087167646a1..21216257cd72582677e06b7d661b598239970cc3 100644 (file)
@@ -47,17 +47,3 @@ bool(false)
 Warning: mb_ereg() expects at least 2 parameters, 1 given in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_ereg() : error conditions ***
-
--- Testing mb_ereg() function with more than expected no. of arguments --
-
-Warning: mb_ereg() expects at most 3 parameters, 4 given in %s on line %d
-bool(false)
-
--- Testing mb_ereg() function with less than expected no. of arguments --
-
-Warning: mb_ereg() expects at least 2 parameters, 1 given in %s on line %d
-bool(false)
-Done
index dabfcf82fe52ff61c681371c0176f31d6d92ad27..14913f40f12a88c37441ae8e62feb3f9b15c285f 100644 (file)
@@ -106,112 +106,7 @@ fclose($fp);
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing mb_ereg() : usage variations ***
-
--- Iteration 1 --
-bool(false)
-NULL
-
--- Iteration 2 --
-bool(false)
-NULL
-
--- Iteration 3 --
-bool(false)
-NULL
-
--- Iteration 4 --
-bool(false)
-NULL
-
--- Iteration 5 --
-bool(false)
-NULL
-
--- Iteration 6 --
-bool(false)
-NULL
-
--- Iteration 7 --
-bool(false)
-NULL
-
--- Iteration 8 --
-bool(false)
-NULL
-
--- Iteration 9 --
-bool(false)
-NULL
-
--- Iteration 10 --
-bool(false)
-NULL
-
--- Iteration 11 --
-bool(false)
-NULL
-
--- Iteration 12 --
-bool(false)
-NULL
-
--- Iteration 13 --
-bool(false)
-NULL
-
--- Iteration 14 --
-bool(false)
-NULL
-
--- Iteration 15 --
-bool(false)
-NULL
-
--- Iteration 16 --
-bool(false)
-NULL
-
--- Iteration 17 --
-bool(false)
-NULL
-
--- Iteration 18 --
-int(6)
-array(1) {
-  [0]=>
-  string(6) "string"
-}
-
--- Iteration 19 --
-int(6)
-array(1) {
-  [0]=>
-  string(6) "string"
-}
-
--- Iteration 20 --
-bool(false)
-NULL
-
--- Iteration 21 --
-bool(false)
-NULL
-
--- Iteration 22 --
-bool(false)
-NULL
-
--- Iteration 23 --
-bool(false)
-NULL
-
--- Iteration 24 --
-bool(false)
-NULL
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing mb_ereg() : usage variations ***
 
 -- Iteration 1 --
@@ -323,4 +218,4 @@ NULL
 -- Iteration 24 --
 bool(false)
 NULL
-Done
\ No newline at end of file
+Done
index 5922da2851c806cf3d086cbace58c9001ad96a7e..340cbed321ea0e4ef96a0822bd69376d44d4ac45 100644 (file)
@@ -210,115 +210,7 @@ NULL
 
 -- Iteration 24 --
 
-Warning: mb_ereg() expects parameter 2 to be string, resource given in %s on line %d
-bool(false)
-NULL
-Done
-
---UEXPECTF--
-*** Testing mb_ereg() : usage variations ***
-
--- Iteration 1 --
-bool(false)
-NULL
-
--- Iteration 2 --
-bool(false)
-NULL
-
--- Iteration 3 --
-bool(false)
-NULL
-
--- Iteration 4 --
-bool(false)
-NULL
-
--- Iteration 5 --
-bool(false)
-NULL
-
--- Iteration 6 --
-bool(false)
-NULL
-
--- Iteration 7 --
-bool(false)
-NULL
-
--- Iteration 8 --
-bool(false)
-NULL
-
--- Iteration 9 --
-bool(false)
-NULL
-
--- Iteration 10 --
-bool(false)
-NULL
-
--- Iteration 11 --
-bool(false)
-NULL
-
--- Iteration 12 --
-bool(false)
-NULL
-
--- Iteration 13 --
-bool(false)
-NULL
-
--- Iteration 14 --
-bool(false)
-NULL
-
--- Iteration 15 --
-bool(false)
-NULL
-
--- Iteration 16 --
-bool(false)
-NULL
-
--- Iteration 17 --
-bool(false)
-NULL
-
--- Iteration 18 --
-int(3)
-array(1) {
-  [0]=>
-  string(3) "str"
-}
-
--- Iteration 19 --
-int(3)
-array(1) {
-  [0]=>
-  string(3) "str"
-}
-
--- Iteration 20 --
-bool(false)
-NULL
-
--- Iteration 21 --
-bool(false)
-NULL
-
--- Iteration 22 --
-bool(false)
-NULL
-
--- Iteration 23 --
-bool(false)
-NULL
-
--- Iteration 24 --
-
 Warning: mb_ereg() expects parameter 2 to be binary string, resource given in %s on line %d
 bool(false)
 NULL
-Done
\ No newline at end of file
+Done
index b390c65bc7886b439a5090b1a9b09294c6b8ecb6..c0cf1de8f73d00362f54d7e7b386b12bdca55458 100644 (file)
@@ -74,7 +74,7 @@ function base64_encode_var_dump($regs) {
 echo "Done";
 ?>
 
---EXPECTF--
+--EXPECT--
 *** Testing mb_ereg() : variation ***
 
 -- Iteration 1 --
@@ -161,90 +161,3 @@ array(1) {
   string(4) "3b5D"
 }
 Done
---UEXPECTF--
-*** Testing mb_ereg() : variation ***
-
--- Iteration 1 --
-int(3)
-array(1) {
-  [0]=>
-  string(3) "aB1"
-}
-
--- Iteration 2 --
-int(4)
-array(1) {
-  [0]=>
-  string(4) "aBcD"
-}
-
--- Iteration 3 --
-int(4)
-array(1) {
-  [0]=>
-  string(4) "ab/="
-}
-
--- Iteration 4 --
-int(2)
-array(1) {
-  [0]=>
-  string(2) "  "
-}
-
--- Iteration 5 --
-int(3)
-array(1) {
-  [0]=>
-  string(3) "234"
-}
-
--- Iteration 6 --
-int(9)
-array(1) {
-  [0]=>
-  string(12) "5pel5pys6Kqe"
-}
-
--- Iteration 7 --
-int(4)
-array(1) {
-  [0]=>
-  string(4) "fjds"
-}
-
--- Iteration 8 --
-int(10)
-array(1) {
-  [0]=>
-  string(16) "5pel5pys6KqeCQ=="
-}
-
--- Iteration 9 --
-int(5)
-array(1) {
-  [0]=>
-  string(5) ".!"*@"
-}
-
--- Iteration 10 --
-int(1)
-array(1) {
-  [0]=>
-  string(1) "  "
-}
-
--- Iteration 11 --
-int(5)
-array(1) {
-  [0]=>
-  string(5) "IDSJV"
-}
-
--- Iteration 12 --
-int(4)
-array(1) {
-  [0]=>
-  string(4) "3b5D"
-}
-Done
\ No newline at end of file
index ca73a2f20c2cabcead2bd048ce47b25ad28848bc..66b31da81b0618e402b6f05ba1bda71d4bbea052 100644 (file)
@@ -73,7 +73,7 @@ function base64_encode_var_dump($regs) {
 echo "Done";
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_ereg() : usage variations ***
 
 -- Iteration 1 --
@@ -147,77 +147,3 @@ array(1) {
   string(8) "MDEyMzQ="
 }
 Done
---UEXPECTF--
-*** Testing mb_ereg() : usage variations ***
-
--- Iteration 1 --
-int(47)
-array(1) {
-  [0]=>
-  string(64) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZMDEyMzTvvJXvvJbvvJfvvJjvvJk="
-}
-
--- Iteration 2 --
-int(27)
-array(1) {
-  [0]=>
-  string(36) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ"
-}
-
--- Iteration 3 --
-int(5)
-array(1) {
-  [0]=>
-  string(8) "MDEyMzQ="
-}
-
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-int(20)
-array(1) {
-  [0]=>
-  string(28) "MDEyMzTvvJXvvJbvvJfvvJjvvJk="
-}
-
--- Iteration 7 --
-int(50)
-array(1) {
-  [0]=>
-  string(68) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-}
-
--- Iteration 8 --
-bool(false)
-
--- Iteration 9 --
-int(50)
-array(1) {
-  [0]=>
-  string(68) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-}
-
--- Iteration 10 --
-int(3)
-array(1) {
-  [0]=>
-  string(4) "44CC"
-}
-
--- Iteration 11 --
-bool(false)
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-int(5)
-array(1) {
-  [0]=>
-  string(8) "MDEyMzQ="
-}
-Done
\ No newline at end of file
index 122165dc5738b70b25213348889479f98fdbad13..61c8dbcd60cc85059783b5c2888566ac629ff2f3 100644 (file)
@@ -61,7 +61,7 @@ function base64_encode_var_dump($regs) {
        }
 }
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_ereg() : usage variations ***
 
 ASCII String without $regs arg:                int(1)
@@ -80,22 +80,3 @@ array(1) {
   string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
 }
 Done
---UEXPECTF--
-*** Testing mb_ereg() : usage variations ***
-
-ASCII String without $regs arg:                int(1)
-ASCII String with $regs arg:
-int(38)
-array(1) {
-  [0]=>
-  string(38) "This is an English string. 0123456789."
-}
-
-Multibyte String without $regs arg:    int(1)
-Multubyte String with $regs arg:
-int(53)
-array(1) {
-  [0]=>
-  string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-}
-Done
\ No newline at end of file
index 42bbbaf8cc78937fd2a1cf5fd0b802dabd7d72ee..abfc73f3ddc72b87f0a952dd5f697c673575ffbb 100644 (file)
@@ -70,7 +70,7 @@ function base64_encode_var_dump($regs) {
 echo "Done";
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_ereg() : usage variations ***
 Regex encoding set to utf-8
 
@@ -183,116 +183,3 @@ array(1) {
   bool(false)
 }
 Done
---UEXPECTF--
-*** Testing mb_ereg() : usage variations ***
-Regex encoding set to utf-8
-
---** Pattern is: \w+ **--
--- ASCII String: --
-int(4)
-array(1) {
-  [0]=>
-  string(4) "This"
-}
--- Multibyte String: --
-int(27)
-array(1) {
-  [0]=>
-  string(36) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ"
-}
-
---** Pattern is: \W+ **--
--- ASCII String: --
-int(1)
-array(1) {
-  [0]=>
-  string(1) " "
-}
--- Multibyte String: --
-int(3)
-array(1) {
-  [0]=>
-  string(4) "44CC"
-}
-
---** Pattern is: \s+ **--
--- ASCII String: --
-int(1)
-array(1) {
-  [0]=>
-  string(1) " "
-}
--- Multibyte String: --
-bool(false)
-NULL
-
---** Pattern is: \S+ **--
--- ASCII String: --
-int(4)
-array(1) {
-  [0]=>
-  string(4) "This"
-}
--- Multibyte String: --
-int(53)
-array(1) {
-  [0]=>
-  string(72) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-}
-
---** Pattern is: \d+ **--
--- ASCII String: --
-int(10)
-array(1) {
-  [0]=>
-  string(10) "0123456789"
-}
--- Multibyte String: --
-int(20)
-array(1) {
-  [0]=>
-  string(28) "MDEyMzTvvJXvvJbvvJfvvJjvvJk="
-}
-
---** Pattern is: \D+ **--
--- ASCII String: --
-int(27)
-array(1) {
-  [0]=>
-  string(27) "This is an English string. "
-}
--- Multibyte String: --
-int(30)
-array(1) {
-  [0]=>
-  string(40) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC"
-}
-
---** Pattern is: \b **--
--- ASCII String: --
-int(1)
-array(1) {
-  [0]=>
-  bool(false)
-}
--- Multibyte String: --
-int(1)
-array(1) {
-  [0]=>
-  bool(false)
-}
-
---** Pattern is: \B **--
--- ASCII String: --
-int(1)
-array(1) {
-  [0]=>
-  bool(false)
-}
--- Multibyte String: --
-int(1)
-array(1) {
-  [0]=>
-  bool(false)
-}
-Done
\ No newline at end of file
index 7363cd1806f24302dc09d1ae04532bb14030067b..408d9078b7897485e22200949d02f81eee457dc2 100644 (file)
@@ -62,7 +62,7 @@ function base64_encode_var_dump($regs) {
 echo "Done";
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_ereg() : usage variations ***
 Regex encoding set to utf-8
 int(38)
@@ -92,33 +92,3 @@ array(5) {
   string(4) "ODk="
 }
 Done
---UEXPECTF--
-*** Testing mb_ereg() : usage variations ***
-Regex encoding set to utf-8
-int(38)
-array(5) {
-  [0]=>
-  string(38) "This is an English string. 0123456789."
-  [1]=>
-  string(6) "This i"
-  [2]=>
-  string(2) " i"
-  [3]=>
-  string(5) "56789"
-  [4]=>
-  string(2) "89"
-}
-int(64)
-array(5) {
-  [0]=>
-  string(88) "zpHPhc+Ez4wgzrXOr869zrHOuSDOtc67zrvOt869zrnOus+MIM66zrXOr868zrXOvc6/LiAwMTIzNDU2Nzg5Lg=="
-  [1]=>
-  string(16) "zrXOr869zrHOuSA="
-  [2]=>
-  string(4) "zr8="
-  [3]=>
-  string(8) "NTY3ODk="
-  [4]=>
-  string(4) "ODk="
-}
-Done
\ No newline at end of file
index cfcaf774e22dc7e43473a28c9b9347e9061a7198..a289dcf8de104caf407583331e6e63b64e346ca8 100644 (file)
@@ -34,10 +34,3 @@ string(%d) "%s"
 bool(true)
 string(5) "UTF-8"
 Done
-
---UEXPECTF--
-*** Testing mb_internal_encoding() : basic functionality ***
-string(%d) "%s"
-bool(true)
-string(5) "UTF-8"
-Done
index a1cdfbb5f23d7bd96d5a06a8dd6cd74a23c9bf26..61f133a44af0cc379152e501d1297448cba2e4f8 100644 (file)
@@ -34,12 +34,3 @@ echo "Done";
 Warning: mb_internal_encoding() expects at most 1 parameter, 2 given in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_internal_encoding() : error conditions ***
-
--- Testing mb_internal_encoding() function with more than expected no. of arguments --
-
-Warning: mb_internal_encoding() expects at most 1 parameter, 2 given in %s on line %d
-bool(false)
-Done
index bf350c7598ceab926ad54b7000ac248f4034ee6f..d0a1653ebecac54ff4a7d06821a5a014c57bf536 100644 (file)
@@ -29,10 +29,3 @@ echo "Done";
 Warning: mb_internal_encoding(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_internal_encoding() : error conditions ***
-
-Warning: mb_internal_encoding(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
index cb31f760296418f252a5bc758e017597c232d7b2..481d8a4babb37284588cfa31efe6c0262e372e47 100644 (file)
@@ -212,122 +212,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_internal_encoding() expects parameter 1 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-
-*** Testing mb_internal_encoding() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_internal_encoding(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_internal_encoding(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_internal_encoding(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_internal_encoding(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_internal_encoding(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_internal_encoding(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_internal_encoding(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_internal_encoding(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_internal_encoding(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_internal_encoding(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_internal_encoding(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-bool(true)
-
--- Iteration 19 --
-bool(true)
-
--- Iteration 20 --
-bool(true)
-
--- Iteration 21 --
-bool(true)
-
--- Iteration 22 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_internal_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_internal_encoding() expects parameter 1 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 41682b75736acb1c4f8e165f8598a470d3eba21e..3d2c5473136a9decd65332da927f546ece407bcc 100644 (file)
@@ -372,287 +372,3 @@ string(5) "CP866"
 bool(true)
 string(6) "KOI8-R"
 Done
---UEXPECTF--
-
-*** Testing mb_internal_encoding() : usage variations ***
-
--- Iteration 1 --
-string(%d) "%s"
-bool(true)
-string(5) "UCS-4"
-
--- Iteration 2 --
-string(5) "UCS-4"
-bool(true)
-string(7) "UCS-4BE"
-
--- Iteration 3 --
-string(7) "UCS-4BE"
-bool(true)
-string(7) "UCS-4LE"
-
--- Iteration 4 --
-string(7) "UCS-4LE"
-bool(true)
-string(5) "UCS-2"
-
--- Iteration 5 --
-string(5) "UCS-2"
-bool(true)
-string(7) "UCS-2BE"
-
--- Iteration 6 --
-string(7) "UCS-2BE"
-bool(true)
-string(7) "UCS-2LE"
-
--- Iteration 7 --
-string(7) "UCS-2LE"
-bool(true)
-string(6) "UTF-32"
-
--- Iteration 8 --
-string(6) "UTF-32"
-bool(true)
-string(8) "UTF-32BE"
-
--- Iteration 9 --
-string(8) "UTF-32BE"
-bool(true)
-string(8) "UTF-32LE"
-
--- Iteration 10 --
-string(8) "UTF-32LE"
-bool(true)
-string(6) "UTF-16"
-
--- Iteration 11 --
-string(6) "UTF-16"
-bool(true)
-string(8) "UTF-16BE"
-
--- Iteration 12 --
-string(8) "UTF-16BE"
-bool(true)
-string(8) "UTF-16LE"
-
--- Iteration 13 --
-string(8) "UTF-16LE"
-bool(true)
-string(5) "UTF-7"
-
--- Iteration 14 --
-string(5) "UTF-7"
-bool(true)
-string(9) "UTF7-IMAP"
-
--- Iteration 15 --
-string(9) "UTF7-IMAP"
-bool(true)
-string(5) "UTF-8"
-
--- Iteration 16 --
-string(5) "UTF-8"
-bool(true)
-string(5) "ASCII"
-
--- Iteration 17 --
-string(5) "ASCII"
-bool(true)
-string(6) "EUC-JP"
-
--- Iteration 18 --
-string(6) "EUC-JP"
-bool(true)
-string(4) "SJIS"
-
--- Iteration 19 --
-string(4) "SJIS"
-bool(true)
-string(9) "eucJP-win"
-
--- Iteration 20 --
-string(9) "eucJP-win"
-bool(true)
-string(8) "SJIS-win"
-
--- Iteration 21 --
-string(8) "SJIS-win"
-bool(true)
-string(11) "ISO-2022-JP"
-
--- Iteration 22 --
-string(11) "ISO-2022-JP"
-bool(true)
-string(3) "JIS"
-
--- Iteration 23 --
-string(3) "JIS"
-bool(true)
-string(10) "ISO-8859-1"
-
--- Iteration 24 --
-string(10) "ISO-8859-1"
-bool(true)
-string(10) "ISO-8859-2"
-
--- Iteration 25 --
-string(10) "ISO-8859-2"
-bool(true)
-string(10) "ISO-8859-3"
-
--- Iteration 26 --
-string(10) "ISO-8859-3"
-bool(true)
-string(10) "ISO-8859-4"
-
--- Iteration 27 --
-string(10) "ISO-8859-4"
-bool(true)
-string(10) "ISO-8859-5"
-
--- Iteration 28 --
-string(10) "ISO-8859-5"
-bool(true)
-string(10) "ISO-8859-6"
-
--- Iteration 29 --
-string(10) "ISO-8859-6"
-bool(true)
-string(10) "ISO-8859-7"
-
--- Iteration 30 --
-string(10) "ISO-8859-7"
-bool(true)
-string(10) "ISO-8859-8"
-
--- Iteration 31 --
-string(10) "ISO-8859-8"
-bool(true)
-string(10) "ISO-8859-9"
-
--- Iteration 32 --
-string(10) "ISO-8859-9"
-bool(true)
-string(11) "ISO-8859-10"
-
--- Iteration 33 --
-string(11) "ISO-8859-10"
-bool(true)
-string(11) "ISO-8859-13"
-
--- Iteration 34 --
-string(11) "ISO-8859-13"
-bool(true)
-string(11) "ISO-8859-14"
-
--- Iteration 35 --
-string(11) "ISO-8859-14"
-bool(true)
-string(11) "ISO-8859-15"
-
--- Iteration 36 --
-string(11) "ISO-8859-15"
-bool(true)
-string(7) "byte2be"
-
--- Iteration 37 --
-string(7) "byte2be"
-bool(true)
-string(7) "byte2le"
-
--- Iteration 38 --
-string(7) "byte2le"
-bool(true)
-string(7) "byte4be"
-
--- Iteration 39 --
-string(7) "byte4be"
-bool(true)
-string(7) "byte4le"
-
--- Iteration 40 --
-string(7) "byte4le"
-bool(true)
-string(6) "BASE64"
-
--- Iteration 41 --
-string(6) "BASE64"
-bool(true)
-string(13) "HTML-ENTITIES"
-
--- Iteration 42 --
-string(13) "HTML-ENTITIES"
-bool(true)
-string(4) "7bit"
-
--- Iteration 43 --
-string(4) "7bit"
-bool(true)
-string(4) "8bit"
-
--- Iteration 44 --
-string(4) "8bit"
-bool(true)
-string(6) "EUC-CN"
-
--- Iteration 45 --
-string(6) "EUC-CN"
-bool(true)
-string(5) "CP936"
-
--- Iteration 46 --
-string(5) "CP936"
-bool(true)
-string(2) "HZ"
-
--- Iteration 47 --
-string(2) "HZ"
-bool(true)
-string(6) "EUC-TW"
-
--- Iteration 48 --
-string(6) "EUC-TW"
-bool(true)
-string(5) "BIG-5"
-
--- Iteration 49 --
-string(5) "BIG-5"
-bool(true)
-string(5) "BIG-5"
-
--- Iteration 50 --
-string(5) "BIG-5"
-bool(true)
-string(6) "EUC-KR"
-
--- Iteration 51 --
-string(6) "EUC-KR"
-bool(true)
-string(3) "UHC"
-
--- Iteration 52 --
-string(3) "UHC"
-bool(true)
-string(11) "ISO-2022-KR"
-
--- Iteration 53 --
-string(11) "ISO-2022-KR"
-bool(true)
-string(12) "Windows-1251"
-
--- Iteration 54 --
-string(12) "Windows-1251"
-bool(true)
-string(12) "Windows-1252"
-
--- Iteration 55 --
-string(12) "Windows-1252"
-bool(true)
-string(5) "CP866"
-
--- Iteration 56 --
-string(5) "CP866"
-bool(true)
-string(6) "KOI8-R"
-Done
\ No newline at end of file
index 7e8f1ceab32d9a838e319b992161932a42f5826b..a0a41e96773de53c1c6bbeed28cf1d2e05f2c75b 100644 (file)
@@ -33,10 +33,3 @@ string(%d) "%s"
 bool(true)
 string(5) "UTF-8"
 Done
-
---UEXPECTF--
-*** Testing mb_regex_encoding() : basic functionality ***
-string(%d) "%s"
-bool(true)
-string(5) "UTF-8"
-Done
index e584b345f590c278da61ac8142cd98dbf55cba92..6fe19aa9de55b5b2166e948387c75444eff3989c 100644 (file)
@@ -34,12 +34,3 @@ echo "Done";
 Warning: Wrong parameter count for mb_regex_encoding() in %s on line %d
 NULL
 Done
-
---UEXPECTF--
-*** Testing mb_regex_encoding() : error conditions ***
-
--- Testing mb_regex_encoding() function with more than expected no. of arguments --
-
-Warning: Wrong parameter count for mb_regex_encoding() in %s on line %d
-NULL
-Done
index 30bfd9ff442f1d0ca1d4e8491cbf1e68e3bb8acd..c752609daf37601bec0b6858a389bf31e2b25e9a 100644 (file)
@@ -29,10 +29,3 @@ echo "Done";
 Warning: mb_regex_encoding(): Unknown encoding "unknown" in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_regex_encoding() : error conditions ***
-
-Warning: mb_regex_encoding(): Unknown encoding "unknown" in %s on line %d
-bool(false)
-Done
index d11e79b20bf9d727777c9dcf327f2339d5e58c5d..0d2ff99ac459fc98e1219a05b3826d0c6fb3ae3f 100644 (file)
@@ -210,121 +210,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_regex_encoding(): Unknown encoding "Resource id #%d" in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_regex_encoding() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_regex_encoding(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_regex_encoding(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_regex_encoding(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_regex_encoding(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_regex_encoding(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_regex_encoding(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_regex_encoding(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_regex_encoding(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_regex_encoding(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_regex_encoding(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_regex_encoding(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-bool(true)
-
--- Iteration 19 --
-bool(true)
-
--- Iteration 20 --
-bool(true)
-
--- Iteration 21 --
-bool(true)
-
--- Iteration 22 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_regex_encoding(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_regex_encoding(): Unknown encoding "Resource id #%d" in %s on line %d
 bool(false)
 Done
\ No newline at end of file
index aa0f5f1f079e71a85ace2fcc82a40ef4f23cefc4..704c5e5f37f7c403f45d417e6f6b003ad815194e 100644 (file)
@@ -190,289 +190,6 @@ string(6) "EUC-JP"
 bool(true)
 string(4) "SJIS"
 
--- Iteration 21 --
-string(4) "SJIS"
-bool(true)
-string(4) "ISO-2022-JP"
-
--- Iteration 22 --
-string(11) "ISO-2022-JP"
-bool(true)
-string(3) "JIS"
-
--- Iteration 23 --
-string(3) "JIS"
-bool(true)
-string(10) "ISO-8859-1"
-
--- Iteration 24 --
-string(10) "ISO-8859-1"
-bool(true)
-string(10) "ISO-8859-2"
-
--- Iteration 25 --
-string(10) "ISO-8859-2"
-bool(true)
-string(10) "ISO-8859-3"
-
--- Iteration 26 --
-string(10) "ISO-8859-3"
-bool(true)
-string(10) "ISO-8859-4"
-
--- Iteration 27 --
-string(10) "ISO-8859-4"
-bool(true)
-string(10) "ISO-8859-5"
-
--- Iteration 28 --
-string(10) "ISO-8859-5"
-bool(true)
-string(10) "ISO-8859-6"
-
--- Iteration 29 --
-string(10) "ISO-8859-6"
-bool(true)
-string(10) "ISO-8859-7"
-
--- Iteration 30 --
-string(10) "ISO-8859-7"
-bool(true)
-string(10) "ISO-8859-8"
-
--- Iteration 31 --
-string(10) "ISO-8859-8"
-bool(true)
-string(10) "ISO-8859-9"
-
--- Iteration 32 --
-string(10) "ISO-8859-9"
-bool(true)
-string(11) "ISO-8859-10"
-
--- Iteration 33 --
-string(11) "ISO-8859-10"
-bool(true)
-string(11) "ISO-8859-13"
-
--- Iteration 34 --
-string(11) "ISO-8859-13"
-bool(true)
-string(11) "ISO-8859-14"
-
--- Iteration 35 --
-string(11) "ISO-8859-14"
-bool(true)
-string(11) "ISO-8859-15"
-
--- Iteration 36 --
-string(11) "ISO-8859-15"
-bool(true)
-string(7) "byte2be"
-
--- Iteration 37 --
-string(7) "byte2be"
-bool(true)
-string(7) "byte2le"
-
--- Iteration 38 --
-string(7) "byte2le"
-bool(true)
-string(7) "byte4be"
-
--- Iteration 39 --
-string(7) "byte4be"
-bool(true)
-string(7) "byte4le"
-
--- Iteration 40 --
-string(7) "byte4le"
-bool(true)
-string(6) "BASE64"
-
--- Iteration 41 --
-string(6) "BASE64"
-bool(true)
-string(13) "HTML-ENTITIES"
-
--- Iteration 42 --
-string(13) "HTML-ENTITIES"
-bool(true)
-string(4) "7bit"
-
--- Iteration 43 --
-string(4) "7bit"
-bool(true)
-string(4) "8bit"
-
--- Iteration 44 --
-string(4) "8bit"
-bool(true)
-string(6) "EUC-CN"
-
--- Iteration 45 --
-string(6) "EUC-CN"
-bool(true)
-string(5) "CP936"
-
--- Iteration 46 --
-string(5) "CP936"
-bool(true)
-string(2) "HZ"
-
--- Iteration 47 --
-string(2) "HZ"
-bool(true)
-string(6) "EUC-TW"
-
--- Iteration 48 --
-string(6) "EUC-TW"
-bool(true)
-string(5) "CP950"
-
--- Iteration 49 --
-string(5) "CP950"
-bool(true)
-string(5) "BIG5"
-
--- Iteration 50 --
-string(5) "BIG5"
-bool(true)
-string(6) "EUC-KR"
-
--- Iteration 51 --
-string(6) "EUC-KR"
-bool(true)
-string(3) "UHC"
-
--- Iteration 52 --
-string(3) "UHC"
-bool(true)
-string(11) "ISO-2022-KR"
-
--- Iteration 53 --
-string(11) "ISO-2022-KR"
-bool(true)
-string(12) "Windows-1251"
-
--- Iteration 54 --
-string(12) "Windows-1251"
-bool(true)
-string(12) "Windows-1252"
-
--- Iteration 55 --
-string(12) "Windows-1252"
-bool(true)
-string(5) "CP866"
-
--- Iteration 56 --
-string(5) "CP866"
-bool(true)
-string(6) "KOI8-R"
-Done
---UEXPECTF--
-*** Testing mb_regex_encoding() : usage variations ***
-
--- Iteration 1 --
-string(%d) "%s"
-bool(true)
-string(5) "UCS-4"
-
--- Iteration 2 --
-string(5) "UCS-4"
-bool(true)
-string(7) "UCS-4BE"
-
--- Iteration 3 --
-string(7) "UCS-4BE"
-bool(true)
-string(7) "UCS-4LE"
-
--- Iteration 4 --
-string(7) "UCS-4LE"
-bool(true)
-string(5) "UCS-2"
-
--- Iteration 5 --
-string(5) "UCS-2"
-bool(true)
-string(7) "UCS-2BE"
-
--- Iteration 6 --
-string(7) "UCS-2BE"
-bool(true)
-string(7) "UCS-2LE"
-
--- Iteration 7 --
-string(7) "UCS-2LE"
-bool(true)
-string(6) "UTF-32"
-
--- Iteration 8 --
-string(6) "UTF-32"
-bool(true)
-string(8) "UTF-32BE"
-
--- Iteration 9 --
-string(8) "UTF-32BE"
-bool(true)
-string(8) "UTF-32LE"
-
--- Iteration 10 --
-string(8) "UTF-32LE"
-bool(true)
-string(6) "UTF-16"
-
--- Iteration 11 --
-string(6) "UTF-16"
-bool(true)
-string(8) "UTF-16BE"
-
--- Iteration 12 --
-string(8) "UTF-16BE"
-bool(true)
-string(8) "UTF-16LE"
-
--- Iteration 13 --
-string(8) "UTF-16LE"
-bool(true)
-string(5) "UTF-7"
-
--- Iteration 14 --
-string(5) "UTF-7"
-bool(true)
-string(9) "UTF7-IMAP"
-
--- Iteration 15 --
-string(9) "UTF7-IMAP"
-bool(true)
-string(5) "UTF-8"
-
--- Iteration 16 --
-string(5) "UTF-8"
-bool(true)
-string(5) "ASCII"
-
--- Iteration 17 --
-string(5) "ASCII"
-bool(true)
-string(6) "EUC-JP"
-
--- Iteration 18 --
-string(6) "EUC-JP"
-bool(true)
-string(4) "SJIS"
-
--- Iteration 19 --
-string(4) "SJIS"
-bool(true)
-string(6) "EUC-JP"
-
--- Iteration 20 --
-string(6) "EUC-JP"
-bool(true)
-string(4) "SJIS"
-
 -- Iteration 21 --
 string(4) "SJIS"
 
index b4f31d7d8b6f48969dd1c6871687e1008b267a02..0e62b881b4b78fbe3cb19f8242d53b52094872a6 100644 (file)
@@ -31,18 +31,7 @@ var_dump(mb_strlen($string_mb, 'UTF-8'));
 echo "\nDone";
 ?>
 
---EXPECTF--
-*** Testing mb_strlen() : basic functionality***
-
--- ASCII String --
-int(7)
-
--- Multibyte String --
-int(21)
-
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing mb_strlen() : basic functionality***
 
 -- ASCII String --
index 1eb6094568cff442d53e8a82422ed79654e7d3d0..8fcd87ec3af7ee801f865f51598b770b65effe64 100644 (file)
@@ -44,17 +44,3 @@ bool(false)
 Warning: mb_strlen() expects at most 2 parameters, 3 given in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_strlen() : error conditions ***
-
--- Testing mb_strlen() function with Zero arguments --
-
-Warning: mb_strlen() expects at least 1 parameter, 0 given in %s on line %d
-bool(false)
-
--- Testing mb_strlen() function with more than expected no. of arguments --
-
-Warning: mb_strlen() expects at most 2 parameters, 3 given in %s on line %d
-bool(false)
-Done
index e425925522383e79e58ed8e0ec051a54f562ab4c..a530a844173bc8662e86d932c511ca868dade5c4 100644 (file)
@@ -32,10 +32,3 @@ echo "Done";
 Warning: mb_strlen(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_strlen() : error ***
-
-Warning: mb_strlen(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
index 1627e3a2ee2411bdb2d640c66494d118356b3f4b..6e518a317260e3b86c724598db85f2fd26250af5 100644 (file)
@@ -175,83 +175,6 @@ int(0)
 
 -- Iteration 24 --
 
-Warning: mb_strlen() expects parameter 1 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strlen() : usage variations ***
-
--- Iteration 1 --
-int(1)
-
--- Iteration 2 --
-int(1)
-
--- Iteration 3 --
-int(5)
-
--- Iteration 4 --
-int(5)
-
--- Iteration 5 --
-int(4)
-
--- Iteration 6 --
-int(5)
-
--- Iteration 7 --
-int(12)
-
--- Iteration 8 --
-int(13)
-
--- Iteration 9 --
-int(3)
-
--- Iteration 10 --
-int(0)
-
--- Iteration 11 --
-int(0)
-
--- Iteration 12 --
-int(1)
-
--- Iteration 13 --
-int(0)
-
--- Iteration 14 --
-int(1)
-
--- Iteration 15 --
-int(0)
-
--- Iteration 16 --
-int(0)
-
--- Iteration 17 --
-int(0)
-
--- Iteration 18 --
-int(6)
-
--- Iteration 19 --
-int(6)
-
--- Iteration 20 --
-int(11)
-
--- Iteration 21 --
-int(14)
-
--- Iteration 22 --
-int(0)
-
--- Iteration 23 --
-int(0)
-
--- Iteration 24 --
-
 Warning: mb_strlen() expects parameter 1 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 148bcb5bab0ef30529e19efbf9572bd4bea7270f..d6fd85734332e32e48af2e357eae52853c4b2bdb 100644 (file)
@@ -215,121 +215,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_strlen() expects parameter 2 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strlen() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_strlen(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_strlen(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_strlen(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_strlen(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_strlen(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_strlen(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_strlen(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_strlen(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_strlen(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_strlen(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_strlen(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-int(12)
-
--- Iteration 19 --
-int(12)
-
--- Iteration 20 --
-int(12)
-
--- Iteration 21 --
-int(12)
-
--- Iteration 22 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_strlen(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_strlen() expects parameter 2 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 3055d9011748d21138271ad6fd1bd9f7f73c2b10..b254cbc712e33f2a23c0a6c722b8b7c91a81da8b 100644 (file)
@@ -104,7 +104,7 @@ foreach($encoding as $enc) {
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_strlen() : usage variations ***
 
 -- Iteration 1: UCS-4 --
@@ -443,342 +443,3 @@ Encoding KOI8-R recognised
 -- Multibyte String --
 Encoding KOI8-R recognised
 Done
---UEXPECTF--
-*** Testing mb_strlen() : usage variations ***
-
--- Iteration 1: UCS-4 --
--- ASCII String --
-Encoding UCS-4 recognised
--- Multibyte String --
-Encoding UCS-4 recognised
-
--- Iteration 2: UCS-4BE --
--- ASCII String --
-Encoding UCS-4BE recognised
--- Multibyte String --
-Encoding UCS-4BE recognised
-
--- Iteration 3: UCS-4LE --
--- ASCII String --
-Encoding UCS-4LE recognised
--- Multibyte String --
-Encoding UCS-4LE recognised
-
--- Iteration 4: UCS-2 --
--- ASCII String --
-Encoding UCS-2 recognised
--- Multibyte String --
-Encoding UCS-2 recognised
-
--- Iteration 5: UCS-2BE --
--- ASCII String --
-Encoding UCS-2BE recognised
--- Multibyte String --
-Encoding UCS-2BE recognised
-
--- Iteration 6: UCS-2LE --
--- ASCII String --
-Encoding UCS-2LE recognised
--- Multibyte String --
-Encoding UCS-2LE recognised
-
--- Iteration 7: UTF-32 --
--- ASCII String --
-Encoding UTF-32 recognised
--- Multibyte String --
-Encoding UTF-32 recognised
-
--- Iteration 8: UTF-32BE --
--- ASCII String --
-Encoding UTF-32BE recognised
--- Multibyte String --
-Encoding UTF-32BE recognised
-
--- Iteration 9: UTF-32LE --
--- ASCII String --
-Encoding UTF-32LE recognised
--- Multibyte String --
-Encoding UTF-32LE recognised
-
--- Iteration 10: UTF-16 --
--- ASCII String --
-Encoding UTF-16 recognised
--- Multibyte String --
-Encoding UTF-16 recognised
-
--- Iteration 11: UTF-16BE --
--- ASCII String --
-Encoding UTF-16BE recognised
--- Multibyte String --
-Encoding UTF-16BE recognised
-
--- Iteration 12: UTF-16LE --
--- ASCII String --
-Encoding UTF-16LE recognised
--- Multibyte String --
-Encoding UTF-16LE recognised
-
--- Iteration 13: UTF-7 --
--- ASCII String --
-Encoding UTF-7 recognised
--- Multibyte String --
-Encoding UTF-7 recognised
-
--- Iteration 14: UTF7-IMAP --
--- ASCII String --
-Encoding UTF7-IMAP recognised
--- Multibyte String --
-Encoding UTF7-IMAP recognised
-
--- Iteration 15: UTF-8 --
--- ASCII String --
-Encoding UTF-8 recognised
--- Multibyte String --
-Encoding UTF-8 recognised
-
--- Iteration 16: ASCII --
--- ASCII String --
-Encoding ASCII recognised
--- Multibyte String --
-Encoding ASCII recognised
-
--- Iteration 17: EUC-JP --
--- ASCII String --
-Encoding EUC-JP recognised
--- Multibyte String --
-Encoding EUC-JP recognised
-
--- Iteration 18: SJIS --
--- ASCII String --
-Encoding SJIS recognised
--- Multibyte String --
-Encoding SJIS recognised
-
--- Iteration 19: eucJP-win --
--- ASCII String --
-Encoding eucJP-win recognised
--- Multibyte String --
-Encoding eucJP-win recognised
-
--- Iteration 20: SJIS-win --
--- ASCII String --
-Encoding SJIS-win recognised
--- Multibyte String --
-Encoding SJIS-win recognised
-
--- Iteration 21: ISO-2022-JP --
--- ASCII String --
-Encoding ISO-2022-JP recognised
--- Multibyte String --
-Encoding ISO-2022-JP recognised
-
--- Iteration 22: JIS --
--- ASCII String --
-Encoding JIS recognised
--- Multibyte String --
-Encoding JIS recognised
-
--- Iteration 23: ISO-8859-1 --
--- ASCII String --
-Encoding ISO-8859-1 recognised
--- Multibyte String --
-Encoding ISO-8859-1 recognised
-
--- Iteration 24: ISO-8859-2 --
--- ASCII String --
-Encoding ISO-8859-2 recognised
--- Multibyte String --
-Encoding ISO-8859-2 recognised
-
--- Iteration 25: ISO-8859-3 --
--- ASCII String --
-Encoding ISO-8859-3 recognised
--- Multibyte String --
-Encoding ISO-8859-3 recognised
-
--- Iteration 26: ISO-8859-4 --
--- ASCII String --
-Encoding ISO-8859-4 recognised
--- Multibyte String --
-Encoding ISO-8859-4 recognised
-
--- Iteration 27: ISO-8859-5 --
--- ASCII String --
-Encoding ISO-8859-5 recognised
--- Multibyte String --
-Encoding ISO-8859-5 recognised
-
--- Iteration 28: ISO-8859-6 --
--- ASCII String --
-Encoding ISO-8859-6 recognised
--- Multibyte String --
-Encoding ISO-8859-6 recognised
-
--- Iteration 29: ISO-8859-7 --
--- ASCII String --
-Encoding ISO-8859-7 recognised
--- Multibyte String --
-Encoding ISO-8859-7 recognised
-
--- Iteration 30: ISO-8859-8 --
--- ASCII String --
-Encoding ISO-8859-8 recognised
--- Multibyte String --
-Encoding ISO-8859-8 recognised
-
--- Iteration 31: ISO-8859-9 --
--- ASCII String --
-Encoding ISO-8859-9 recognised
--- Multibyte String --
-Encoding ISO-8859-9 recognised
-
--- Iteration 32: ISO-8859-10 --
--- ASCII String --
-Encoding ISO-8859-10 recognised
--- Multibyte String --
-Encoding ISO-8859-10 recognised
-
--- Iteration 33: ISO-8859-13 --
--- ASCII String --
-Encoding ISO-8859-13 recognised
--- Multibyte String --
-Encoding ISO-8859-13 recognised
-
--- Iteration 34: ISO-8859-14 --
--- ASCII String --
-Encoding ISO-8859-14 recognised
--- Multibyte String --
-Encoding ISO-8859-14 recognised
-
--- Iteration 35: ISO-8859-15 --
--- ASCII String --
-Encoding ISO-8859-15 recognised
--- Multibyte String --
-Encoding ISO-8859-15 recognised
-
--- Iteration 36: byte2be --
--- ASCII String --
-Encoding byte2be recognised
--- Multibyte String --
-Encoding byte2be recognised
-
--- Iteration 37: byte2le --
--- ASCII String --
-Encoding byte2le recognised
--- Multibyte String --
-Encoding byte2le recognised
-
--- Iteration 38: byte4be --
--- ASCII String --
-Encoding byte4be recognised
--- Multibyte String --
-Encoding byte4be recognised
-
--- Iteration 39: byte4le --
--- ASCII String --
-Encoding byte4le recognised
--- Multibyte String --
-Encoding byte4le recognised
-
--- Iteration 40: BASE64 --
--- ASCII String --
-Encoding BASE64 recognised
--- Multibyte String --
-Encoding BASE64 recognised
-
--- Iteration 41: HTML-ENTITIES --
--- ASCII String --
-Encoding HTML-ENTITIES recognised
--- Multibyte String --
-Encoding HTML-ENTITIES recognised
-
--- Iteration 42: 7bit --
--- ASCII String --
-Encoding 7bit recognised
--- Multibyte String --
-Encoding 7bit recognised
-
--- Iteration 43: 8bit --
--- ASCII String --
-Encoding 8bit recognised
--- Multibyte String --
-Encoding 8bit recognised
-
--- Iteration 44: EUC-CN --
--- ASCII String --
-Encoding EUC-CN recognised
--- Multibyte String --
-Encoding EUC-CN recognised
-
--- Iteration 45: CP936 --
--- ASCII String --
-Encoding CP936 recognised
--- Multibyte String --
-Encoding CP936 recognised
-
--- Iteration 46: HZ --
--- ASCII String --
-Encoding HZ recognised
--- Multibyte String --
-Encoding HZ recognised
-
--- Iteration 47: EUC-TW --
--- ASCII String --
-Encoding EUC-TW recognised
--- Multibyte String --
-Encoding EUC-TW recognised
-
--- Iteration 48: CP950 --
--- ASCII String --
-Encoding CP950 recognised
--- Multibyte String --
-Encoding CP950 recognised
-
--- Iteration 49: BIG-5 --
--- ASCII String --
-Encoding BIG-5 recognised
--- Multibyte String --
-Encoding BIG-5 recognised
-
--- Iteration 50: EUC-KR --
--- ASCII String --
-Encoding EUC-KR recognised
--- Multibyte String --
-Encoding EUC-KR recognised
-
--- Iteration 51: UHC --
--- ASCII String --
-Encoding UHC recognised
--- Multibyte String --
-Encoding UHC recognised
-
--- Iteration 52: ISO-2022-KR --
--- ASCII String --
-Encoding ISO-2022-KR recognised
--- Multibyte String --
-Encoding ISO-2022-KR recognised
-
--- Iteration 53: Windows-1251 --
--- ASCII String --
-Encoding Windows-1251 recognised
--- Multibyte String --
-Encoding Windows-1251 recognised
-
--- Iteration 54: Windows-1252 --
--- ASCII String --
-Encoding Windows-1252 recognised
--- Multibyte String --
-Encoding Windows-1252 recognised
-
--- Iteration 55: CP866 --
--- ASCII String --
-Encoding CP866 recognised
--- Multibyte String --
-Encoding CP866 recognised
-
--- Iteration 56: KOI8-R --
--- ASCII String --
-Encoding KOI8-R recognised
--- Multibyte String --
-Encoding KOI8-R recognised
-Done
\ No newline at end of file
index 475a7150f2b8466dff379a033aeb7c94307be98e..ade1598501a9e94ea811508b6b4f3fa5b5c98930 100644 (file)
@@ -40,7 +40,7 @@ var_dump(mb_strpos($string_mb, $needle2));
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_strpos() : basic functionality***
 
 -- ASCII string 1 --
@@ -55,18 +55,3 @@ int(0)
 -- Multibyte string 2 --
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_strpos() : basic functionality***
-
--- ASCII string 1 --
-int(4)
-
--- ASCII string 2 --
-bool(false)
-
--- Multibyte string 1 --
-int(0)
-
--- Multibyte string 2 --
-bool(false)
-Done
\ No newline at end of file
index 7b3f4ccd360903c12e33379c2d42a91036bd8313..8f5ba85423eb1d4f20f2433995881e4c8a7104a6 100644 (file)
@@ -48,17 +48,3 @@ bool(false)
 Warning: mb_strpos() expects at least 2 parameters, 1 given in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_strpos() : error conditions ***
-
--- Testing mb_strpos() function with more than expected no. of arguments --
-
-Warning: mb_strpos() expects at most 4 parameters, 5 given in %s on line %d
-bool(false)
-
--- Testing mb_strpos() function with less than expected no. of arguments --
-
-Warning: mb_strpos() expects at least 2 parameters, 1 given in %s on line %d
-bool(false)
-Done
index 0f0c7cbb471c7b3947cc19c8743aed6c321e177b..f75390f2c52012b40213587fc2a8e7e79981ed4d 100644 (file)
@@ -32,10 +32,3 @@ echo "Done";
 Warning: mb_strpos(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_strpos() : error conditions ***
-
-Warning: mb_strpos(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
index aa410ff61abd127d2040286fed6899e7b85df348..9dce8f376106e7db85f9bc80530c4c7857b4079b 100644 (file)
@@ -177,83 +177,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_strpos() expects parameter 1 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strpos() : usage variations ***
-
--- Iteration 1 --
-bool(false)
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-bool(false)
-
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-bool(false)
-
--- Iteration 7 --
-bool(false)
-
--- Iteration 8 --
-bool(false)
-
--- Iteration 9 --
-bool(false)
-
--- Iteration 10 --
-bool(false)
-
--- Iteration 11 --
-bool(false)
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-bool(false)
-
--- Iteration 14 --
-bool(false)
-
--- Iteration 15 --
-bool(false)
-
--- Iteration 16 --
-bool(false)
-
--- Iteration 17 --
-bool(false)
-
--- Iteration 18 --
-bool(false)
-
--- Iteration 19 --
-bool(false)
-
--- Iteration 20 --
-bool(false)
-
--- Iteration 21 --
-bool(false)
-
--- Iteration 22 --
-bool(false)
-
--- Iteration 23 --
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_strpos() expects parameter 1 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index e2e5dc6c46d012b4cc71f551826ccabc23539582..93fb90cd598c567bd8387199e74610628eb9fe48 100644 (file)
@@ -193,99 +193,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_strpos() expects parameter 2 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strpos() : usage variations ***
-
--- Iteration 1 --
-bool(false)
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-bool(false)
-
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-bool(false)
-
--- Iteration 7 --
-bool(false)
-
--- Iteration 8 --
-bool(false)
-
--- Iteration 9 --
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 14 --
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 18 --
-int(0)
-
--- Iteration 19 --
-int(0)
-
--- Iteration 20 --
-bool(false)
-
--- Iteration 21 --
-bool(false)
-
--- Iteration 22 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_strpos(): Empty delimiter. in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_strpos() expects parameter 2 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 44b701024997881f5793252cbad3bc0d79c3a581..b88e63d5e1162871eaae8a67d423d242a6b2dde3 100644 (file)
@@ -161,103 +161,6 @@ int(8)
 
 -- Iteration 16 --
 
-Warning: mb_strpos() expects parameter 3 to be long, string given in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_strpos() expects parameter 3 to be long, string given in %s on line %d
-bool(false)
-
--- Iteration 18 --
-
-Warning: mb_strpos() expects parameter 3 to be long, string given in %s on line %d
-bool(false)
-
--- Iteration 19 --
-
-Warning: mb_strpos() expects parameter 3 to be long, string given in %s on line %d
-bool(false)
-
--- Iteration 20 --
-
-Warning: mb_strpos() expects parameter 3 to be long, string given in %s on line %d
-bool(false)
-
--- Iteration 21 --
-
-Warning: mb_strpos() expects parameter 3 to be long, object given in %s on line %d
-bool(false)
-
--- Iteration 22 --
-int(8)
-
--- Iteration 23 --
-int(8)
-
--- Iteration 24 --
-
-Warning: mb_strpos() expects parameter 3 to be long, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strpos() : usage variations ***
-
--- Iteration 1 --
-int(8)
-
--- Iteration 2 --
-int(8)
-
--- Iteration 3 --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
--- Iteration 8 --
-int(8)
-
--- Iteration 9 --
-int(8)
-
--- Iteration 10 --
-int(8)
-
--- Iteration 11 --
-int(8)
-
--- Iteration 12 --
-int(8)
-
--- Iteration 13 --
-int(8)
-
--- Iteration 14 --
-int(8)
-
--- Iteration 15 --
-int(8)
-
--- Iteration 16 --
-
 Warning: mb_strpos() expects parameter 3 to be long, Unicode string given in %s on line %d
 bool(false)
 
@@ -296,4 +199,4 @@ int(8)
 
 Warning: mb_strpos() expects parameter 3 to be long, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index e96f8ea4b271871707c82173ed43e78bd2db93df..b3dde0ccc54b839a0b106b205d967827c562ce37 100644 (file)
@@ -217,121 +217,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_strpos() expects parameter 4 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strpos() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_strpos(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_strpos(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_strpos(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_strpos(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_strpos(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_strpos(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_strpos(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_strpos(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_strpos(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_strpos(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_strpos(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-int(7)
-
--- Iteration 19 --
-int(7)
-
--- Iteration 20 --
-int(7)
-
--- Iteration 21 --
-int(7)
-
--- Iteration 22 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_strpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_strpos() expects parameter 4 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 395f08b9b9f13138fbe912510bf4a82c60fb8019..594b2363b51978029785685ef31ae1ab55fb83f9 100644 (file)
@@ -115,74 +115,3 @@ bool(false)
 Warning: mb_strpos(): Offset not contained in string. in %s on line %d
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_strpos() : usage variations ***
-
-**-- Offset is: -10 --**
--- ASCII String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
---Multibyte String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
-**-- Offset is: 0 --**
--- ASCII String --
-int(9)
---Multibyte String --
-int(9)
-
-**-- Offset is: 10 --**
--- ASCII String --
-int(20)
---Multibyte String --
-int(20)
-
-**-- Offset is: 20 --**
--- ASCII String --
-int(20)
---Multibyte String --
-int(20)
-
-**-- Offset is: 30 --**
--- ASCII String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
---Multibyte String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
-**-- Offset is: 40 --**
--- ASCII String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
---Multibyte String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
-**-- Offset is: 50 --**
--- ASCII String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
---Multibyte String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-
-**-- Offset is: 60 --**
--- ASCII String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
---Multibyte String --
-
-Warning: mb_strpos(): Offset not contained in string. in %s on line %d
-bool(false)
-Done
\ No newline at end of file
index c155eb50b085ed6c7629f9475046b5e739498ab9..622b55dbf7d32552912ffed8a47c6c439da08128 100644 (file)
@@ -40,7 +40,7 @@ var_dump(mb_strrpos($string_mb, $needle2));
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_strrpos() : basic ***
 
 -- ASCII string 1 --
@@ -55,21 +55,3 @@ int(20)
 -- Multibyte string 2 --
 bool(false)
 Done
-
-
---UEXPECTF--
-*** Testing mb_strrpos() : basic ***
-
--- ASCII string 1 --
-int(15)
-
--- ASCII string 2 --
-bool(false)
-
--- Multibyte string 1 --
-int(20)
-
--- Multibyte string 2 --
-bool(false)
-Done
-
index b34e4348cf5b852741570690bb5ad761dd5072fd..15228fec81b0fa3bd56e5202e6be00561e9e8bcb 100644 (file)
@@ -48,16 +48,3 @@ bool(false)
 Warning: mb_strrpos() expects at least 2 parameters, 1 given in %s on line %d
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_strrpos() : error conditions ***
-
--- Testing mb_strrpos() function with more than expected no. of arguments --
-
-Warning: mb_strrpos() expects at most 4 parameters, 5 given in %s on line %d
-bool(false)
-
--- Testing mb_strrpos() function with less than expected no. of arguments --
-
-Warning: mb_strrpos() expects at least 2 parameters, 1 given in %s on line %d
-bool(false)
-Done
\ No newline at end of file
index 89f62f9e64bdc242f0c9acb87b9f6b5778c4efd8..fa3719509c0d7d2bcfdf15667e8735815c0174d8 100644 (file)
@@ -33,9 +33,3 @@ echo "Done";
 Warning: mb_strrpos(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_strrpos() : error conditions ***
-
-Warning: mb_strrpos(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
\ No newline at end of file
index 11ccd4ec5a1ae429f5457f16eb1cff33161091ac..0b77503373942dd09c03acfd1702cde346994ec2 100644 (file)
@@ -176,83 +176,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_strrpos() expects parameter 1 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strrpos() : usage variations ***
-
--- Iteration 1 --
-bool(false)
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-bool(false)
-
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-bool(false)
-
--- Iteration 7 --
-bool(false)
-
--- Iteration 8 --
-bool(false)
-
--- Iteration 9 --
-bool(false)
-
--- Iteration 10 --
-bool(false)
-
--- Iteration 11 --
-bool(false)
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-bool(false)
-
--- Iteration 14 --
-bool(false)
-
--- Iteration 15 --
-bool(false)
-
--- Iteration 16 --
-bool(false)
-
--- Iteration 17 --
-bool(false)
-
--- Iteration 18 --
-int(7)
-
--- Iteration 19 --
-int(7)
-
--- Iteration 20 --
-int(7)
-
--- Iteration 21 --
-int(7)
-
--- Iteration 22 --
-bool(false)
-
--- Iteration 23 --
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_strrpos() expects parameter 1 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 50405a8e46156feae2ababbca97276228055f192..915a9b2856de9a804ac261a1ba5e99ee8739fa6c 100644 (file)
@@ -178,83 +178,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_strrpos() expects parameter 2 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strrpos() : usage variations ***
-
--- Iteration 1 --
-bool(false)
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-bool(false)
-
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-bool(false)
-
--- Iteration 7 --
-bool(false)
-
--- Iteration 8 --
-bool(false)
-
--- Iteration 9 --
-bool(false)
-
--- Iteration 10 --
-bool(false)
-
--- Iteration 11 --
-bool(false)
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-bool(false)
-
--- Iteration 14 --
-bool(false)
-
--- Iteration 15 --
-bool(false)
-
--- Iteration 16 --
-bool(false)
-
--- Iteration 17 --
-bool(false)
-
--- Iteration 18 --
-int(7)
-
--- Iteration 19 --
-int(7)
-
--- Iteration 20 --
-int(7)
-
--- Iteration 21 --
-int(7)
-
--- Iteration 22 --
-bool(false)
-
--- Iteration 23 --
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_strrpos() expects parameter 2 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 34079270da0983cfb180ce08e0bec18eba2a3c9e..97e3b25a9927973113261f6086accfcc9f2a833d 100644 (file)
@@ -145,62 +145,3 @@ int(8)
 -- Iteration 18 --
 int(8)
 Done
---UEXPECTF--
-*** Testing mb_strrpos() : usage variations ***
-
--- Iteration 1 --
-int(8)
-
--- Iteration 2 --
-int(8)
-
--- Iteration 3 --
-bool(false)
-
--- Iteration 4 --
-bool(false)
-
--- Iteration 5 --
-bool(false)
-
--- Iteration 6 --
-bool(false)
-
--- Iteration 7 --
-bool(false)
-
--- Iteration 8 --
-int(8)
-
--- Iteration 9 --
-int(8)
-
--- Iteration 10 --
-int(8)
-
--- Iteration 11 --
-int(8)
-
--- Iteration 12 --
-int(8)
-
--- Iteration 13 --
-int(8)
-
--- Iteration 14 --
-int(8)
-
--- Iteration 15 --
-int(8)
-
--- Iteration 16 --
-
-Notice: Object of class classA could not be converted to int in %s on line %d
-int(8)
-
--- Iteration 17 --
-int(8)
-
--- Iteration 18 --
-int(8)
-Done
\ No newline at end of file
index e6b66c2a857cad950ea31567886424089147de4b..321129b6210799611fc451f5f118e1da527db32f 100644 (file)
@@ -217,121 +217,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_strrpos() expects parameter 4 to be string, resource given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing mb_strrpos() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_strrpos(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_strrpos(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_strrpos(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_strrpos(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_strrpos(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_strrpos(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_strrpos(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_strrpos(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_strrpos(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_strrpos(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_strrpos(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-int(7)
-
--- Iteration 19 --
-int(7)
-
--- Iteration 20 --
-int(7)
-
--- Iteration 21 --
-int(7)
-
--- Iteration 22 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_strrpos(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_strrpos() expects parameter 4 to be binary string, resource given in %s on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 82de3a8eda72637a907bbce406812b3e28b162fb..44c166103646a73b8137fd28352c1493de184dfd 100644 (file)
@@ -38,7 +38,7 @@ for ($i = -60; $i <= 60; $i += 10) {
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_strrpos() : usage variations ***
 
 **-- Offset is: -60 --**
@@ -119,84 +119,3 @@ bool(false)
 --Multibyte String --
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_strrpos() : usage variations ***
-
-**-- Offset is: -60 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: -50 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: -40 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: -30 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: -20 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: -10 --**
--- ASCII String --
-int(9)
---Multibyte String --
-int(9)
-
-**-- Offset is: 0 --**
--- ASCII String --
-int(20)
---Multibyte String --
-int(20)
-
-**-- Offset is: 10 --**
--- ASCII String --
-int(20)
---Multibyte String --
-int(20)
-
-**-- Offset is: 20 --**
--- ASCII String --
-int(20)
---Multibyte String --
-int(20)
-
-**-- Offset is: 30 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: 40 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: 50 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-
-**-- Offset is: 60 --**
--- ASCII String --
-bool(false)
---Multibyte String --
-bool(false)
-Done
\ No newline at end of file
index 200fe0b7b483d8e32dd081fdf7394928a2196d22..302c190393f8425d153b2bc56a6a08266e15926e 100644 (file)
@@ -38,28 +38,7 @@ foreach ($inputs as $type => $input) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing mb_strrpos() : usage variations ***
-
--- Double Quoted String --
--- With fourth encoding argument --
-int(20)
--- Without fourth encoding argument --
-int(20)
-
--- Single Quoted String --
--- With fourth encoding argument --
-int(20)
--- Without fourth encoding argument --
-int(20)
-
--- Heredoc --
--- With fourth encoding argument --
-int(20)
--- Without fourth encoding argument --
-int(20)
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing mb_strrpos() : usage variations ***
 
 -- Double Quoted String --
@@ -79,4 +58,4 @@ int(50)
 int(20)
 -- Without fourth encoding argument --
 int(50)
-Done
\ No newline at end of file
+Done
index 21d346eb4af7085a4305f5f64dbe827b556b105d..8881247885a90f9a1930a57aae515ddd5bf4be0b 100644 (file)
@@ -45,8 +45,8 @@ if ($mb == $greek_lower) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing mb_strtolower() : basic functionality***
+--EXPECT--
+**** Testing mb_strtolower() : basic functionality***
 
 -- ASCII String --
 string(26) "abcdefghijklmnopqrstuvwxyz"
@@ -56,14 +56,3 @@ Correctly converted
 string(64) "zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J"
 Correctly converted
 Done
---UEXPECTF--
-*** Testing mb_strtolower() : basic functionality***
-
--- ASCII String --
-string(26) "abcdefghijklmnopqrstuvwxyz"
-Correctly converted
-
--- Multibyte String --
-string(64) "zrHOss6zzrTOtc62zrfOuM65zrrOu868zr3Ovs6/z4DPgc+Dz4TPhc+Gz4fPiM+J"
-Correctly converted
-Done
\ No newline at end of file
index 059ffd36001b72bf04bf7933b38c6d2d93606098..20200aae8ef68586e4f3b42a4a6ed706d6a36a9e 100644 (file)
@@ -44,16 +44,3 @@ NULL
 Warning: mb_strtolower() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing mb_strtolower() : error conditions***
-
--- Testing mb_strtolower() function with more than expected no. of arguments --
-
-Warning: mb_strtolower() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-
--- Testing mb_strtolower() function with zero arguments --
-
-Warning: mb_strtolower() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-Done
\ No newline at end of file
index 5b86a36d01b433d16dc9c4175307779c4431cc83..dcf47a168c95fc7618cac58a6c16aafcbef9dcb9 100644 (file)
@@ -33,11 +33,3 @@ Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
 Warning: mb_strtolower(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_strtolower() : error conditions***
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
\ No newline at end of file
index 23618cd703ecbd54ecf163fc670654bc982778aa..f904fc1f11f3ad01cacbae1767f0d28ca6571161 100644 (file)
@@ -175,83 +175,6 @@ string(0) ""
 
 -- Iteration 24 --
 
-Warning: mb_strtolower() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_strtolower() : usage variations ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "123456789000"
-
--- Iteration 8 --
-string(13) "1.23456789e-9"
-
--- Iteration 9 --
-string(3) "0.5"
-
--- Iteration 10 --
-string(0) ""
-
--- Iteration 11 --
-string(0) ""
-
--- Iteration 12 --
-string(1) "1"
-
--- Iteration 13 --
-string(0) ""
-
--- Iteration 14 --
-string(1) "1"
-
--- Iteration 15 --
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-
--- Iteration 17 --
-string(0) ""
-
--- Iteration 18 --
-string(6) "string"
-
--- Iteration 19 --
-string(6) "string"
-
--- Iteration 20 --
-string(11) "hello world"
-
--- Iteration 21 --
-string(14) "class a object"
-
--- Iteration 22 --
-string(0) ""
-
--- Iteration 23 --
-string(0) ""
-
--- Iteration 24 --
-
 Warning: mb_strtolower() expects parameter 1 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 69315552bab53247b97a3a3ef61883eee5b8bd5b..9e33d948ef9bd58b0e1301a8fc9b0c4636b2e2fd 100644 (file)
@@ -228,135 +228,6 @@ string(12) "hello, world"
 
 -- Iteration 24 --
 
-Warning: mb_strtolower() expects parameter 2 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_strtolower() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-string(12) "hello, world"
-
--- Iteration 11 --
-string(12) "hello, world"
-
--- Iteration 12 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-string(12) "hello, world"
-
--- Iteration 14 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtolower(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-string(12) "hello, world"
-
--- Iteration 16 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-string(12) "hello, world"
-
--- Iteration 17 --
-
-Warning: mb_strtolower(): Illegal character encoding specified in %s on line %d
-string(12) "hello, world"
-
--- Iteration 18 --
-string(12) "hello, world"
-
--- Iteration 19 --
-string(12) "hello, world"
-
--- Iteration 20 --
-string(12) "hello, world"
-
--- Iteration 21 --
-string(12) "hello, world"
-
--- Iteration 22 --
-string(12) "hello, world"
-
--- Iteration 23 --
-string(12) "hello, world"
-
--- Iteration 24 --
-
 Warning: mb_strtolower() expects parameter 2 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 17f56051cf5c82469b80a9f46bad886028259e1a..08b3467853e22c93b58881e37155e7d2bc9e1afd 100644 (file)
@@ -55,14 +55,3 @@ Correctly Converted
 string(40) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC"
 Correctly Converted
 Done
---UEXPECTF--
-*** Testing mb_strtolower() : usage variations ***
-
--- Mixed string (mulitbyte and ASCII characters) --
-string(80) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCcGhwLiAwMTIzNO+8le+8lu+8l++8mO+8meOAgg=="
-Correctly Converted
-
--- Multibyte Only String--
-string(40) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC"
-Correctly Converted
-Done
\ No newline at end of file
index aa133ea873d2fcbd93dd8bf8eba269c0c9e6bd15..93a2e0a23f5b4fbd8f9db6293f5258fc8285866e 100644 (file)
@@ -39,7 +39,7 @@ foreach ($uppers as $lang => $sourcestring) {
 echo "Done";
 ?>
 
---EXPECTF--
+--EXPECT--
 *** Testing mb_strtolower() :  usage variations ***
 
 -- Basic Latin --
@@ -54,18 +54,3 @@ Correctly Converted
 string(24) "0LDQsdCy0LPQtNC10LbQtw=="
 Correctly Converted
 Done
---UEXPECTF--
-*** Testing mb_strtolower() :  usage variations ***
-
--- Basic Latin --
-string(36) "YWJjZGVmZ2hpamtsbW5vcHFyc3R1dnd4eXo="
-Correctly Converted
-
--- Characters With Accents --
-string(64) "w6DDocOiw6PDpMOlw6bDp8Oow6nDqsOrw6zDrcOuw6/DsMOxw7LDs8O0w7XDtg=="
-Correctly Converted
-
--- Russian --
-string(24) "0LDQsdCy0LPQtNC10LbQtw=="
-Correctly Converted
-Done
\ No newline at end of file
index 78712b383f850526b3c03bb7a7beeb39482f7b6f..744afcc897090297db25415018a11e216a28e8b3 100644 (file)
@@ -47,7 +47,7 @@ if ($mb == $greek_upper) {
 echo "Done";
 ?>
 
---EXPECTF--
+--EXPECT--
 *** Testing mb_strtoupper() : basic functionality ***
 
 -- ASCII String --
@@ -58,14 +58,3 @@ Correctly converted
 string(64) "zpHOks6TzpTOlc6WzpfOmM6ZzprOm86czp3Ons6fzqDOoc6jzqTOpc6mzqfOqM6p"
 Correctly converted
 Done
---UEXPECTF--
-*** Testing mb_strtoupper() : basic functionality ***
-
--- ASCII String --
-string(26) "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
-Correctly converted
-
--- Multibyte String --
-string(64) "zpHOks6TzpTOlc6WzpfOmM6ZzprOm86czp3Ons6fzqDOoc6jzqTOpc6mzqfOqM6p"
-Correctly converted
-Done
\ No newline at end of file
index 4f01976c6676994f0311368362935b6ecbdb665e..c14d2f1b5c23e1c757614dd92f92f103ad532a6c 100644 (file)
@@ -45,16 +45,3 @@ NULL
 Warning: mb_strtoupper() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing mb_strtoupper() : error conditions ***
-
--- Testing mb_strtoupper() function with more than expected no. of arguments --
-
-Warning: mb_strtoupper() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-
--- Testing mb_strtoupper() function with zero arguments --
-
-Warning: mb_strtoupper() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-Done
\ No newline at end of file
index 981ae987d3c9f961adab445b64013b109ac56204..0f5d9c26db7b920e58f217fbec28b90faa1cc5be 100644 (file)
@@ -34,11 +34,3 @@ Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
 Warning: mb_strtoupper(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_strtoupper() : error conditions ***
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
\ No newline at end of file
index cb850fb0185efd15dc59a6d9d9044704e36325ee..f2d11dba1ec9fdf642a6e07567840b22e2cb67dc 100644 (file)
@@ -177,83 +177,6 @@ string(0) ""
 
 -- Iteration 24 --
 
-Warning: mb_strtoupper() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_strtoupper() : usage variations ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "123456789000"
-
--- Iteration 8 --
-string(13) "1.23456789E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-
--- Iteration 10 --
-string(0) ""
-
--- Iteration 11 --
-string(0) ""
-
--- Iteration 12 --
-string(1) "1"
-
--- Iteration 13 --
-string(0) ""
-
--- Iteration 14 --
-string(1) "1"
-
--- Iteration 15 --
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-
--- Iteration 17 --
-string(0) ""
-
--- Iteration 18 --
-string(6) "STRING"
-
--- Iteration 19 --
-string(6) "STRING"
-
--- Iteration 20 --
-string(12) "HELLO, WORLD"
-
--- Iteration 21 --
-string(14) "CLASS A OBJECT"
-
--- Iteration 22 --
-string(0) ""
-
--- Iteration 23 --
-string(0) ""
-
--- Iteration 24 --
-
 Warning: mb_strtoupper() expects parameter 1 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 574d2b6374f34336e7169824432c49e711c36a40..61137057098237e00d7bad1ac953666ee0a9e676 100644 (file)
@@ -229,135 +229,6 @@ string(12) "HELLO, WORLD"
 
 -- Iteration 24 --
 
-Warning: mb_strtoupper() expects parameter 2 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_strtoupper() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-string(12) "HELLO, WORLD"
-
--- Iteration 11 --
-string(12) "HELLO, WORLD"
-
--- Iteration 12 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-string(12) "HELLO, WORLD"
-
--- Iteration 14 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-
-Warning: mb_strtoupper(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-string(12) "HELLO, WORLD"
-
--- Iteration 16 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-string(12) "HELLO, WORLD"
-
--- Iteration 17 --
-
-Warning: mb_strtoupper(): Illegal character encoding specified in %s on line %d
-string(12) "HELLO, WORLD"
-
--- Iteration 18 --
-string(12) "HELLO, WORLD"
-
--- Iteration 19 --
-string(12) "HELLO, WORLD"
-
--- Iteration 20 --
-string(12) "HELLO, WORLD"
-
--- Iteration 21 --
-string(12) "HELLO, WORLD"
-
--- Iteration 22 --
-string(12) "HELLO, WORLD"
-
--- Iteration 23 --
-string(12) "HELLO, WORLD"
-
--- Iteration 24 --
-
 Warning: mb_strtoupper() expects parameter 2 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 13bf9d758b264e61e5c5d8d5f0639f95a55fe79b..4da5c0c7cd608479213af6aaa42923e6f953da6e 100644 (file)
@@ -45,7 +45,7 @@ if ($b == $string_all_mb) { // Japanese characters only - should not be any conv
 echo "Done";
 ?>
 
---EXPECTF--
+--EXPECT--
 *** Testing mb_strtoupper() : usage variations ***
 
 -- Mixed string (mulitbyte and ASCII characters) --
@@ -56,14 +56,3 @@ Correctly Converted
 string(40) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC"
 Correctly Converted
 Done
---UEXPECTF--
-*** Testing mb_strtoupper() : usage variations ***
-
--- Mixed string (mulitbyte and ASCII characters) --
-string(80) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCUEhQLiAwMTIzNO+8le+8lu+8l++8mO+8meOAgg=="
-Correctly Converted
-
--- Multibyte Only String--
-string(40) "5pel5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CC"
-Correctly Converted
-Done
\ No newline at end of file
index c91ef01ad7bfde258f6dae34380541e35e7d8d13..1acae3be57bd91b3e6040cf758a0a890aa2ce008 100644 (file)
@@ -40,7 +40,7 @@ foreach ($lowers as $lang => $sourcestring) {
 echo "Done";
 ?>
 
---EXPECTF--
+--EXPECT--
 *** Testing mb_strtoupper() : usage variations ***
 
 -- Basic Latin --
@@ -55,18 +55,3 @@ Correctly Converted
 string(24) "0JDQkdCS0JPQlNCV0JbQlw=="
 Correctly Converted
 Done
---UEXPECTF--
-*** Testing mb_strtoupper() : usage variations ***
-
--- Basic Latin --
-string(36) "QUJDREVGR0hJSktMTU5PUFFSU1RVVldYWVo="
-Correctly Converted
-
--- Characters With Accents --
-string(64) "w4DDgcOCw4PDhMOFw4bDh8OIw4nDisOLw4zDjcOOw4/DkMORw5LDk8OUw5XDlg=="
-Correctly Converted
-
--- Russian --
-string(24) "0JDQkdCS0JPQlNCV0JbQlw=="
-Correctly Converted
-Done
\ No newline at end of file
index 74685b9fa512b7dfc44c85f383aa877cae6e9aa2..41cc65b1d8aecfbcc817208a0718f71f92c148c4 100644 (file)
@@ -38,7 +38,7 @@ var_dump(base64_encode($result_2));
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_substr() : basic functionality ***
 
 -- ASCII string 1 --
@@ -53,18 +53,3 @@ string(12) "peacrOiqng=="
 -- Multibyte string 2 --
 string(28) "6Kqe44OG44Kt44K544OI44Gn44GZ"
 Done
---UEXPECTF--
-*** Testing mb_substr() : basic functionality ***
-
--- ASCII string 1 --
-string(3) "DEF"
-
--- ASCII string 2 --
-string(3) "DEF"
-
--- Multibyte string 1 --
-string(12) "peacrOiqng=="
-
--- Multibyte string 2 --
-string(28) "6Kqe44OG44Kt44K544OI44Gn44GZ"
-Done
\ No newline at end of file
index 3941bb85e9011e785fe65a0aa73669b7d8f3fbed..13cd4a7f25c3cda9aac05c969c9b41b637f80423 100644 (file)
@@ -34,7 +34,7 @@ var_dump(mb_substr_count($string_mb, $needle_mb2));
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_substr_count() : basic functionality ***
 
 -- ASCII String --
@@ -45,14 +45,3 @@ int(0)
 int(2)
 int(0)
 Done
---UEXPECTF--
-*** Testing mb_substr_count() : basic functionality ***
-
--- ASCII String --
-int(3)
-int(0)
-
--- Multibyte String --
-int(2)
-int(0)
-Done
\ No newline at end of file
index f0d5df7b6dfc89c1d8267852b5306839ea52c2f8..881ca0c22ee07c3a723fe60c374a3229977c9ba3 100644 (file)
@@ -47,16 +47,3 @@ NULL
 Warning: mb_substr_count() expects at least 2 parameters, 1 given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing mb_substr_count() : error conditions ***
-
--- Testing mb_substr_count() function with more than expected no. of arguments --
-
-Warning: mb_substr_count() expects at most 3 parameters, 4 given in %s on line %d
-NULL
-
--- Testing mb_substr_count() function with less than expected no. of arguments --
-
-Warning: mb_substr_count() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-Done
\ No newline at end of file
index 74d6ab99ec769255d96915df74f65f1c55c73452..aefb2c05c8d3dac4bfa556b89001c6b1b25b7589 100644 (file)
@@ -35,11 +35,3 @@ echo "Done";
 Warning: mb_substr_count(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_substr_count() : error conditions ***
-
--- Testing mb_substr_count() function with an unknown encoding --
-
-Warning: mb_substr_count(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
\ No newline at end of file
index 041ddb431ea13b5a1394f9a6eec8f570330ce195..9db4afd1ef24d00db6a9b564e84e047c1e5cb237 100644 (file)
@@ -178,84 +178,6 @@ int(0)
 
 -- Iteration 24 --
 
-Warning: mb_substr_count() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-Done
-
---UEXPECTF--
-*** Testing mb_substr_count() : usage variations ***
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(0)
-
--- Iteration 3 --
-int(0)
-
--- Iteration 4 --
-int(0)
-
--- Iteration 5 --
-int(0)
-
--- Iteration 6 --
-int(0)
-
--- Iteration 7 --
-int(0)
-
--- Iteration 8 --
-int(0)
-
--- Iteration 9 --
-int(0)
-
--- Iteration 10 --
-int(0)
-
--- Iteration 11 --
-int(0)
-
--- Iteration 12 --
-int(0)
-
--- Iteration 13 --
-int(0)
-
--- Iteration 14 --
-int(0)
-
--- Iteration 15 --
-int(0)
-
--- Iteration 16 --
-int(0)
-
--- Iteration 17 --
-int(0)
-
--- Iteration 18 --
-int(1)
-
--- Iteration 19 --
-int(1)
-
--- Iteration 20 --
-int(1)
-
--- Iteration 21 --
-int(1)
-
--- Iteration 22 --
-int(0)
-
--- Iteration 23 --
-int(0)
-
--- Iteration 24 --
-
 Warning: mb_substr_count() expects parameter 1 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 4b331150f3a31b01af3e8503d90dd65dff49f81d..13abe421319521b143e96b2774810f08e1e9a093 100644 (file)
@@ -192,99 +192,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_substr_count() expects parameter 2 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_substr_count() : usage variations ***
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(0)
-
--- Iteration 3 --
-int(0)
-
--- Iteration 4 --
-int(0)
-
--- Iteration 5 --
-int(0)
-
--- Iteration 6 --
-int(0)
-
--- Iteration 7 --
-int(0)
-
--- Iteration 8 --
-int(0)
-
--- Iteration 9 --
-int(0)
-
--- Iteration 10 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 12 --
-int(0)
-
--- Iteration 13 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 14 --
-int(0)
-
--- Iteration 15 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 18 --
-int(1)
-
--- Iteration 19 --
-int(1)
-
--- Iteration 20 --
-int(1)
-
--- Iteration 21 --
-int(1)
-
--- Iteration 22 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_substr_count(): Empty substring. in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_substr_count() expects parameter 2 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 0fa99522daff6f94ada4ebe3ef37250319a665a5..75d485fdeebb3a47d028cc7bc658e2406e2ea566 100644 (file)
@@ -215,121 +215,6 @@ bool(false)
 
 -- Iteration 24 --
 
-Warning: mb_substr_count() expects parameter 3 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing mb_substr_count() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_substr_count(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_substr_count(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_substr_count(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_substr_count(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_substr_count(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_substr_count(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_substr_count(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_substr_count(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_substr_count(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_substr_count(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_substr_count(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-int(1)
-
--- Iteration 19 --
-int(1)
-
--- Iteration 20 --
-int(1)
-
--- Iteration 21 --
-int(1)
-
--- Iteration 22 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_substr_count(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
 Warning: mb_substr_count() expects parameter 3 to be binary string, resource given in %s on line %d
 NULL
-Done
\ No newline at end of file
+Done
index 9b280b5fa1eedfd53cc165466f8af48728c83f2c..e2a3fa7e609f1b65d8139c524dc208c1a23d6caa 100644 (file)
@@ -33,7 +33,7 @@ var_dump(mb_substr_count($string_mb, $needle_mb, 'utf-8'));
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_substr_count() : usage variations ***
 
 -- ASCII String --
@@ -42,12 +42,3 @@ int(1)
 -- Multibyte String --
 int(1)
 Done
---UEXPECTF--
-*** Testing mb_substr_count() : usage variations ***
-
--- ASCII String --
-int(1)
-
--- Multibyte String --
-int(1)
-Done
\ No newline at end of file
index c96e389cfc7d51ea9c86020c5884d07f52b33413..c2007c93b608e8fa37baed4196b0c2027e1d4477 100644 (file)
@@ -47,17 +47,3 @@ NULL
 Warning: Wrong parameter count for mb_substr() in %s on line %d
 NULL
 Done
-
---UEXPECTF--
-*** Testing mb_substr() : error conditions ***
-
--- Testing mb_substr() function with more than expected no. of arguments --
-
-Warning: Wrong parameter count for mb_substr() in %s on line %d
-NULL
-
--- Testing mb_substr() function with less than expected no. of arguments --
-
-Warning: Wrong parameter count for mb_substr() in %s on line %d
-NULL
-Done
index 10328ae27aa988041abf4047728ff0b7e50b032a..72be974ed076deb3978fbbd527ac6732fc8d6848 100644 (file)
@@ -33,10 +33,3 @@ echo "Done";
 Warning: mb_substr(): Unknown encoding "unknown-encoding" in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing mb_substr() : error conditions ***
-
-Warning: mb_substr(): Unknown encoding "unknown-encoding" in %s on line %d
-bool(false)
-Done
index 2e21af39bb72ed30efb3cc13c885ba4b1be8d901..cc517b9bf2b5a46f441cc96b16bf5154b23a62a2 100644 (file)
@@ -177,78 +177,3 @@ string(0) ""
 -- Iteration 24 --
 string(5) "Resou"
 Done
---UEXPECTF--
-*** Testing mb_substr() : usage variations ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-
--- Iteration 7 --
-string(5) "12345"
-
--- Iteration 8 --
-string(5) "1.234"
-
--- Iteration 9 --
-string(3) "0.5"
-
--- Iteration 10 --
-string(0) ""
-
--- Iteration 11 --
-string(0) ""
-
--- Iteration 12 --
-string(1) "1"
-
--- Iteration 13 --
-string(0) ""
-
--- Iteration 14 --
-string(1) "1"
-
--- Iteration 15 --
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-
--- Iteration 17 --
-string(0) ""
-
--- Iteration 18 --
-string(5) "strin"
-
--- Iteration 19 --
-string(5) "strin"
-
--- Iteration 20 --
-string(5) "hello"
-
--- Iteration 21 --
-string(5) "Class"
-
--- Iteration 22 --
-string(0) ""
-
--- Iteration 23 --
-string(0) ""
-
--- Iteration 24 --
-string(5) "Resou"
-Done
\ No newline at end of file
index 20eaf4e16fa690ed5f6ddbd63f951992e9f21a8d..900afc01fe425b09576632d4f5ee2c548c84feaa 100644 (file)
@@ -218,118 +218,3 @@ bool(false)
 Warning: mb_substr(): Unknown encoding "Resource id #%d" in %s on line %d
 bool(false)
 Done
---UEXPECTF--
-*** Testing mb_substr() : usage variations ***
-
--- Iteration 1 --
-
-Warning: mb_substr(): Unknown encoding "0" in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: mb_substr(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: mb_substr(): Unknown encoding "12345" in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: mb_substr(): Unknown encoding "-2345" in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: mb_substr(): Unknown encoding "10.5" in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: mb_substr(): Unknown encoding "-10.5" in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Warning: mb_substr(): Unknown encoding "123456789000" in %s on line %d
-bool(false)
-
--- Iteration 8 --
-
-Warning: mb_substr(): Unknown encoding "1.23456789E-9" in %s on line %d
-bool(false)
-
--- Iteration 9 --
-
-Warning: mb_substr(): Unknown encoding "0.5" in %s on line %d
-bool(false)
-
--- Iteration 10 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: mb_substr(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: mb_substr(): Unknown encoding "1" in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 18 --
-string(5) "tring"
-
--- Iteration 19 --
-string(5) "tring"
-
--- Iteration 20 --
-string(5) "tring"
-
--- Iteration 21 --
-string(5) "tring"
-
--- Iteration 22 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 23 --
-
-Warning: mb_substr(): Unknown encoding "" in %s on line %d
-bool(false)
-
--- Iteration 24 --
-
-Warning: mb_substr(): Unknown encoding "Resource id #%d" in %s on line %d
-bool(false)
-Done
\ No newline at end of file
index 8471e81c4c5fb5f1f0ef26bb7152c8e377b0e060..702bdda1470875b99df4e98e55047807de4c1dee 100644 (file)
@@ -104,7 +104,7 @@ foreach($encoding as $enc) {
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_substr() : usage variations ***
 
 -- Iteration 1: UCS-4 --
@@ -443,342 +443,3 @@ Encoding KOI8-R recognised
 -- Multibyte String --
 Encoding KOI8-R recognised
 Done
---UEXPECTF--
-*** Testing mb_substr() : usage variations ***
-
--- Iteration 1: UCS-4 --
--- ASCII String --
-Encoding UCS-4 recognised
--- Multibyte String --
-Encoding UCS-4 recognised
-
--- Iteration 1: UCS-4BE --
--- ASCII String --
-Encoding UCS-4BE recognised
--- Multibyte String --
-Encoding UCS-4BE recognised
-
--- Iteration 1: UCS-4LE --
--- ASCII String --
-Encoding UCS-4LE recognised
--- Multibyte String --
-Encoding UCS-4LE recognised
-
--- Iteration 1: UCS-2 --
--- ASCII String --
-Encoding UCS-2 recognised
--- Multibyte String --
-Encoding UCS-2 recognised
-
--- Iteration 1: UCS-2BE --
--- ASCII String --
-Encoding UCS-2BE recognised
--- Multibyte String --
-Encoding UCS-2BE recognised
-
--- Iteration 1: UCS-2LE --
--- ASCII String --
-Encoding UCS-2LE recognised
--- Multibyte String --
-Encoding UCS-2LE recognised
-
--- Iteration 1: UTF-32 --
--- ASCII String --
-Encoding UTF-32 recognised
--- Multibyte String --
-Encoding UTF-32 recognised
-
--- Iteration 1: UTF-32BE --
--- ASCII String --
-Encoding UTF-32BE recognised
--- Multibyte String --
-Encoding UTF-32BE recognised
-
--- Iteration 1: UTF-32LE --
--- ASCII String --
-Encoding UTF-32LE recognised
--- Multibyte String --
-Encoding UTF-32LE recognised
-
--- Iteration 1: UTF-16 --
--- ASCII String --
-Encoding UTF-16 recognised
--- Multibyte String --
-Encoding UTF-16 recognised
-
--- Iteration 1: UTF-16BE --
--- ASCII String --
-Encoding UTF-16BE recognised
--- Multibyte String --
-Encoding UTF-16BE recognised
-
--- Iteration 1: UTF-16LE --
--- ASCII String --
-Encoding UTF-16LE recognised
--- Multibyte String --
-Encoding UTF-16LE recognised
-
--- Iteration 1: UTF-7 --
--- ASCII String --
-Encoding UTF-7 recognised
--- Multibyte String --
-Encoding UTF-7 recognised
-
--- Iteration 1: UTF7-IMAP --
--- ASCII String --
-Encoding UTF7-IMAP recognised
--- Multibyte String --
-Encoding UTF7-IMAP recognised
-
--- Iteration 1: UTF-8 --
--- ASCII String --
-Encoding UTF-8 recognised
--- Multibyte String --
-Encoding UTF-8 recognised
-
--- Iteration 1: ASCII --
--- ASCII String --
-Encoding ASCII recognised
--- Multibyte String --
-Encoding ASCII recognised
-
--- Iteration 1: EUC-JP --
--- ASCII String --
-Encoding EUC-JP recognised
--- Multibyte String --
-Encoding EUC-JP recognised
-
--- Iteration 1: SJIS --
--- ASCII String --
-Encoding SJIS recognised
--- Multibyte String --
-Encoding SJIS recognised
-
--- Iteration 1: eucJP-win --
--- ASCII String --
-Encoding eucJP-win recognised
--- Multibyte String --
-Encoding eucJP-win recognised
-
--- Iteration 1: SJIS-win --
--- ASCII String --
-Encoding SJIS-win recognised
--- Multibyte String --
-Encoding SJIS-win recognised
-
--- Iteration 1: ISO-2022-JP --
--- ASCII String --
-Encoding ISO-2022-JP recognised
--- Multibyte String --
-Encoding ISO-2022-JP recognised
-
--- Iteration 1: JIS --
--- ASCII String --
-Encoding JIS recognised
--- Multibyte String --
-Encoding JIS recognised
-
--- Iteration 1: ISO-8859-1 --
--- ASCII String --
-Encoding ISO-8859-1 recognised
--- Multibyte String --
-Encoding ISO-8859-1 recognised
-
--- Iteration 1: ISO-8859-2 --
--- ASCII String --
-Encoding ISO-8859-2 recognised
--- Multibyte String --
-Encoding ISO-8859-2 recognised
-
--- Iteration 1: ISO-8859-3 --
--- ASCII String --
-Encoding ISO-8859-3 recognised
--- Multibyte String --
-Encoding ISO-8859-3 recognised
-
--- Iteration 1: ISO-8859-4 --
--- ASCII String --
-Encoding ISO-8859-4 recognised
--- Multibyte String --
-Encoding ISO-8859-4 recognised
-
--- Iteration 1: ISO-8859-5 --
--- ASCII String --
-Encoding ISO-8859-5 recognised
--- Multibyte String --
-Encoding ISO-8859-5 recognised
-
--- Iteration 1: ISO-8859-6 --
--- ASCII String --
-Encoding ISO-8859-6 recognised
--- Multibyte String --
-Encoding ISO-8859-6 recognised
-
--- Iteration 1: ISO-8859-7 --
--- ASCII String --
-Encoding ISO-8859-7 recognised
--- Multibyte String --
-Encoding ISO-8859-7 recognised
-
--- Iteration 1: ISO-8859-8 --
--- ASCII String --
-Encoding ISO-8859-8 recognised
--- Multibyte String --
-Encoding ISO-8859-8 recognised
-
--- Iteration 1: ISO-8859-9 --
--- ASCII String --
-Encoding ISO-8859-9 recognised
--- Multibyte String --
-Encoding ISO-8859-9 recognised
-
--- Iteration 1: ISO-8859-10 --
--- ASCII String --
-Encoding ISO-8859-10 recognised
--- Multibyte String --
-Encoding ISO-8859-10 recognised
-
--- Iteration 1: ISO-8859-13 --
--- ASCII String --
-Encoding ISO-8859-13 recognised
--- Multibyte String --
-Encoding ISO-8859-13 recognised
-
--- Iteration 1: ISO-8859-14 --
--- ASCII String --
-Encoding ISO-8859-14 recognised
--- Multibyte String --
-Encoding ISO-8859-14 recognised
-
--- Iteration 1: ISO-8859-15 --
--- ASCII String --
-Encoding ISO-8859-15 recognised
--- Multibyte String --
-Encoding ISO-8859-15 recognised
-
--- Iteration 1: byte2be --
--- ASCII String --
-Encoding byte2be recognised
--- Multibyte String --
-Encoding byte2be recognised
-
--- Iteration 1: byte2le --
--- ASCII String --
-Encoding byte2le recognised
--- Multibyte String --
-Encoding byte2le recognised
-
--- Iteration 1: byte4be --
--- ASCII String --
-Encoding byte4be recognised
--- Multibyte String --
-Encoding byte4be recognised
-
--- Iteration 1: byte4le --
--- ASCII String --
-Encoding byte4le recognised
--- Multibyte String --
-Encoding byte4le recognised
-
--- Iteration 1: BASE64 --
--- ASCII String --
-Encoding BASE64 recognised
--- Multibyte String --
-Encoding BASE64 recognised
-
--- Iteration 1: HTML-ENTITIES --
--- ASCII String --
-Encoding HTML-ENTITIES recognised
--- Multibyte String --
-Encoding HTML-ENTITIES recognised
-
--- Iteration 1: 7bit --
--- ASCII String --
-Encoding 7bit recognised
--- Multibyte String --
-Encoding 7bit recognised
-
--- Iteration 1: 8bit --
--- ASCII String --
-Encoding 8bit recognised
--- Multibyte String --
-Encoding 8bit recognised
-
--- Iteration 1: EUC-CN --
--- ASCII String --
-Encoding EUC-CN recognised
--- Multibyte String --
-Encoding EUC-CN recognised
-
--- Iteration 1: CP936 --
--- ASCII String --
-Encoding CP936 recognised
--- Multibyte String --
-Encoding CP936 recognised
-
--- Iteration 1: HZ --
--- ASCII String --
-Encoding HZ recognised
--- Multibyte String --
-Encoding HZ recognised
-
--- Iteration 1: EUC-TW --
--- ASCII String --
-Encoding EUC-TW recognised
--- Multibyte String --
-Encoding EUC-TW recognised
-
--- Iteration 1: CP950 --
--- ASCII String --
-Encoding CP950 recognised
--- Multibyte String --
-Encoding CP950 recognised
-
--- Iteration 1: BIG-5 --
--- ASCII String --
-Encoding BIG-5 recognised
--- Multibyte String --
-Encoding BIG-5 recognised
-
--- Iteration 1: EUC-KR --
--- ASCII String --
-Encoding EUC-KR recognised
--- Multibyte String --
-Encoding EUC-KR recognised
-
--- Iteration 1: UHC --
--- ASCII String --
-Encoding UHC recognised
--- Multibyte String --
-Encoding UHC recognised
-
--- Iteration 1: ISO-2022-KR --
--- ASCII String --
-Encoding ISO-2022-KR recognised
--- Multibyte String --
-Encoding ISO-2022-KR recognised
-
--- Iteration 1: Windows-1251 --
--- ASCII String --
-Encoding Windows-1251 recognised
--- Multibyte String --
-Encoding Windows-1251 recognised
-
--- Iteration 1: Windows-1252 --
--- ASCII String --
-Encoding Windows-1252 recognised
--- Multibyte String --
-Encoding Windows-1252 recognised
-
--- Iteration 1: CP866 --
--- ASCII String --
-Encoding CP866 recognised
--- Multibyte String --
-Encoding CP866 recognised
-
--- Iteration 1: KOI8-R --
--- ASCII String --
-Encoding KOI8-R recognised
--- Multibyte String --
-Encoding KOI8-R recognised
-Done
\ No newline at end of file
index 55846c5ad51d3b118f255c275d4be116d918beb8..6eadc4917125d913ebecf1eecef8a6e0c35a5c2e 100644 (file)
@@ -48,7 +48,7 @@ for ($i = -60; $i <= 60; $i += 10) {
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing mb_substr() : usage variations ***
 
 **-- Offset is: -60 --**
@@ -129,84 +129,3 @@ string(0) ""
 --Multibyte String --
 string(0) ""
 Done
---UEXPECTF--
-*** Testing mb_substr() : usage variations ***
-
-**-- Offset is: -60 --**
--- ASCII String --
-string(4) "+Is "
---Multibyte String --
-string(16) "5pel5pys6Kqe44OG"
-
-**-- Offset is: -50 --**
--- ASCII String --
-string(4) "+Is "
---Multibyte String --
-string(16) "5pel5pys6Kqe44OG"
-
-**-- Offset is: -40 --**
--- ASCII String --
-string(4) "+Is "
---Multibyte String --
-string(16) "5pel5pys6Kqe44OG"
-
-**-- Offset is: -30 --**
--- ASCII String --
-string(4) "+Is "
---Multibyte String --
-string(16) "5pel5pys6Kqe44OG"
-
-**-- Offset is: -20 --**
--- ASCII String --
-string(4) "Is a"
---Multibyte String --
-string(16) "5pys6Kqe44OG44Kt"
-
-**-- Offset is: -10 --**
--- ASCII String --
-string(4) "ish "
---Multibyte String --
-string(8) "MTIzNA=="
-
-**-- Offset is: 0 --**
--- ASCII String --
-string(4) "+Is "
---Multibyte String --
-string(16) "5pel5pys6Kqe44OG"
-
-**-- Offset is: 10 --**
--- ASCII String --
-string(4) "lish"
---Multibyte String --
-string(8) "MDEyMw=="
-
-**-- Offset is: 20 --**
--- ASCII String --
-string(1) "g"
---Multibyte String --
-string(4) "44CC"
-
-**-- Offset is: 30 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: 40 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: 50 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: 60 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-Done
\ No newline at end of file
index c4b5ad2b6e2c2648689d9082ef622f12551981ec..9748c7ef0cb63541a1e769c4403b87d81a475cfb 100644 (file)
@@ -51,88 +51,7 @@ for ($i = -60; $i <= 60; $i += 10) {
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing mb_substr() : usage variations ***
-
-**-- Offset is: -60 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: -50 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: -40 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: -30 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: -20 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: -10 --**
--- ASCII String --
-string(10) "Is an Engl"
---Multibyte String --
-string(40) "5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMA=="
-
-**-- Offset is: 0 --**
--- ASCII String --
-string(0) ""
---Multibyte String --
-string(0) ""
-
-**-- Offset is: 10 --**
--- ASCII String --
-string(10) "Is an Engl"
---Multibyte String --
-string(40) "5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMA=="
-
-**-- Offset is: 20 --**
--- ASCII String --
-string(20) "Is an English string"
---Multibyte String --
-string(68) "5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-
-**-- Offset is: 30 --**
--- ASCII String --
-string(20) "Is an English string"
---Multibyte String --
-string(68) "5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-
-**-- Offset is: 40 --**
--- ASCII String --
-string(20) "Is an English string"
---Multibyte String --
-string(68) "5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-
-**-- Offset is: 50 --**
--- ASCII String --
-string(20) "Is an English string"
---Multibyte String --
-string(68) "5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-
-**-- Offset is: 60 --**
--- ASCII String --
-string(20) "Is an English string"
---Multibyte String --
-string(68) "5pys6Kqe44OG44Kt44K544OI44Gn44GZ44CCMDEyMzTvvJXvvJbvvJfvvJjvvJnjgII="
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing mb_substr() : usage variations ***
 
 **-- Offset is: -60 --**
index d1e9de9572d3c1b2e4b83bd14ec6c999a650241e..62b6f0abee51e91580258c1d1b599cc9eb3d9af0 100644 (file)
@@ -18,11 +18,8 @@ class foo {
 
 session_id("abtest");
 session_start();
-if (ini_get("unicode.semantics")) {
-       session_decode('baz|O:3:"foo":2:{U:3:"bar";U:2:"ok";U:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{U:3:"bar";U:2:"ok";U:3:"yes";i:1;}}');
-} else {
-       session_decode('baz|O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{s:3:"bar";s:2:"ok";s:3:"yes";i:1;}}');
-}
+session_decode('baz|O:3:"foo":2:{U:3:"bar";U:2:"ok";U:3:"yes";i:1;}arr|a:1:{i:3;O:3:"foo":2:{U:3:"bar";U:2:"ok";U:3:"yes";i:1;}}');
+
 $baz = $_SESSION['baz'];
 $arr = $_SESSION['arr'];
 
index 49a6964e795a58eabed88242f2efdf72fde617e7..bbea3f221897d55f81839176ff669ee0e6b308de 100644 (file)
@@ -46,10 +46,8 @@ class handler {
 
     function __construct()
     {
-       if (ini_get("unicode.semantics")) {
-               /* Setup proper deserialization data for unicode.semantics mode */
-               $this->data = str_replace('s:', 'U:', $this->data);
-       }
+    /* Setup proper deserialization data for unicode.semantics mode */
+        $this->data = str_replace('s:', 'U:', $this->data);
     }
 }
 
index 31c5364843d46e85a1845662277631f6bbb3c712..d6e043c80e655926a2c15ca31e8c0ff3f757bc5f 100644 (file)
@@ -48,9 +48,7 @@ class handler {
 
     function __construct()
     {
-        if (ini_get("unicode.semantics")) {
-            $this->data = str_replace('s:', 'U:', $this->data);
-        }
+        $this->data = str_replace('s:', 'U:', $this->data);
     }
 }
 
index 933653e0f715593c18774f6fe4c7f74292a925f5..899c923af1424d465d827be3622a6e45494550dd 100644 (file)
@@ -46,9 +46,11 @@ echo "Done";
 ob_end_flush();
 ?>
 --CLEAN--
+<?php
 $directory = dirname(__FILE__);
 $sessions = ($directory."/sessions");
 var_dump(rmdir($sessions));
+?>
 --EXPECTF--
 *** Testing session_save_path() : variation ***
 bool(true)
index 6bddc9cf377411ed4d8b17f0af602868908bc9d9..c196244e1f6c40ac794cfaa2eef02dd98eb4e198 100644 (file)
@@ -46,9 +46,11 @@ echo "Done";
 ob_end_flush();
 ?>
 --CLEAN--
+<?php
 $directory = dirname(__FILE__);
 $sessions = ($directory."/sessions");
 var_dump(rmdir($sessions));
+?>
 --EXPECTF--
 *** Testing session_save_path() : variation ***
 bool(true)
index af11cbdebdb43b90401bd355bccb21886ba377a7..add2ef33975428a40e57ca962588fed952161aa6 100755 (executable)
@@ -22,7 +22,6 @@ test('sxe->elem1');
 test('sxe->elem1[0]');
 test('sxe->elem1[0]->elem2');
 test('sxe->elem1[0]->elem2->bla');
-if (!ini_get("unicode.semantics")) test('sxe->elem1[0]["attr1"]');
 test('sxe->elem1[0]->attr1');
 test('sxe->elem1[1]');
 test('sxe->elem1[2]');