]> granicus.if.org Git - php/commitdiff
- killed off UEXPECT
authorSteph Fox <sfox@php.net>
Tue, 27 May 2008 10:50:48 +0000 (10:50 +0000)
committerSteph Fox <sfox@php.net>
Tue, 27 May 2008 10:50:48 +0000 (10:50 +0000)
- html_translation_table and setlocale tests are no longer relevant
- there are a number of ANSI-encoded files. Is this deliberate?

516 files changed:
ext/standard/tests/strings/005.phpt
ext/standard/tests/strings/006.phpt
ext/standard/tests/strings/007.phpt
ext/standard/tests/strings/add-and-stripcslashes.phpt
ext/standard/tests/strings/addcslashes_003.phpt
ext/standard/tests/strings/addcslashes_004.phpt
ext/standard/tests/strings/addslashes_basic.phpt
ext/standard/tests/strings/addslashes_error.phpt
ext/standard/tests/strings/addslashes_variation1.phpt
ext/standard/tests/strings/addslashes_variation2.phpt
ext/standard/tests/strings/basename.phpt
ext/standard/tests/strings/basename_basic.phpt
ext/standard/tests/strings/basename_error.phpt
ext/standard/tests/strings/basename_variation.phpt
ext/standard/tests/strings/bug20108.phpt
ext/standard/tests/strings/bug20261.phpt
ext/standard/tests/strings/bug20934.phpt
ext/standard/tests/strings/bug21338.phpt
ext/standard/tests/strings/bug21453.phpt
ext/standard/tests/strings/bug21730.phpt
ext/standard/tests/strings/bug22187.phpt
ext/standard/tests/strings/bug22207.phpt
ext/standard/tests/strings/bug22224.phpt
ext/standard/tests/strings/bug23650.phpt
ext/standard/tests/strings/bug23894.phpt
ext/standard/tests/strings/bug24098.phpt
ext/standard/tests/strings/bug24208.phpt
ext/standard/tests/strings/bug25671.phpt
ext/standard/tests/strings/bug25707.phpt
ext/standard/tests/strings/bug26817.phpt
ext/standard/tests/strings/bug27278.phpt
ext/standard/tests/strings/bug29119.phpt
ext/standard/tests/strings/bug33076.phpt
ext/standard/tests/strings/bug36944.phpt
ext/standard/tests/strings/bug37244.phpt
ext/standard/tests/strings/bug37262.phpt
ext/standard/tests/strings/bug38322.phpt
ext/standard/tests/strings/bug38770.phpt
ext/standard/tests/strings/bug39032.phpt
ext/standard/tests/strings/bug39350.phpt
ext/standard/tests/strings/bug39621.phpt
ext/standard/tests/strings/bug39873.phpt
ext/standard/tests/strings/bug40637.phpt
ext/standard/tests/strings/bug40704.phpt
ext/standard/tests/strings/bug40754.phpt
ext/standard/tests/strings/bug40915.phpt
ext/standard/tests/strings/bug42107.phpt
ext/standard/tests/strings/bug42208.phpt
ext/standard/tests/strings/bug42861.phpt
ext/standard/tests/strings/bug42866.phpt
ext/standard/tests/strings/bug43927.phpt
ext/standard/tests/strings/bug44075.phpt
ext/standard/tests/strings/bug44703.phpt
ext/standard/tests/strings/chop_basic.phpt
ext/standard/tests/strings/chop_error.phpt
ext/standard/tests/strings/chop_variation1.phpt
ext/standard/tests/strings/chop_variation2.phpt
ext/standard/tests/strings/chop_variation3.phpt
ext/standard/tests/strings/chop_variation4.phpt
ext/standard/tests/strings/chop_variation5.phpt
ext/standard/tests/strings/chunk_split_basic.phpt
ext/standard/tests/strings/chunk_split_variation1.phpt
ext/standard/tests/strings/chunk_split_variation10.phpt
ext/standard/tests/strings/chunk_split_variation11.phpt
ext/standard/tests/strings/chunk_split_variation12.phpt
ext/standard/tests/strings/chunk_split_variation13.phpt
ext/standard/tests/strings/chunk_split_variation2.phpt
ext/standard/tests/strings/chunk_split_variation3.phpt
ext/standard/tests/strings/chunk_split_variation4.phpt
ext/standard/tests/strings/chunk_split_variation5.phpt
ext/standard/tests/strings/chunk_split_variation6.phpt
ext/standard/tests/strings/chunk_split_variation7.phpt
ext/standard/tests/strings/chunk_split_variation8.phpt
ext/standard/tests/strings/chunk_split_variation9.phpt
ext/standard/tests/strings/convert_cyr_string.phpt
ext/standard/tests/strings/count_chars.phpt
ext/standard/tests/strings/crc32_basic.phpt
ext/standard/tests/strings/crc32_error.phpt
ext/standard/tests/strings/crc32_variation1.phpt
ext/standard/tests/strings/crc32_variation2.phpt
ext/standard/tests/strings/crc32_variation3.phpt
ext/standard/tests/strings/crc32_variation4.phpt
ext/standard/tests/strings/dirname_basic.phpt
ext/standard/tests/strings/dirname_error.phpt
ext/standard/tests/strings/dirname_variation.phpt
ext/standard/tests/strings/explode.phpt
ext/standard/tests/strings/explode1.phpt
ext/standard/tests/strings/fprintf_variation_001.phpt
ext/standard/tests/strings/fprintf_variation_002.phpt
ext/standard/tests/strings/fprintf_variation_003.phpt
ext/standard/tests/strings/fprintf_variation_003_64bit.phpt
ext/standard/tests/strings/fprintf_variation_005.phpt
ext/standard/tests/strings/fprintf_variation_006.phpt
ext/standard/tests/strings/fprintf_variation_006_64bit.phpt
ext/standard/tests/strings/fprintf_variation_007.phpt
ext/standard/tests/strings/fprintf_variation_007_64bit.phpt
ext/standard/tests/strings/fprintf_variation_008.phpt
ext/standard/tests/strings/fprintf_variation_008_64bit.phpt
ext/standard/tests/strings/fprintf_variation_009.phpt
ext/standard/tests/strings/get_html_translation_table_basic1-win32.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_basic1.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_basic2-win32.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_basic2.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_basic3-win32.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_basic3.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_basic4-win32.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_basic4.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_error.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_variation1-win32.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_variation1.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_variation2-win32.phpt [deleted file]
ext/standard/tests/strings/get_html_translation_table_variation2.phpt [deleted file]
ext/standard/tests/strings/get_meta_tags.phpt
ext/standard/tests/strings/highlight_file.phpt
ext/standard/tests/strings/htmlentities-utf.phpt
ext/standard/tests/strings/htmlentities.phpt
ext/standard/tests/strings/htmlentities02.phpt
ext/standard/tests/strings/htmlentities03.phpt
ext/standard/tests/strings/htmlentities04.phpt
ext/standard/tests/strings/htmlentities10.phpt
ext/standard/tests/strings/htmlentities15.phpt
ext/standard/tests/strings/htmlspecialchars_decode_basic.phpt
ext/standard/tests/strings/htmlspecialchars_decode_variation1.phpt
ext/standard/tests/strings/htmlspecialchars_decode_variation2.phpt
ext/standard/tests/strings/htmlspecialchars_decode_variation3.phpt
ext/standard/tests/strings/htmlspecialchars_decode_variation4.phpt
ext/standard/tests/strings/htmlspecialchars_decode_variation5.phpt
ext/standard/tests/strings/htmlspecialchars_decode_variation6.phpt
ext/standard/tests/strings/http_build_query.phpt
ext/standard/tests/strings/implode.phpt
ext/standard/tests/strings/implode1.phpt
ext/standard/tests/strings/join_basic.phpt
ext/standard/tests/strings/join_error.phpt
ext/standard/tests/strings/join_variation1.phpt
ext/standard/tests/strings/join_variation2.phpt
ext/standard/tests/strings/join_variation3.phpt
ext/standard/tests/strings/join_variation4.phpt
ext/standard/tests/strings/join_variation5.phpt
ext/standard/tests/strings/join_variation6.phpt
ext/standard/tests/strings/lcfirst.phpt
ext/standard/tests/strings/ltrim.phpt
ext/standard/tests/strings/md5.phpt
ext/standard/tests/strings/md5_file.phpt
ext/standard/tests/strings/metaphone.phpt
ext/standard/tests/strings/moneyformat.phpt
ext/standard/tests/strings/nl2br.phpt
ext/standard/tests/strings/nl2br_variation1.phpt
ext/standard/tests/strings/nl2br_variation2.phpt
ext/standard/tests/strings/nl2br_variation3.phpt
ext/standard/tests/strings/nl2br_variation4.phpt
ext/standard/tests/strings/nl2br_variation5.phpt
ext/standard/tests/strings/pathinfo.phpt
ext/standard/tests/strings/php_strip_whitespace.phpt
ext/standard/tests/strings/rtrim.phpt
ext/standard/tests/strings/setlocale_basic1.phpt [deleted file]
ext/standard/tests/strings/setlocale_basic2.phpt [deleted file]
ext/standard/tests/strings/setlocale_basic3.phpt [deleted file]
ext/standard/tests/strings/setlocale_error.phpt [deleted file]
ext/standard/tests/strings/setlocale_variation1.phpt [deleted file]
ext/standard/tests/strings/setlocale_variation2.phpt [deleted file]
ext/standard/tests/strings/setlocale_variation3.phpt [deleted file]
ext/standard/tests/strings/setlocale_variation4.phpt [deleted file]
ext/standard/tests/strings/setlocale_variation5.phpt [deleted file]
ext/standard/tests/strings/sha1.phpt
ext/standard/tests/strings/soundex.phpt
ext/standard/tests/strings/sprintf_basic1.phpt
ext/standard/tests/strings/sprintf_basic2.phpt
ext/standard/tests/strings/sprintf_basic3.phpt
ext/standard/tests/strings/sprintf_basic4.phpt
ext/standard/tests/strings/sprintf_basic5.phpt
ext/standard/tests/strings/sprintf_basic6.phpt
ext/standard/tests/strings/sprintf_basic7.phpt
ext/standard/tests/strings/sprintf_basic7_64bit.phpt
ext/standard/tests/strings/sprintf_basic8.phpt
ext/standard/tests/strings/sprintf_basic8_64bit.phpt
ext/standard/tests/strings/sprintf_basic9.phpt
ext/standard/tests/strings/sprintf_error.phpt
ext/standard/tests/strings/sprintf_f.phpt
ext/standard/tests/strings/sprintf_f_2.phpt
ext/standard/tests/strings/sprintf_f_3.phpt
ext/standard/tests/strings/sprintf_variation1.phpt
ext/standard/tests/strings/sprintf_variation10.phpt
ext/standard/tests/strings/sprintf_variation11.phpt
ext/standard/tests/strings/sprintf_variation12.phpt
ext/standard/tests/strings/sprintf_variation13.phpt
ext/standard/tests/strings/sprintf_variation14.phpt
ext/standard/tests/strings/sprintf_variation15.phpt
ext/standard/tests/strings/sprintf_variation16.phpt
ext/standard/tests/strings/sprintf_variation17.phpt
ext/standard/tests/strings/sprintf_variation18.phpt
ext/standard/tests/strings/sprintf_variation19.phpt
ext/standard/tests/strings/sprintf_variation2.phpt
ext/standard/tests/strings/sprintf_variation20.phpt
ext/standard/tests/strings/sprintf_variation21.phpt
ext/standard/tests/strings/sprintf_variation22.phpt
ext/standard/tests/strings/sprintf_variation23.phpt
ext/standard/tests/strings/sprintf_variation24.phpt
ext/standard/tests/strings/sprintf_variation25.phpt
ext/standard/tests/strings/sprintf_variation26.phpt
ext/standard/tests/strings/sprintf_variation27.phpt
ext/standard/tests/strings/sprintf_variation28.phpt
ext/standard/tests/strings/sprintf_variation28_64bit.phpt
ext/standard/tests/strings/sprintf_variation29.phpt
ext/standard/tests/strings/sprintf_variation29_64bit.phpt
ext/standard/tests/strings/sprintf_variation3.phpt
ext/standard/tests/strings/sprintf_variation30.phpt
ext/standard/tests/strings/sprintf_variation31.phpt
ext/standard/tests/strings/sprintf_variation32.phpt
ext/standard/tests/strings/sprintf_variation33.phpt
ext/standard/tests/strings/sprintf_variation34.phpt
ext/standard/tests/strings/sprintf_variation34_64bit.phpt
ext/standard/tests/strings/sprintf_variation35.phpt
ext/standard/tests/strings/sprintf_variation35_64bit.phpt
ext/standard/tests/strings/sprintf_variation36.phpt
ext/standard/tests/strings/sprintf_variation37.phpt
ext/standard/tests/strings/sprintf_variation38.phpt
ext/standard/tests/strings/sprintf_variation39.phpt
ext/standard/tests/strings/sprintf_variation4.phpt
ext/standard/tests/strings/sprintf_variation40.phpt
ext/standard/tests/strings/sprintf_variation40_64bit.phpt
ext/standard/tests/strings/sprintf_variation41.phpt
ext/standard/tests/strings/sprintf_variation41_64bit.phpt
ext/standard/tests/strings/sprintf_variation42.phpt
ext/standard/tests/strings/sprintf_variation43.phpt
ext/standard/tests/strings/sprintf_variation44.phpt
ext/standard/tests/strings/sprintf_variation44_64bit.phpt
ext/standard/tests/strings/sprintf_variation45.phpt
ext/standard/tests/strings/sprintf_variation46.phpt
ext/standard/tests/strings/sprintf_variation47.phpt
ext/standard/tests/strings/sprintf_variation48.phpt
ext/standard/tests/strings/sprintf_variation49.phpt
ext/standard/tests/strings/sprintf_variation4_64bit.phpt
ext/standard/tests/strings/sprintf_variation5.phpt
ext/standard/tests/strings/sprintf_variation50.phpt
ext/standard/tests/strings/sprintf_variation51.phpt
ext/standard/tests/strings/sprintf_variation52.phpt
ext/standard/tests/strings/sprintf_variation53.phpt
ext/standard/tests/strings/sprintf_variation6.phpt
ext/standard/tests/strings/sprintf_variation7.phpt
ext/standard/tests/strings/sprintf_variation8.phpt
ext/standard/tests/strings/sprintf_variation9.phpt
ext/standard/tests/strings/str_ireplace.phpt
ext/standard/tests/strings/str_pad.phpt
ext/standard/tests/strings/str_repeat.phpt
ext/standard/tests/strings/str_replace.phpt
ext/standard/tests/strings/str_shuffle.phpt
ext/standard/tests/strings/str_split_basic.phpt
ext/standard/tests/strings/str_split_error.phpt
ext/standard/tests/strings/str_split_variation1.phpt
ext/standard/tests/strings/str_split_variation2.phpt
ext/standard/tests/strings/str_split_variation2_64bit.phpt
ext/standard/tests/strings/str_split_variation3.phpt
ext/standard/tests/strings/str_split_variation4.phpt
ext/standard/tests/strings/str_split_variation5.phpt
ext/standard/tests/strings/str_split_variation6.phpt
ext/standard/tests/strings/str_split_variation6_64bit.phpt
ext/standard/tests/strings/str_split_variation7.phpt
ext/standard/tests/strings/str_split_variation7_64bit.phpt
ext/standard/tests/strings/str_word_count.phpt
ext/standard/tests/strings/str_word_count1.phpt
ext/standard/tests/strings/strcmp.phpt
ext/standard/tests/strings/strcspn.phpt
ext/standard/tests/strings/strcspn_basic.phpt
ext/standard/tests/strings/strcspn_error.phpt
ext/standard/tests/strings/strcspn_variation1.phpt
ext/standard/tests/strings/strcspn_variation10.phpt
ext/standard/tests/strings/strcspn_variation11.phpt
ext/standard/tests/strings/strcspn_variation12.phpt
ext/standard/tests/strings/strcspn_variation2.phpt
ext/standard/tests/strings/strcspn_variation3.phpt
ext/standard/tests/strings/strcspn_variation4.phpt
ext/standard/tests/strings/strcspn_variation5.phpt
ext/standard/tests/strings/strcspn_variation6.phpt
ext/standard/tests/strings/strcspn_variation7.phpt
ext/standard/tests/strings/strcspn_variation8.phpt
ext/standard/tests/strings/strcspn_variation9.phpt
ext/standard/tests/strings/strings001.phpt
ext/standard/tests/strings/strip_tags_basic1.phpt
ext/standard/tests/strings/strip_tags_basic2.phpt
ext/standard/tests/strings/strip_tags_error.phpt
ext/standard/tests/strings/strip_tags_variation1.phpt
ext/standard/tests/strings/strip_tags_variation10.phpt
ext/standard/tests/strings/strip_tags_variation2.phpt
ext/standard/tests/strings/strip_tags_variation3.phpt
ext/standard/tests/strings/strip_tags_variation4.phpt
ext/standard/tests/strings/strip_tags_variation5.phpt
ext/standard/tests/strings/strip_tags_variation6.phpt
ext/standard/tests/strings/strip_tags_variation7.phpt
ext/standard/tests/strings/strip_tags_variation8.phpt
ext/standard/tests/strings/strip_tags_variation9.phpt
ext/standard/tests/strings/stripos_basic1.phpt
ext/standard/tests/strings/stripos_basic2.phpt
ext/standard/tests/strings/stripos_error.phpt
ext/standard/tests/strings/stripos_variation1.phpt
ext/standard/tests/strings/stripos_variation10.phpt
ext/standard/tests/strings/stripos_variation11.phpt
ext/standard/tests/strings/stripos_variation12.phpt
ext/standard/tests/strings/stripos_variation13.phpt
ext/standard/tests/strings/stripos_variation14.phpt
ext/standard/tests/strings/stripos_variation15.phpt
ext/standard/tests/strings/stripos_variation2.phpt
ext/standard/tests/strings/stripos_variation3.phpt
ext/standard/tests/strings/stripos_variation4.phpt
ext/standard/tests/strings/stripos_variation5.phpt
ext/standard/tests/strings/stripos_variation6.phpt
ext/standard/tests/strings/stripos_variation7.phpt
ext/standard/tests/strings/stripos_variation8.phpt
ext/standard/tests/strings/stripslashes_basic.phpt
ext/standard/tests/strings/stripslashes_error.phpt
ext/standard/tests/strings/stripslashes_variation1.phpt
ext/standard/tests/strings/stripslashes_variation2.phpt
ext/standard/tests/strings/stripslashes_variation3.phpt
ext/standard/tests/strings/stripslashes_variation4.phpt
ext/standard/tests/strings/stristr.phpt
ext/standard/tests/strings/strncasecmp_basic.phpt
ext/standard/tests/strings/strncasecmp_error.phpt
ext/standard/tests/strings/strncasecmp_variation1.phpt
ext/standard/tests/strings/strncasecmp_variation10.phpt
ext/standard/tests/strings/strncasecmp_variation11.phpt
ext/standard/tests/strings/strncasecmp_variation2.phpt
ext/standard/tests/strings/strncasecmp_variation3.phpt
ext/standard/tests/strings/strncasecmp_variation4.phpt
ext/standard/tests/strings/strncasecmp_variation5.phpt
ext/standard/tests/strings/strncasecmp_variation6.phpt
ext/standard/tests/strings/strncasecmp_variation7.phpt
ext/standard/tests/strings/strncasecmp_variation8.phpt
ext/standard/tests/strings/strncasecmp_variation9.phpt
ext/standard/tests/strings/strncmp_basic.phpt
ext/standard/tests/strings/strncmp_error.phpt
ext/standard/tests/strings/strncmp_variation1.phpt
ext/standard/tests/strings/strncmp_variation2.phpt
ext/standard/tests/strings/strncmp_variation3.phpt
ext/standard/tests/strings/strncmp_variation4.phpt
ext/standard/tests/strings/strncmp_variation5.phpt
ext/standard/tests/strings/strncmp_variation6.phpt
ext/standard/tests/strings/strncmp_variation7.phpt
ext/standard/tests/strings/strncmp_variation8.phpt
ext/standard/tests/strings/strncmp_variation9.phpt
ext/standard/tests/strings/strpos.phpt
ext/standard/tests/strings/strrchr.phpt
ext/standard/tests/strings/strrchr_basic.phpt
ext/standard/tests/strings/strrchr_error.phpt
ext/standard/tests/strings/strrchr_variation1.phpt
ext/standard/tests/strings/strrchr_variation10.phpt
ext/standard/tests/strings/strrchr_variation11.phpt
ext/standard/tests/strings/strrchr_variation12.phpt
ext/standard/tests/strings/strrchr_variation2.phpt
ext/standard/tests/strings/strrchr_variation3.phpt
ext/standard/tests/strings/strrchr_variation4.phpt
ext/standard/tests/strings/strrchr_variation5.phpt
ext/standard/tests/strings/strrchr_variation6.phpt
ext/standard/tests/strings/strrchr_variation7.phpt
ext/standard/tests/strings/strrchr_variation8.phpt
ext/standard/tests/strings/strrchr_variation9.phpt
ext/standard/tests/strings/strrev.phpt
ext/standard/tests/strings/strrev_basic.phpt
ext/standard/tests/strings/strrev_error.phpt
ext/standard/tests/strings/strrev_variation1.phpt
ext/standard/tests/strings/strrev_variation2.phpt
ext/standard/tests/strings/strrev_variation3.phpt
ext/standard/tests/strings/strrev_variation4.phpt
ext/standard/tests/strings/strripos.phpt
ext/standard/tests/strings/strripos_offset.phpt
ext/standard/tests/strings/strrpos_basic1.phpt
ext/standard/tests/strings/strrpos_basic2.phpt
ext/standard/tests/strings/strrpos_error.phpt
ext/standard/tests/strings/strrpos_variation1.phpt
ext/standard/tests/strings/strrpos_variation10.phpt
ext/standard/tests/strings/strrpos_variation11.phpt
ext/standard/tests/strings/strrpos_variation12.phpt
ext/standard/tests/strings/strrpos_variation13.phpt
ext/standard/tests/strings/strrpos_variation14.phpt
ext/standard/tests/strings/strrpos_variation15.phpt
ext/standard/tests/strings/strrpos_variation2.phpt
ext/standard/tests/strings/strrpos_variation3.phpt
ext/standard/tests/strings/strrpos_variation4.phpt
ext/standard/tests/strings/strrpos_variation5.phpt
ext/standard/tests/strings/strrpos_variation6.phpt
ext/standard/tests/strings/strrpos_variation7.phpt
ext/standard/tests/strings/strrpos_variation8.phpt
ext/standard/tests/strings/strrpos_variation9.phpt
ext/standard/tests/strings/strspn.phpt
ext/standard/tests/strings/strspn_basic.phpt
ext/standard/tests/strings/strspn_error.phpt
ext/standard/tests/strings/strspn_variation1.phpt
ext/standard/tests/strings/strspn_variation10.phpt
ext/standard/tests/strings/strspn_variation11.phpt
ext/standard/tests/strings/strspn_variation12.phpt
ext/standard/tests/strings/strspn_variation2.phpt
ext/standard/tests/strings/strspn_variation3.phpt
ext/standard/tests/strings/strspn_variation4.phpt
ext/standard/tests/strings/strspn_variation5.phpt
ext/standard/tests/strings/strspn_variation6.phpt
ext/standard/tests/strings/strspn_variation7.phpt
ext/standard/tests/strings/strspn_variation8.phpt
ext/standard/tests/strings/strspn_variation9.phpt
ext/standard/tests/strings/strtok_basic.phpt
ext/standard/tests/strings/strtok_error.phpt
ext/standard/tests/strings/strtok_variation1.phpt
ext/standard/tests/strings/strtok_variation2.phpt
ext/standard/tests/strings/strtok_variation3.phpt
ext/standard/tests/strings/strtok_variation4.phpt
ext/standard/tests/strings/strtok_variation5.phpt
ext/standard/tests/strings/strtok_variation6.phpt
ext/standard/tests/strings/strtok_variation7.phpt
ext/standard/tests/strings/strtolower-win32.phpt
ext/standard/tests/strings/strtolower.phpt
ext/standard/tests/strings/strtotitle.phpt
ext/standard/tests/strings/strtoupper.phpt
ext/standard/tests/strings/strtoupper1-win32.phpt
ext/standard/tests/strings/strtoupper1.phpt
ext/standard/tests/strings/strtr.phpt
ext/standard/tests/strings/strtr2.phpt
ext/standard/tests/strings/strtr3.phpt
ext/standard/tests/strings/strtr_basic.phpt
ext/standard/tests/strings/strtr_error.phpt
ext/standard/tests/strings/strtr_variation1.phpt
ext/standard/tests/strings/strtr_variation2.phpt
ext/standard/tests/strings/strtr_variation3.phpt
ext/standard/tests/strings/strtr_variation4.phpt
ext/standard/tests/strings/strtr_variation5.phpt
ext/standard/tests/strings/strtr_variation6.phpt
ext/standard/tests/strings/strtr_variation7.phpt
ext/standard/tests/strings/strtr_variation8.phpt
ext/standard/tests/strings/strtr_variation9.phpt
ext/standard/tests/strings/strval.phpt
ext/standard/tests/strings/substr.phpt
ext/standard/tests/strings/substr_compare.phpt
ext/standard/tests/strings/substr_count_basic.phpt
ext/standard/tests/strings/substr_count_variation_001.phpt
ext/standard/tests/strings/substr_count_variation_002.phpt
ext/standard/tests/strings/substr_replace.phpt
ext/standard/tests/strings/trim1.phpt
ext/standard/tests/strings/ucfirst.phpt
ext/standard/tests/strings/ucfirst1.phpt
ext/standard/tests/strings/ucwords_basic.phpt
ext/standard/tests/strings/ucwords_error.phpt
ext/standard/tests/strings/ucwords_variation1.phpt
ext/standard/tests/strings/ucwords_variation2.phpt
ext/standard/tests/strings/ucwords_variation3.phpt
ext/standard/tests/strings/ucwords_variation4.phpt
ext/standard/tests/strings/unpack.phpt
ext/standard/tests/strings/url_t.phpt
ext/standard/tests/strings/uuencode.phpt
ext/standard/tests/strings/vsprintf_basic1.phpt
ext/standard/tests/strings/vsprintf_basic2.phpt
ext/standard/tests/strings/vsprintf_basic3.phpt
ext/standard/tests/strings/vsprintf_basic4.phpt
ext/standard/tests/strings/vsprintf_basic5.phpt
ext/standard/tests/strings/vsprintf_basic6.phpt
ext/standard/tests/strings/vsprintf_basic7.phpt
ext/standard/tests/strings/vsprintf_basic7_64bit.phpt
ext/standard/tests/strings/vsprintf_basic8.phpt
ext/standard/tests/strings/vsprintf_basic9.phpt
ext/standard/tests/strings/vsprintf_error.phpt
ext/standard/tests/strings/vsprintf_variation1.phpt
ext/standard/tests/strings/vsprintf_variation10.phpt
ext/standard/tests/strings/vsprintf_variation11.phpt
ext/standard/tests/strings/vsprintf_variation11_64bit.phpt
ext/standard/tests/strings/vsprintf_variation12.phpt
ext/standard/tests/strings/vsprintf_variation12_64bit.phpt
ext/standard/tests/strings/vsprintf_variation13.phpt
ext/standard/tests/strings/vsprintf_variation13_64bit.phpt
ext/standard/tests/strings/vsprintf_variation14.phpt
ext/standard/tests/strings/vsprintf_variation14_64bit.phpt
ext/standard/tests/strings/vsprintf_variation15.phpt
ext/standard/tests/strings/vsprintf_variation15_64bit.phpt
ext/standard/tests/strings/vsprintf_variation16.phpt
ext/standard/tests/strings/vsprintf_variation16_64bit.phpt
ext/standard/tests/strings/vsprintf_variation17.phpt
ext/standard/tests/strings/vsprintf_variation18.phpt
ext/standard/tests/strings/vsprintf_variation19.phpt
ext/standard/tests/strings/vsprintf_variation19_64bit.phpt
ext/standard/tests/strings/vsprintf_variation2.phpt
ext/standard/tests/strings/vsprintf_variation3.phpt
ext/standard/tests/strings/vsprintf_variation4.phpt
ext/standard/tests/strings/vsprintf_variation4_64bit.phpt
ext/standard/tests/strings/vsprintf_variation5.phpt
ext/standard/tests/strings/vsprintf_variation6.phpt
ext/standard/tests/strings/vsprintf_variation7.phpt
ext/standard/tests/strings/vsprintf_variation8.phpt
ext/standard/tests/strings/vsprintf_variation9.phpt
ext/standard/tests/strings/wordwrap_basic.phpt
ext/standard/tests/strings/wordwrap_variation1.phpt
ext/standard/tests/strings/wordwrap_variation2.phpt
ext/standard/tests/strings/wordwrap_variation3.phpt
ext/standard/tests/strings/wordwrap_variation5.phpt
ext/standard/tests/time/bug38524.phpt
ext/standard/tests/url/base64_decode_basic_001.phpt
ext/standard/tests/url/base64_decode_basic_002.phpt
ext/standard/tests/url/base64_decode_variation_001.phpt
ext/standard/tests/url/base64_decode_variation_002.phpt
ext/standard/tests/url/base64_encode_error_001.phpt
ext/standard/tests/url/base64_encode_variation_001.phpt
ext/standard/tests/url/parse_url_basic_001.phpt
ext/standard/tests/url/parse_url_basic_002.phpt
ext/standard/tests/url/parse_url_basic_003.phpt
ext/standard/tests/url/parse_url_basic_004.phpt
ext/standard/tests/url/parse_url_basic_005.phpt
ext/standard/tests/url/parse_url_basic_006.phpt
ext/standard/tests/url/parse_url_basic_007.phpt
ext/standard/tests/url/parse_url_basic_008.phpt
ext/standard/tests/url/parse_url_basic_009.phpt
ext/standard/tests/url/parse_url_basic_010.phpt
ext/standard/tests/url/parse_url_error_001.phpt
ext/standard/tests/url/parse_url_error_002.phpt
ext/standard/tests/url/parse_url_variation_001.phpt
ext/standard/tests/url/parse_url_variation_002.phpt
ext/standard/tests/url/rawurldecode_variation_001.phpt
ext/standard/tests/url/rawurlencode_error_001.phpt
ext/standard/tests/url/rawurlencode_variation_001.phpt
ext/standard/tests/url/urldecode_error_001.phpt
ext/standard/tests/url/urldecode_variation_001.phpt
ext/standard/tests/url/urlencode_error_001.phpt
ext/standard/tests/url/urlencode_variation_001.phpt
ext/standard/tests/versioning/version_compare.phpt

index a69ff494255aa5495b1e8adac38402e37c7c7d1c..8595bbfaace8896b2562480bad7b45416391b195 100644 (file)
@@ -16,7 +16,7 @@ var_dump(error_reporting());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECT--
 hello
 int(8192)
 bool(false)
index 91c05a7ca1bab83edcc3a69473afe012a1c65334..22016e56ef026be317113203fedbb487f21c997b 100644 (file)
@@ -12,7 +12,7 @@ var_dump(ob_get_contents());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: highlight_file(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA): failed to open stream: File name too long in %s006.php on line %d
 
 Warning: highlight_file(): Failed opening 'AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA' for highlighting in %s006.php on line %d
index 999bf4a900034dc70bbbef0ea7022b0f7eeaa9e4..d323e83a73793af9841baa6d80fb95c8c3a608b3 100644 (file)
@@ -12,7 +12,7 @@ var_dump(ob_get_contents());
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: php_strip_whitespace(AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA): failed to open stream: File name too long in %s007.php on line %d
 string(0) ""
 bool(false)
index a91021e7b1de53fe0e689603f6b0823bf597a56b..d74b7d5014ff9934c6382068d8694be8f376942a 100644 (file)
@@ -23,4 +23,3 @@ foo\b\a\r\b\az
 \abcd\e\f\g\h\i\j\k\l\m\n\o\pqrstuvwxy\z
 1
 5d
-
index 7ca33e11eca24ba6d3e517432231610db33a97ce..712c035713473299d8ce1205e19cf1b61d890b18 100644 (file)
Binary files a/ext/standard/tests/strings/addcslashes_003.phpt and b/ext/standard/tests/strings/addcslashes_003.phpt differ
index ba553a2688575e1670f05f2fde2d39e0e1eb8a62..0108b2fb8597d7d2f50591881d433cda7eb5f8f5 100644 (file)
@@ -23,19 +23,6 @@ echo "Done\n";
 Warning: addcslashes() expects exactly 2 parameters, 0 given in %s on line %d
 NULL
 
-Warning: addcslashes() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-string(6) "\f\o\o"
-
-Warning: addcslashes() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing error conditions ***
-
-Warning: addcslashes() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
 Warning: addcslashes() expects exactly 2 parameters, 1 given in %s on line %d
 NULL
 
index dac4c4b2cb8930f8efa505e3efc4f419151bc985..a918d744f46b67348687cb487b4aa76c3d4d9937 100644 (file)
@@ -30,15 +30,7 @@ foreach( $str_array as $str )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing addslashes() : basic functionality ***
-string(16) "How\'s everybody"
-string(17) "Are you \"JOHN\"?"
-string(19) "c:\\php\\addslashes"
-string(12) "hello\0world"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing addslashes() : basic functionality ***
 unicode(16) "How\'s everybody"
 unicode(17) "Are you \"JOHN\"?"
index 309a4b72f8b27c8ae0ba4ada1baa0be7926f0c85..a515cd0a6965c0942d20795dc947d6c044a93753 100644 (file)
@@ -38,21 +38,6 @@ NULL
 
 -- Testing addslashes() function with more than expected no. of arguments --
 
-Warning: Wrong parameter count for addslashes() in %s on line %d
-NULL
-string(15) ""hello"\"world""
-Done
-
---UEXPECTF--
-*** Testing addslashes() : error conditions ***
-
--- Testing addslashes() function with Zero arguments --
-
-Warning: Wrong parameter count for addslashes() in %s on line %d
-NULL
-
--- Testing addslashes() function with more than expected no. of arguments --
-
 Warning: Wrong parameter count for addslashes() in %s on line %d
 NULL
 unicode(15) ""hello"\"world""
index 0b25e3fb10e22ea4c11b6495d31e904044f8db9b..433f4aadfc444e4f08fdf3274dacad7fe0f3a4d8 100644 (file)
@@ -104,78 +104,6 @@ Notice: Undefined variable: undefined_var in %s on line %d
 
 Notice: Undefined variable: unset_var in %s on line %d
 
---- Testing addslashes() by supplying different values for 'str' argument ---
--- 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) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 15 --
-string(1) "1"
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(0) ""
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(7) "obj\'ct"
--- Iteration 24 --
-string(%d) "Resource id #%d"
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-string(0) ""
-Done
-
---UEXPECTF--
-*** Testing addslashes() : with non-string type argument ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
 --- Testing addslashes() by supplying different values for 'str' argument ---
 -- Iteration 1 --
 unicode(1) "0"
index 13a4bf637c7d149c1cc6f2fa3208af714195f05c..7df5bf4d92ba61c17524a0238bee123242870e8e 100644 (file)
@@ -87,114 +87,7 @@ foreach( $str_array as $str )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing addslashes() : with various strings containing characters to be backslashed ***
-
--- Iteration 1 --
-string(11) "Hello world"
-
--- Iteration 2 --
-string(18) "how\'re you doing?"
-
--- Iteration 3 --
-string(30) "don\'t disturb u\'r neighbours"
-
--- Iteration 4 --
-string(34) "don\'t disturb u\'r neighbours\'\'"
-
--- Iteration 5 --
-string(0) ""
-
--- Iteration 6 --
-string(2) "\'"
-
--- Iteration 7 --
-string(2) "\'"
-
--- Iteration 8 --
-string(32) "he said, \"he will be on leave\""
-
--- Iteration 9 --
-string(34) "he said, \"\"he will be on leave\""
-
--- Iteration 10 --
-string(15) "\"\"\"PHP\"\"\""
-
--- Iteration 11 --
-string(0) ""
-
--- Iteration 12 --
-string(2) "\""
-
--- Iteration 13 --
-string(2) "\""
-
--- Iteration 14 --
-string(7) "hello\""
-
--- Iteration 15 --
-string(26) "Is your name Ram\\Krishna?"
-
--- Iteration 16 --
-string(9) "\\0.0.0.0"
-
--- Iteration 17 --
-string(29) "c:\\php\\testcase\\addslashes"
-
--- Iteration 18 --
-string(2) "\\"
-
--- Iteration 19 --
-string(12) "hello\0world"
-
--- Iteration 20 --
-string(9) "\0hello\0"
-
--- Iteration 21 --
-string(9) "\0\0hello"
-
--- Iteration 22 --
-string(2) "\0"
-
--- Iteration 23 --
-string(13) "\'\\0.0.0.0\'"
-
--- Iteration 24 --
-string(15) "\'\\0.0.0.0\'\0"
-
--- Iteration 25 --
-string(15) "\0\'c:\\php\\\'"
-
--- Iteration 26 --
-string(13) "\"\\0.0.0.0\""
-
--- Iteration 27 --
-string(17) "\"c:\\php\\\"\0\'"
-
--- Iteration 28 --
-string(22) "\"hello\"\'world\'\0//"
-
--- Iteration 29 --
-string(18) "0xABCDEF0123456789"
-
--- Iteration 30 --
-string(2) "\0"
-
--- Iteration 31 --
-string(18) "!@#$%&*@$%#&/;:,<>"
-
--- Iteration 32 --
-string(12) "hello\0world"
-
--- Iteration 33 --
-string(73) "This is line 1 of \'heredoc\' string
-This is line 2 of \"heredoc\" string"
-
--- Iteration 34 --
-string(0) ""
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing addslashes() : with various strings containing characters to be backslashed ***
 
 -- Iteration 1 --
index 8fe0fad704f1c03b632bcd900ff6d65a5f15c5fe..1744ebea1f6bf46188deaa1d755e6d70bd819216 100644 (file)
Binary files a/ext/standard/tests/strings/basename.phpt and b/ext/standard/tests/strings/basename.phpt differ
index 4a0159f08bcc770e4ac86e563fff5ae4873e15fe..47127ce0501b43691862859580c3bb3d72b64af8 100644 (file)
@@ -72,106 +72,7 @@ check_basename( $file_paths );
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing basic operations ***
-
---Iteration 1--
-string(3) "bar"
-
---Iteration 2--
-string(3) "bar"
-
---Iteration 3--
-string(3) "bar"
-
---Iteration 4--
-string(3) "bar"
-
---Iteration 5--
-string(3) "bar"
-
---Iteration 6--
-string(3) "bar"
-
---Iteration 7--
-string(3) "bar"
-
---Iteration 8--
-string(3) "bar"
-
---Iteration 9--
-string(3) "bar"
-
---Iteration 10--
-string(3) "bar"
-
---Iteration 11--
-string(6) "bar.gz"
-
---Iteration 12--
-string(3) "bar"
-
---Iteration 13--
-string(3) "bar"
-
---Iteration 14--
-string(3) "bar"
-
---Iteration 15--
-string(3) "bar"
-
---Iteration 16--
-string(3) "bar"
-
---Iteration 17--
-string(3) "bar"
-
---Iteration 18--
-string(3) "bar"
-
---Iteration 19--
-string(3) "bar"
-
---Iteration 20--
-string(3) ".gz"
-
---Iteration 21--
-string(3) ".gz"
-
---Iteration 22--
-string(3) ".gz"
-
---Iteration 23--
-string(3) ".gz"
-
---Iteration 24--
-string(3) ".gz"
-
---Iteration 25--
-string(3) ".gz"
-
---Iteration 26--
-string(3) "bar"
-
---Iteration 27--
-string(3) "bar"
-
---Iteration 28--
-string(3) "bar"
-
---Iteration 29--
-string(3) "bar"
-
---Iteration 30--
-string(3) "bar"
-
---Iteration 31--
-string(3) "bar"
-
---Iteration 32--
-string(6) "bar.gz"
-Done
---UEXPECT--
+--EXPECT--
 *** Testing basic operations ***
 
 --Iteration 1--
@@ -269,4 +170,4 @@ string(3) "bar"
 
 --Iteration 32--
 string(6) "bar.gz"
-Done
\ No newline at end of file
+Done
index ba4d6ebd8beca36d58a72f28b0b1f45feedd3330..13966147fdc2d3db64c98965ce3f983b314a3401 100644 (file)
@@ -56,33 +56,3 @@ NULL
 Warning: basename() expects parameter 2 to be string (Unicode or binary), object given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing error conditions ***
-
-Warning: basename() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: basename() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), object given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), object given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 1 to be string (Unicode or binary), object given in %s on line %d
-NULL
-
-Warning: basename() expects parameter 2 to be string (Unicode or binary), object given in %s on line %d
-NULL
-Done
index b957bb9f83d1d732675a4cf830e85d9eda8b90e4..06eff43831d9e3b9fe909d8c22f9f706c28a4783 100644 (file)
@@ -86,154 +86,7 @@ check_basename( $file_path_variations );
 
 echo "Done\n";
 
---EXPECTF--
-*** Testing possible variations in path and suffix ***
-
---Iteration 1--
-string(3) "bar"
-
---Iteration 2--
-string(3) "bar"
-
---Iteration 3--
-string(3) "bar"
-
---Iteration 4--
-string(3) "bar"
-
---Iteration 5--
-string(3) "bar"
-
---Iteration 6--
-string(7) "bar.tar"
-
---Iteration 7--
-string(7) "bar.tar"
-
---Iteration 8--
-string(7) "bar.tar"
-
---Iteration 9--
-string(7) "bar.tar"
-
---Iteration 10--
-string(7) "bar.tar"
-
---Iteration 11--
-string(7) "bar.tar"
-
---Iteration 12--
-string(7) "bar.tar"
-
---Iteration 13--
-string(7) "bar.tar"
-
---Iteration 14--
-string(1) "t"
-
---Iteration 15--
-string(7) "tbar.gz"
-
---Iteration 16--
-string(7) "tbar.gz"
-
---Iteration 17--
-string(7) "tbar.gz"
-
---Iteration 18--
-string(7) "tbar.gz"
-
---Iteration 19--
-string(10) "My Pics.gz"
-
---Iteration 20--
-string(10) "My Pics.gz"
-
---Iteration 21--
-string(3) "My "
-
---Iteration 22--
-string(7) "My Pics"
-
---Iteration 23--
-string(10) "My Pics.gz"
-
---Iteration 24--
-string(10) "My Pics.gz"
-
---Iteration 25--
-string(10) "My Pics.gz"
-
---Iteration 26--
-string(10) "My Pics.gz"
-
---Iteration 27--
-string(10) "My Pics.gz"
-
---Iteration 28--
-string(4) "10.5"
-
---Iteration 29--
-string(2) "10"
-
---Iteration 30--
-string(4) "10.5"
-
---Iteration 31--
-string(2) "10"
-
---Iteration 32--
-string(2) "10"
-
---Iteration 33--
-string(4) "10.5"
-
---Iteration 34--
-string(4) "10.5"
-
---Iteration 35--
-string(5) "10.gz"
-
---Iteration 36--
-string(1) "0"
-
---Iteration 37--
-string(1) "0"
-
---Iteration 38--
-string(6) "bar.gz"
-
---Iteration 39--
-string(6) "bar.gz"
-
---Iteration 40--
-string(6) "bar.gz"
-
---Iteration 41--
-string(1) " "
-
---Iteration 42--
-string(1) " "
-
---Iteration 43--
-string(0) ""
-
---Iteration 44--
-string(1) " "
-
---Iteration 45--
-string(1) " "
-
---Iteration 46--
-string(0) ""
-
---Iteration 47--
-string(0) ""
-
---Iteration 48--
-string(0) ""
-Done
---UEXPECT--
+--EXPECT--
 *** Testing possible variations in path and suffix ***
 
 --Iteration 1--
index 150d9f3da05076c3f9033245847837f1af2a3322..d8f2c38aa47c0aafd681d8d78c1bd65e0fd8d541 100644 (file)
@@ -7,8 +7,5 @@ Bug #20108 (Segfault on printf statement)
        var_dump($z);
 ?>
 --EXPECT--
-string(581) "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 boo
-"
---UEXPECT--
 unicode(581) "                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 boo
 "
index 163e905a4aac484e67af06d8339b8ee511c29390..3c03afb43df16b852fdd02de835dc938894d6162 100644 (file)
@@ -23,4 +23,3 @@ Bug #20261 (str_rot13() changes too much)
 1: boo
 2: boo
 3: obb
-
index 8e4486cc7a73c4a9d5147688542f40bf51c1b49c..a02eb0bacab70af70393a7b1fd08ad5c3cfff855 100644 (file)
@@ -13,8 +13,5 @@ var_dump(bin2hex((binary)utf8_decode($str)));
 var_dump(bin2hex((binary)utf8_decode(htmlspecialchars($str, ENT_COMPAT, "UTF-8"))));
 ?>
 --EXPECT--
-string(4) "e0e1"
-string(4) "e0e1"
---UEXPECT--
 unicode(4) "e0e1"
 unicode(4) "e0e1"
index 3eb760842182ac26faa68ef735eea8652be0f522..3b7a538443ef2fa739e480d3822eb8692c1d366e 100644 (file)
@@ -6,8 +6,5 @@ Bug #20934 (html_entity_decode() crash when "" is passed)
        var_dump(html_entity_decode(""));
 ?>
 --EXPECT--
-string(0) ""
-string(0) ""
---UEXPECT--
 unicode(0) ""
 unicode(0) ""
index cc14573432a22e26d6e605f3652cb3f36b35cd31..440aefc8f870dc05673de62184ff19cef9d8d6d0 100644 (file)
@@ -11,12 +11,6 @@ $test = "
        var_dump(strip_tags($test));
 ?>
 --EXPECT--
-string(80) "
-
-       first cell before < first cell after
-       second cell before < second cell after
-"
---UEXPECT--
 unicode(80) "
 
        first cell before < first cell after
index 406f8c6eb4c0ef2d96ddab6ff30c31e65683c493..a1b2ede1b064722ffe957e59fd4d83f8e68e243c 100644 (file)
@@ -17,23 +17,6 @@ var_dump($res_a);
 var_dump($res_b);
 ?>
 --EXPECT--
-array(3) {
-  [0]=>
-  string(3) "ABC"
-  [1]=>
-  string(3) "DEF"
-  [2]=>
-  int(9)
-}
-array(3) {
-  [0]=>
-  string(3) "ABC"
-  [1]=>
-  string(3) "DEF"
-  [2]=>
-  int(9)
-}
---UEXPECT--
 array(3) {
   [0]=>
   unicode(3) "ABC"
index 2e00043eebd92757c2ad703c74c4104a04b9ccd8..a28d8b8c5cd1e59a75e0bdbf0b7ef60827e59e77 100644 (file)
@@ -6,8 +6,5 @@ Bug #22187 (possible crash in number_format() function)
        var_dump(number_format(0.0001, 0));
 ?>
 --EXPECT--
-string(3) "0.0"
-string(1) "0"
---UEXPECT--
 unicode(3) "0.0"
 unicode(1) "0"
index c0ec4fdbc19b0591093012673bbd48ec94892ee9..431819b059101f590c98d31d88dbf14f377da9a7 100644 (file)
@@ -7,9 +7,5 @@ Bug #22207 (missing 0 when using the e notation in *printf functions)
 ?>
 --EXPECT--
 1.10000e+0
-string(11) "1.10000e+0
-"
---UEXPECT--
-1.10000e+0
 unicode(11) "1.10000e+0
 "
index 0546c68384451138ce1bbc51e7d0ea9b9945b31b..d8356a7c4f92f5ff0f7bffa7e2152e906c0c65b9 100644 (file)
@@ -20,16 +20,6 @@ var_dump(implode(",",$arr));
 var_dump($arr)
 ?>
 --EXPECTF--
-string(13) "Object,Object"
-array(2) {
-  [0]=>
-  &object(foo)#%d (0) {
-  }
-  [1]=>
-  &object(foo)#%d (0) {
-  }
-}
---UEXPECTF--
 unicode(13) "Object,Object"
 array(2) {
   [0]=>
index 01dc88843d8884a06ecee6d83381edf1e5a22bf5..7950231462e8c4322dede0f67591015e4e93ce6c 100644 (file)
@@ -28,4 +28,3 @@ echo strip_tags($str, '<abc>');
 4:<abc - def>
 5:abc - def
 6:</abc>
-
index 070304b589c8847f1f62c770aea820de45e4892d..f11c4798e1787d23c31bd9b9048526b33c755f96 100644 (file)
@@ -9,11 +9,6 @@ $test = sprintf("% 13u", $a);
 var_dump($test, bin2hex((binary)$test));
 ?>
 --EXPECTREGEX--
-string\(4\) \"-012\"
-string\(8\) \"2d303132\"
-(string\(13\) \"   4294967284\"|string\(20\) \"18446744073709551604\")
-(string\(26\) \"20202034323934393637323834\"|string\(40\) \"3138343436373434303733373039353531363034\")
---UEXPECTREGEX--
 unicode\(4\) \"-012\"
 unicode\(8\) \"2d303132\"
 (unicode\(13\) \"   4294967284\"|unicode\(20\) \"18446744073709551604\")
index ff00a7f6d56e693974849df8283238eb92ec30f5..f65be2a2ba35b7aa8ecdac0013da11c6e815b3fa 100644 (file)
@@ -7,17 +7,6 @@ Bug #24098 (pathinfo() crash)
        var_dump(pathinfo("/dsds.asa"));
 ?>
 --EXPECT--
-array(4) {
-  ["dirname"]=>
-  string(1) "/"
-  ["basename"]=>
-  string(8) "dsds.asa"
-  ["extension"]=>
-  string(3) "asa"
-  ["filename"]=>
-  string(4) "dsds"
-}
---UEXPECT--
 array(4) {
   [u"dirname"]=>
   unicode(1) "/"
index f3226e4fd32537dc0baf8ab19d930560cb6eba79..382d277e703fdba5cbaa1dd2a2de77cbc22faa33 100644 (file)
@@ -7,10 +7,6 @@ parse_str("a=1&b=2&c=3");
 var_dump($a, $b, $c);
 ?>
 --EXPECT--
-string(1) "1"
-string(1) "2"
-string(1) "3"
---UEXPECT--
 unicode(1) "1"
 unicode(1) "2"
 unicode(1) "3"
index 73a1f06d4e7a2c66441b64400e0167bf558a72e2..089b04d4ece90234590feec76df6d8afb77464f5 100644 (file)
@@ -16,11 +16,6 @@ Bug #25671 (subarrays not copied correctly)
   echo serialize(str_replace(" ", "", $arr)) . "\n";
 ?>
 --EXPECT--
-a:4:{i:0;S:19:"This is strung one.";i:1;S:19:"This is strung two.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:22:"This is a last strung.";}
-a:4:{i:0;S:19:"This is strung one.";i:1;S:19:"This is strung two.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:22:"This is a last strung.";}
-a:4:{i:0;S:16:"Thisisstringone.";i:1;S:16:"Thisisstringtwo.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:18:"Thisisalaststring.";}
-a:4:{i:0;S:16:"Thisisstringone.";i:1;S:16:"Thisisstringtwo.";i:2;a:2:{i:0;S:23:"This is another string.";i:1;S:22:"This is a last string.";}i:3;S:18:"Thisisalaststring.";}
---UEXPECT--
 a:4:{i:0;U:19:"This is strung one.";i:1;U:19:"This is strung two.";i:2;a:2:{i:0;U:23:"This is another string.";i:1;U:22:"This is a last string.";}i:3;U:22:"This is a last strung.";}
 a:4:{i:0;U:19:"This is strung one.";i:1;U:19:"This is strung two.";i:2;a:2:{i:0;U:23:"This is another string.";i:1;U:22:"This is a last string.";}i:3;U:22:"This is a last strung.";}
 a:4:{i:0;U:16:"Thisisstringone.";i:1;U:16:"Thisisstringtwo.";i:2;a:2:{i:0;U:23:"This is another string.";i:1;U:22:"This is a last string.";}i:3;U:18:"Thisisalaststring.";}
index ad414674cba573974171e3321be4453473a48a04..fef604a8da2090f3e2e001cd3eea17de0fbbe482 100644 (file)
@@ -7,10 +7,6 @@ var_dump(html_entity_decode("&amp;#38;", ENT_COMPAT, 'ISO-8859-1'));
 var_dump(html_entity_decode("&amp;#38;lt;", ENT_COMPAT, 'ISO-8859-1'));
 ?>
 --EXPECT--
-string(4) "&lt;"
-string(5) "&#38;"
-string(8) "&#38;lt;"
---UEXPECT--
 unicode(4) "&lt;"
 unicode(5) "&#38;"
 unicode(8) "&#38;lt;"
index 88b1caaf92b5d060c5d76e028ce019e7058cd0fb..72a0b273a1be7b6ab7bcc0d2a1ef636044ebc61c 100644 (file)
@@ -22,8 +22,5 @@ $obj->foo();
 var_dump(http_build_query($obj));
 ?>
 --EXPECT--
-string(27) "foo=lala&bar=meuh&test=test"
-string(9) "test=test"
---UEXPECT--
 unicode(27) "foo=lala&bar=meuh&test=test"
 unicode(9) "test=test"
index 512fe64c924d269254c5a38680883ecb28941175..667197076c139c6980ee955f3497ead28427ea49 100644 (file)
@@ -16,10 +16,6 @@ var_dump($x);
 
 ?>
 --EXPECT--
-string(2) "02"
-string(2) "02"
-string(2) "02"
---UEXPECT--
 unicode(2) "02"
 unicode(2) "02"
 unicode(2) "02"
index 9f48bdfc1d83cca5a04a9ab5e89ac177c01c6e37..71a5688296c27a21a51ac28e912d9a29730eb590 100644 (file)
@@ -7,6 +7,4 @@ unicode.runtime_encoding=UTF-8
 var_dump(bin2hex((binary)html_entity_decode('&ensp;&thinsp;&lsquo;&dagger;&prime;&frasl;&euro;', ENT_QUOTES, 'UTF-8')));
 ?>
 --EXPECT--
-string(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
---UEXPECT--
 unicode(42) "e28082e28089e28098e280a0e280b2e28184e282ac"
index d273bcc5626877d3d769281326e4d67cecdb3654..c9c27463a64b59870e539c163a09cd88b8289fa7 100644 (file)
@@ -9,9 +9,6 @@ var_dump($value);
 
 echo "Done\n";
 ?>
---EXPECT--     
-string(6) "bzexbz"
-Done
---UEXPECT--
+--EXPECT--
 unicode(6) "bzexbz"
 Done
index 2a43d060e2f40b385b1eef135d6eefe0da4177e3..a9f117fe3f33557bb96071a970ec10c6cef707da 100644 (file)
@@ -13,7 +13,7 @@ var_dump(strncasecmp("test ", "E", 0));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: Length must be greater than or equal to 0 in %s on line %d
 bool(false)
 int(%d)
index 0718c8a4d3e494ac79d5d3bb8d0f03578106a90c..bd9628e877a005e03fce1c02d3f13a6ae026531e 100644 (file)
@@ -15,4 +15,3 @@ foreach($strings as $string) {
 string(93) "Implementations MUST reject the encoding if it contains characters outside the base alphabet."
 bool(false)
 string(92) "Implemem\18]\1a\9cÈ\13UTÕ\b\1c\99Z\99\b\1d\1a\19H\19[\98ÛÙ\1a[\99È\1aY\88\1a]\b\18ÛÛ\9d\18Z[\9cÈ\18Ú\18\\98\19\\9cÈ\eÝ]\1cÚY\19H\1d\1a\19H\18\98\ÙH\18[\1c\1a\18X\99]\v"
-
index 6fe2d9f379d9c80552ed6a71797f65636cfec9af..c231587cd8b54100ec377603cdbb694e58320915 100644 (file)
@@ -5,5 +5,5 @@ Bug #37262 (var_export() does not escape \0 character)
 $func = create_function('$a', 'return $a;');
 var_export($func);
 ?>
---EXPECT--     
+--EXPECT--
 '' . "\0" . 'lambda_1'
index 37f5a93f66ed67c0ee9be79189e7534a8287f1d2..39fc5f266518c8c869dcd02050c171905f41b949 100644 (file)
@@ -8,6 +8,6 @@ var_dump(sscanf("a ",'%1$s',$str));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECT--
 int(1)
 Done
index 2494a911bd315deba6fc416417408b2e1091078a..efadf879c7e50be83c1891b2277b65e838092195 100644 (file)
@@ -9,7 +9,7 @@ foreach (array('N','I','l') as $v) {
 
 echo "Done\n";
 ?>
---EXPECT--     
+--EXPECT--
 Array
 (
     [1] => -30000
index dbd39ec9d813ea5ee87396bb4ba84ef52759055b..f01df3ff4c60339dbc4f45aab25e5623a913d5bc 100644 (file)
@@ -10,7 +10,7 @@ var_dump(strcspn(chr(1),"qweqwe"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECT--
 int(1)
 int(0)
 int(1)
index 53d58b709983f8dd69eee98c3e8c08708514fc6b..8cc51e959235e446ae8ee313f9e3e2e653a540e9 100644 (file)
@@ -9,5 +9,5 @@ implode('', array(""));
 
 echo "Done\n";
 ?>
---EXPECT--     
+--EXPECT--
 Done
index e9c4a3ff6fd755255519d4d13ffa64f0bcb2a723..4d0a8f3476b43e34fd7477c96eafa327bbbdd031 100644 (file)
Binary files a/ext/standard/tests/strings/bug39621.phpt and b/ext/standard/tests/strings/bug39621.phpt differ
index 10baebe8decb58a563e8047809f498002b7ba860..356b6628a1e524c5a2873f9225b0eaf6abc68771 100644 (file)
@@ -13,8 +13,6 @@ if (!setlocale(LC_ALL, "ita","it","Italian","it_IT","it_IT.ISO8859-1","it_IT.ISO
        echo number_format($num,2);
        echo "\n";
 ?>
---EXPECT--
-1,234.56
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 1,234.56
index fa1a28d824eb6f4600406569aa32769f87912340..56cafbd6e8cae543ab49b3c41e839661cf8e9db1 100644 (file)
@@ -8,9 +8,6 @@ var_dump(strip_tags($html));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-string(4) "Text"
-Done
---UEXPECTF--
+--EXPECT--
 unicode(4) "Text"
 Done
index 7ffd94af8a2f91359bae2b3db24a69ddaea84888..16f390ea70e12ebf0f3d8ad8e6995bad9c5bcf10 100644 (file)
@@ -8,9 +8,6 @@ var_dump(strip_tags($html));
 
 echo "Done\n";
 ?>
---EXPECT--     
-string(26) "Bug ' Trigger Missing Text"
-Done
---UEXPECT--    
+--EXPECT--
 unicode(26) "Bug ' Trigger Missing Text"
 Done
index b6a470aa4fe600d6d54b3f3a2a878a3e47e60bc4..a3a5cf904f843e1117de2092b0f22ccd58a5b581 100644 (file)
@@ -26,42 +26,7 @@ var_dump(chunk_split("abcde", $v, "abc"));
 var_dump(substr("abcde", $v, $v));
 
 ?>
---EXPECTF--    
-string(4) "bcde"
-string(6) "abcdex"
-bool(false)
-bool(false)
-
-Warning: substr_count(): Offset value 2147483647 exceeds string length in %s on line %d
-bool(false)
-
-Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-
-Warning: substr_count(): Offset value 2147483647 exceeds string length in %s on line %d
-bool(false)
-
-Warning: substr_count(): Length value 2147483647 exceeds string length in %s on line %d
-bool(false)
-
-Warning: strpos(): Offset not contained in string in %s on line %d
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
-bool(false)
-
-Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
-bool(false)
-int(2)
-string(8) "abcdeabc"
-bool(false)
---UEXPECTF--   
+--EXPECTF--
 unicode(4) "bcde"
 unicode(6) "abcdex"
 bool(false)
index 854853ed2e3dd633d449948e0312c428331a9ee9..47f38be92fa1423e9cdd69671b4fa48076c03a8b 100644 (file)
Binary files a/ext/standard/tests/strings/bug40915.phpt and b/ext/standard/tests/strings/bug40915.phpt differ
index fc9e449a8f8f0b186a59556279f51f281fe647a8..b7bf4f1ca615e2c90236231474e10e762c1e4e72 100644 (file)
@@ -15,37 +15,7 @@ var_dump(sscanf('one two', '%1$d %2$d'));
 var_dump(sscanf('one two', '%1$d'));
 echo "Done\n";
 ?>
---EXPECTF--
-array(2) {
-  [0]=>
-  string(3) "one"
-  [1]=>
-  string(3) "two"
-}
-array(2) {
-  [0]=>
-  string(3) "two"
-  [1]=>
-  string(3) "one"
-}
---
-string(3) "one"
-string(3) "two"
-string(3) "two"
-string(3) "one"
---
-array(2) {
-  [0]=>
-  NULL
-  [1]=>
-  NULL
-}
-array(1) {
-  [0]=>
-  NULL
-}
-Done
---UEXPECTF--
+--EXPECT--
 array(2) {
   [0]=>
   unicode(3) "one"
index f672c8a66c01cba7713a1c3b5847d3685b4f826b..d7b7bae57ceac1d0da21d7a4589261d1eee1ef8e 100644 (file)
@@ -7,13 +7,6 @@ $c = $a;
 var_dump(substr_replace($a, 1, 1, $c));
 ?>
 --EXPECT--
-array(2) {
-  [0]=>
-  string(2) "11"
-  [1]=>
-  string(2) "21"
-}
---UEXPECT--
 array(2) {
   [0]=>
   unicode(2) "11"
index 60be939c9d399612937b0c10ec21a1fafa51257c..408e153e75d0b0316692642d0d8a7340d5f0d7c1 100644 (file)
@@ -15,17 +15,7 @@ var_dump( strtr("hello", null, "string") );
 
 echo "Done\n";
 ?>
---EXPECTF--    
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-string(5) "hello"
-string(5) "hello"
-string(5) "hello"
-string(5) "hello"
-Done
---UEXPECTF--
+--EXPECT--
 unicode(5) "hello"
 unicode(5) "hello"
 unicode(5) "hello"
index 65d0e98e8fef51d4a237299341e0f8654521357a..5895f01ccaa18c368dea352d2108639ba648634d 100755 (executable)
@@ -7,17 +7,6 @@ $split_length = 5;
 var_dump( str_split($str, $split_length) );
 ?>
 --EXPECT--
-array(4) {
-  [0]=>
-  string(5) "Testi"
-  [1]=>
-  string(5) "ng st"
-  [2]=>
-  string(5) "r_spl"
-  [3]=>
-  string(4) "it()"
-}
---UEXPECT--
 array(4) {
   [0]=>
   unicode(5) "Testi"
index a2e8d053d6c4864c9930ab12d0acd1f86758852c..d7ede24c310220aee7701d5003d3270c21c98f82 100644 (file)
@@ -7,10 +7,6 @@ var_dump(html_entity_decode("&amp;#38;", ENT_COMPAT, 'koi8-r'));
 var_dump(html_entity_decode("&amp;#38;lt;", ENT_COMPAT, 'koi8-r'));
 ?>
 --EXPECT--
-string(4) "&lt;"
-string(5) "&#38;"
-string(8) "&#38;lt;"
---UEXPECT--
 unicode(4) "&lt;"
 unicode(5) "&#38;"
 unicode(8) "&#38;lt;"
index b103020fd6873411a5cfc13fe40b001f331e8b0c..d9e0b73769a2418c4d1a2da09b6fd2947d14e2e0 100644 (file)
@@ -57,32 +57,6 @@ do {
 
 ?>
 --EXPECT--
-string(1) "1"
-string(1) "2"
-
-----
-string(1) "1"
-string(3) "2-3"
-
-----
-string(1) "1"
-string(1) "2"
-string(2) "-3"
-
-----
-string(1) "1"
-string(3) "2-3"
-
-----
-string(1) "1"
-string(4) "
-2-3"
-
-----
-string(1) "1"
-string(2) "--"
-string(3) "2-3"
---UEXPECT--
 unicode(1) "1"
 unicode(1) "2"
 
index d2cdce9bfa4476fea67974f5b9fda6f5c122bd14..68468e25e5e83461837713c13a458d3973a31a00 100644 (file)
@@ -44,5 +44,3 @@ string(8) "&lt;&gt;"
 
 Warning: htmlspecialchars(): charset `aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa' not supported, assuming iso-8859-1 in %s on line %d
 string(8) "&lt;&gt;"
-
-
index d08059f6013704917b83b4a35a5bce6e42e45f60..a589dab02c63ec17fe1761c9dbcd781f412d4557 100644 (file)
Binary files a/ext/standard/tests/strings/chop_basic.phpt and b/ext/standard/tests/strings/chop_basic.phpt differ
index ae6fad5bbea776fca3f8268d74dab2a6d243a60a..a15724c8827db373807a44f2fb17f19194966928 100644 (file)
@@ -38,21 +38,6 @@ NULL
 
 -- Testing chop() function with more than expected no. of arguments --
 
-Warning: chop() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-string(11) "string_val "
-Done
-
---UEXPECTF--
-*** Testing chop() : error conditions ***
-
--- Testing chop() function with Zero arguments --
-
-Warning: chop() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing chop() function with more than expected no. of arguments --
-
 Warning: chop() expects at most 2 parameters, 3 given in %s on line %d
 NULL
 unicode(11) "string_val "
index 0d492d29c719dd61583a5bf08e65ad9bcc89fab7..9eb80c010d47c9b8f5ae3ac0fd944c3ba7db47f5 100644 (file)
@@ -108,118 +108,6 @@ Notice: Undefined variable: undefined_var in %s on line %d
 
 Notice: Undefined variable: unset_var in %s on line %d
 
---- Testing chop() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
-string(0) ""
--- Iteration 2 --
-string(1) "1"
-string(0) ""
--- Iteration 3 --
-string(5) "12345"
-string(0) ""
--- Iteration 4 --
-string(5) "-2345"
-string(1) "-"
--- Iteration 5 --
-string(4) "10.5"
-string(3) "10."
--- Iteration 6 --
-string(5) "-10.5"
-string(4) "-10."
--- Iteration 7 --
-string(12) "101234567000"
-string(0) ""
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(12) "1.07654321E-"
--- Iteration 9 --
-string(3) "0.5"
-string(2) "0."
--- Iteration 10 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) "1"
-string(0) ""
--- Iteration 16 --
-string(0) ""
-string(0) ""
--- Iteration 17 --
-string(1) "1"
-string(0) ""
--- Iteration 18 --
-string(0) ""
-string(0) ""
--- Iteration 19 --
-string(0) ""
-string(0) ""
--- Iteration 20 --
-string(0) ""
-string(0) ""
--- Iteration 21 --
-string(0) ""
-string(0) ""
--- Iteration 22 --
-string(0) ""
-string(0) ""
--- Iteration 23 --
-string(0) ""
-string(0) ""
--- Iteration 24 --
-string(0) ""
-string(0) ""
--- Iteration 25 --
-string(16) " @#$%Object @#$%"
-string(11) " @#$%Object"
--- Iteration 26 --
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: chop() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
-
---UEXPECTF--
-*** Testing chop() : with unexpected values for str argument passed to the function ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
 --- Testing chop() by supplying different values for 'str' argument ---
 -- Iteration 1 --
 unicode(1) "0"
index 179e63baa0b4bf1cbb79c13feb2c6f8e3bab7667..74de2e0c08dcf6ffdd1c373cff30500173abc3b5 100644 (file)
@@ -106,80 +106,6 @@ Notice: Undefined variable: undefined_var in %s on line %d
 
 Notice: Undefined variable: unset_var in %s on line %d
 
---- Testing chop() by supplying different values for 'charlist' argument ---
--- Iteration 1 --
-string(17) "hello world12345 "
--- Iteration 2 --
-string(17) "hello world12345 "
--- Iteration 3 --
-string(17) "hello world12345 "
--- Iteration 4 --
-string(17) "hello world12345 "
--- Iteration 5 --
-string(17) "hello world12345 "
--- Iteration 6 --
-string(17) "hello world12345 "
--- Iteration 7 --
-string(17) "hello world12345 "
--- Iteration 8 --
-string(17) "hello world12345 "
--- Iteration 9 --
-string(17) "hello world12345 "
--- Iteration 10 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(17) "hello world12345 "
--- Iteration 16 --
-string(17) "hello world12345 "
--- Iteration 17 --
-string(17) "hello world12345 "
--- Iteration 18 --
-string(17) "hello world12345 "
--- Iteration 19 --
-string(11) "hello world"
--- Iteration 20 --
-string(17) "hello world12345 "
--- Iteration 21 --
-string(17) "hello world12345 "
--- Iteration 22 --
-string(17) "hello world12345 "
--- Iteration 23 --
-string(17) "hello world12345 "
--- Iteration 24 --
-
-Warning: chop() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 25 --
-string(17) "hello world12345 "
--- Iteration 26 --
-string(17) "hello world12345 "
-Done
-
---UEXPECTF--
-*** Testing chop() : with unexpected values of charlist argument passed to the function ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
 --- Testing chop() by supplying different values for 'charlist' argument ---
 -- Iteration 1 --
 unicode(17) "hello world12345 "
index 1f2abc6cf0aa3113d7fd6875186a7f359cd6b0d4..4e00a289ffff4d221e4b2300ac8161032791fb21 100644 (file)
Binary files a/ext/standard/tests/strings/chop_variation3.phpt and b/ext/standard/tests/strings/chop_variation3.phpt differ
index 656e598af309f126766a43e6309e4a8fb5be5e1c..b674d59f52bfe5c2ef28461562645b40f6ec109a 100644 (file)
Binary files a/ext/standard/tests/strings/chop_variation4.phpt and b/ext/standard/tests/strings/chop_variation4.phpt differ
index c8c363f00cb12c1796d0c9acc736d36c11a258f1..1669c359ce75fd7d991987d3ae855a82f35d99e8 100644 (file)
@@ -25,20 +25,7 @@ echo "*** Testing chop() : with miscellaneous arguments ***\n";
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing chop() : with miscellaneous arguments ***
-string(9) "chop test"
-string(12) "chop test   "
-string(17) "chop test        "
-string(17) "chop test        "
-string(9) "chop test"
-string(10) "chop test "
-string(9) "chop test"
-string(9) "chop test"
-string(9) "chop test"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chop() : with miscellaneous arguments ***
 unicode(9) "chop test"
 unicode(12) "chop test   "
index e5cf2fad72a7d071e3a5ad701b09af93aeaf4ff0..9e15a2793a77de3d73ccf142b9ac51ba0b84b982 100644 (file)
@@ -36,22 +36,7 @@ var_dump( chunk_split($str) );
        
 echo "Done"   
 ?>
---EXPECTF--
-*** Testing chunk_split() : basic functionality ***
--- Testing chunk_split() with all possible arguments --
-string(15) "Te##st##in##g##"
--- Testing chunk_split() with default ending string --
-string(15) "Te
-st
-in
-g
-"
--- Testing chunk_split() with default chunklen and ending string --
-string(9) "Testing
-"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chunk_split() : basic functionality ***
 -- Testing chunk_split() with all possible arguments --
 unicode(15) "Te##st##in##g##"
index 80d25dfff7b0cc52350b1b599322d0666c41ba89..77c1904774044fd56471b48da85ab19c6f92a40f 100644 (file)
@@ -99,77 +99,6 @@ fclose($fp);
 --EXPECTF--
 *** Testing chunk_split() : with unexpected values for 'str' argument ***
 -- Iteration 1 --
-string(2) "0 "
--- Iteration 2 --
-string(2) "1 "
--- Iteration 3 --
-string(8) "12 34 5 "
--- Iteration 4 --
-string(8) "-2 34 5 "
--- Iteration 5 --
-string(6) "10 .5 "
--- Iteration 6 --
-string(8) "-1 0. 5 "
--- Iteration 7 --
-string(18) "10 12 34 56 70 00 "
--- Iteration 8 --
-string(20) "1. 07 65 43 21 E- 9 "
--- Iteration 9 --
-string(5) "0. 5 "
--- Iteration 10 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) " "
--- Iteration 16 --
-string(1) " "
--- Iteration 17 --
-string(2) "1 "
--- Iteration 18 --
-string(1) " "
--- Iteration 19 --
-string(2) "1 "
--- Iteration 20 --
-string(1) " "
--- Iteration 21 --
-string(1) " "
--- Iteration 22 --
-string(1) " "
--- Iteration 23 --
-string(9) "st ri ng "
--- Iteration 24 --
-string(9) "st ri ng "
--- Iteration 25 --
-string(9) "ob je ct "
--- Iteration 26 --
-string(1) " "
--- Iteration 27 --
-string(1) " "
--- Iteration 28 --
-
-Warning: chunk_split() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing chunk_split() : with unexpected values for 'str' argument ***
--- Iteration 1 --
 unicode(2) "0 "
 -- Iteration 2 --
 unicode(2) "1 "
index 805bba5ae94311ebd4f2daab6933630d82f690a0..c3927565b16bf9827753749d8c10baece83241cc 100644 (file)
@@ -50,41 +50,7 @@ for($count = 0; $count < count($values); $count++) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing chunk_split() : different single quoted strings as 'ending' ***
--- Iteration 0 --
-string(73) "This is to test chunk_split() with various 'single quoted' ending string."
--- Iteration 1 --
-string(82) "This is t o test ch unk_split () with v arious 's ingle quo ted' endi ng string . "
--- Iteration 2 --
-string(82) "This is tao test chaunk_splita() with vaarious 'saingle quoated' endiang stringa.a"
--- Iteration 3 --
-string(127) "This is tENDINGo test chENDINGunk_splitENDING() with vENDINGarious 'sENDINGingle quoENDINGted' endiENDINGng stringENDING.ENDING"
--- Iteration 4 --
-string(118) "This is t@#$%^o test ch@#$%^unk_split@#$%^() with v@#$%^arious 's@#$%^ingle quo@#$%^ted' endi@#$%^ng string@#$%^.@#$%^"
--- Iteration 5 --
-string(91) "This is t\to test ch\tunk_split\t() with v\tarious 's\tingle quo\tted' endi\tng string\t.\t"
--- Iteration 6 --
-string(91) "This is t\no test ch\nunk_split\n() with v\narious 's\ningle quo\nted' endi\nng string\n.\n"
--- Iteration 7 --
-string(91) "This is t\ro test ch\runk_split\r() with v\rarious 's\ringle quo\rted' endi\rng string\r.\r"
--- Iteration 8 --
-string(109) "This is t\r\no test ch\r\nunk_split\r\n() with v\r\narious 's\r\ningle quo\r\nted' endi\r\nng string\r\n.\r\n"
--- Iteration 9 --
-string(91) "This is t\0o test ch\0unk_split\0() with v\0arious 's\0ingle quo\0ted' endi\0ng string\0.\0"
--- Iteration 10 --
-string(100) "This is t123o test ch123unk_split123() with v123arious 's123ingle quo123ted' endi123ng string123.123"
--- Iteration 11 --
-string(118) "This is t(MSG)o test ch(MSG)unk_split(MSG)() with v(MSG)arious 's(MSG)ingle quo(MSG)ted' endi(MSG)ng string(MSG).(MSG)"
--- Iteration 12 --
-string(226) "This is t) ending string (o test ch) ending string (unk_split) ending string (() with v) ending string (arious 's) ending string (ingle quo) ending string (ted' endi) ending string (ng string) ending string (.) ending string ("
--- Iteration 13 --
-string(217) "This is t) numbers 1234 (o test ch) numbers 1234 (unk_split) numbers 1234 (() with v) numbers 1234 (arious 's) numbers 1234 (ingle quo) numbers 1234 (ted' endi) numbers 1234 (ng string) numbers 1234 (.) numbers 1234 ("
--- Iteration 14 --
-string(226) "This is t) speci@! ch@r$ (o test ch) speci@! ch@r$ (unk_split) speci@! ch@r$ (() with v) speci@! ch@r$ (arious 's) speci@! ch@r$ (ingle quo) speci@! ch@r$ (ted' endi) speci@! ch@r$ (ng string) speci@! ch@r$ (.) speci@! ch@r$ ("
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chunk_split() : different single quoted strings as 'ending' ***
 -- Iteration 0 --
 unicode(73) "This is to test chunk_split() with various 'single quoted' ending string."
@@ -116,4 +82,4 @@ unicode(226) "This is t) ending string (o test ch) ending string (unk_split) end
 unicode(217) "This is t) numbers 1234 (o test ch) numbers 1234 (unk_split) numbers 1234 (() with v) numbers 1234 (arious 's) numbers 1234 (ingle quo) numbers 1234 (ted' endi) numbers 1234 (ng string) numbers 1234 (.) numbers 1234 ("
 -- Iteration 14 --
 unicode(226) "This is t) speci@! ch@r$ (o test ch) speci@! ch@r$ (unk_split) speci@! ch@r$ (() with v) speci@! ch@r$ (arious 's) speci@! ch@r$ (ingle quo) speci@! ch@r$ (ted' endi) speci@! ch@r$ (ng string) speci@! ch@r$ (.) speci@! ch@r$ ("
-Done
\ No newline at end of file
+Done
index 472546109826d6bd977b7fd5107d55e39cecff92..5f211c06c68cdf6076cb66308cf4627a305fb36b 100644 (file)
@@ -42,58 +42,7 @@ for($count = 0; $count < count($values); $count++) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing chunk_split() : different values for 'ending' with heredoc 'str'***
--- Iteration 1 --
-string(113) "This is heredoc string with        and 
-.It also contains
-sPeci@! ch@r$ :) & numbers 222.This is \k wrong escape char."
--- Iteration 2 --
-string(132) "This i s here doc st ring w ith     and 
-. It als o cont ains
-s Peci@!  ch@r$  :) &  number s 222. This i s \k w rong e scape  char. "
--- Iteration 3 --
-string(132) "This ias hereadoc staring waith    aand 
-.aIt alsao contaains
-saPeci@!a ch@r$a :) & anumberas 222.aThis ias \k warong eascape achar.a"
--- Iteration 4 --
-string(227) "This iENDINGs hereENDINGdoc stENDINGring wENDINGith        ENDINGand 
-.ENDINGIt alsENDINGo contENDINGains
-sENDINGPeci@!ENDING ch@r$ENDING :) & ENDINGnumberENDINGs 222.ENDINGThis iENDINGs \k wENDINGrong eENDINGscape ENDINGchar.ENDING"
--- Iteration 5 --
-string(151) "This i
-s here
-doc st
-ring w
-ith     
-and 
-.
-It als
-o cont
-ains
-s
-Peci@!
- ch@r$
- :) & 
-number
-s 222.
-This i
-s \k w
-rong e
-scape 
-char.
-"
--- Iteration 6 --
-string(170) "This i123s here123doc st123ring w123ith    123and 
-.123It als123o cont123ains
-s123Peci@!123 ch@r$123 :) & 123number123s 222.123This i123s \k w123rong e123scape 123char.123"
--- Iteration 7 --
-string(398) "This i)speci@! ch@r$(s here)speci@! ch@r$(doc st)speci@! ch@r$(ring w)speci@! ch@r$(ith    )speci@! ch@r$(and 
-.)speci@! ch@r$(It als)speci@! ch@r$(o cont)speci@! ch@r$(ains
-s)speci@! ch@r$(Peci@!)speci@! ch@r$( ch@r$)speci@! ch@r$( :) & )speci@! ch@r$(number)speci@! ch@r$(s 222.)speci@! ch@r$(This i)speci@! ch@r$(s \k w)speci@! ch@r$(rong e)speci@! ch@r$(scape )speci@! ch@r$(char.)speci@! ch@r$("
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chunk_split() : different values for 'ending' with heredoc 'str'***
 -- Iteration 1 --
 unicode(113) "This is heredoc string with       and 
index b440f56cd3adee92f07e7769f220481b030f3da2..61bbe04517c333324a1d9bf84b36c4129a234ea7 100644 (file)
@@ -83,68 +83,7 @@ foreach($heredoc_arr as $value) {
  
 echo "Done"
 ?>
---EXPECTF--
-*** Testing chunk_split() : different heredoc strings for 'ending' argument ***
--- Iteration 1 --
-string(102) "This is str to check with heredoc ending.This     contains,
-speci@! ch@r$ __with wrong \k escape char 222."
--- Iteration 2 --
-string(102) "This is str to check with heredoc ending.This     contains,
-speci@! ch@r$ __with wrong \k escape char 222."
--- Iteration 3 --
-string(113) "This is star to checka with hereadoc endinga.This contaains,
-specai@! ch@r$ a__with wroang \k escaape char 22a2.a"
--- Iteration 4 --
-string(421) "This is stThis is simple heredoc stringr to checkThis is simple heredoc string with hereThis is simple heredoc stringdoc endingThis is simple heredoc string.This contThis is simple heredoc stringains,
-specThis is simple heredoc stringi@! ch@r$ This is simple heredoc string__with wroThis is simple heredoc stringng \k escaThis is simple heredoc stringpe char 22This is simple heredoc string2.This is simple heredoc string"
--- Iteration 5 --
-string(762) "This is stThis is to check chunk_split
-function with multiline
-heredocr to checkThis is to check chunk_split
-function with multiline
-heredoc with hereThis is to check chunk_split
-function with multiline
-heredocdoc endingThis is to check chunk_split
-function with multiline
-heredoc.This   contThis is to check chunk_split
-function with multiline
-heredocains,
-specThis is to check chunk_split
-function with multiline
-heredoci@! ch@r$ This is to check chunk_split
-function with multiline
-heredoc__with wroThis is to check chunk_split
-function with multiline
-heredocng \k escaThis is to check chunk_split
-function with multiline
-heredocpe char 22This is to check chunk_split
-function with multiline
-heredoc2.This is to check chunk_split
-function with multiline
-heredoc"
--- Iteration 6 --
-string(443) "This is stThis checks with $, %, &, charsr to checkThis checks with $, %, &, chars with hereThis checks with $, %, &, charsdoc endingThis checks with $, %, &, chars.This contThis checks with $, %, &, charsains,
-specThis checks with $, %, &, charsi@! ch@r$ This checks with $, %, &, chars__with wroThis checks with $, %, &, charsng \k escaThis checks with $, %, &, charspe char 22This checks with $, %, &, chars2.This checks with $, %, &, chars"
--- Iteration 7 --
-string(487) "This is stThis checks      and 
-white space charsr to checkThis checks  and 
-white space chars with hereThis checks  and 
-white space charsdoc endingThis checks  and 
-white space chars.This contThis checks  and 
-white space charsains,
-specThis checks         and 
-white space charsi@! ch@r$ This checks  and 
-white space chars__with wroThis checks  and 
-white space charsng \k escaThis checks  and 
-white space charspe char 22This checks  and 
-white space chars2.This checks  and 
-white space chars"
--- Iteration 8 --
-string(597) "This is st"To check " in heredoc".I'm sure it'll \work!r to check"To check " in heredoc".I'm sure it'll \work! with here"To check " in heredoc".I'm sure it'll \work!doc ending"To check " in heredoc".I'm sure it'll \work!.This cont"To check " in heredoc".I'm sure it'll \work!ains,
-spec"To check " in heredoc".I'm sure it'll \work!i@! ch@r$ "To check " in heredoc".I'm sure it'll \work!__with wro"To check " in heredoc".I'm sure it'll \work!ng \k esca"To check " in heredoc".I'm sure it'll \work!pe char 22"To check " in heredoc".I'm sure it'll \work!2."To check " in heredoc".I'm sure it'll \work!"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chunk_split() : different heredoc strings for 'ending' argument ***
 -- Iteration 1 --
 unicode(102) "This is str to check with heredoc ending.This    contains,
@@ -203,4 +142,4 @@ white space chars"
 -- Iteration 8 --
 unicode(597) "This is st"To check " in heredoc".I'm sure it'll \work!r to check"To check " in heredoc".I'm sure it'll \work! with here"To check " in heredoc".I'm sure it'll \work!doc ending"To check " in heredoc".I'm sure it'll \work!.This        cont"To check " in heredoc".I'm sure it'll \work!ains,
 spec"To check " in heredoc".I'm sure it'll \work!i@! ch@r$ "To check " in heredoc".I'm sure it'll \work!__with wro"To check " in heredoc".I'm sure it'll \work!ng \k esca"To check " in heredoc".I'm sure it'll \work!pe char 22"To check " in heredoc".I'm sure it'll \work!2."To check " in heredoc".I'm sure it'll \work!"
-Done
\ No newline at end of file
+Done
index f019f0d27188c43175093fbb199abb47589d6ca2..444bbc279078dcbc0d9d709a7504897af366b33d 100644 (file)
@@ -28,20 +28,7 @@ for($count = 0; $count < count($values); $count++) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing chunk_split() : default 'chunklen' with long string 'str' ***
--- Iteration 0 --
-string(85) "1234567890123456789012345678901234567890123456789012345678901234567890123456
-78901
-"
--- Iteration 1 --
-string(217) "1234567890123456789012345678901234567890123456789012345678901234567890123456
-7890123456789012345678901234567890123456789012345678901234567890123456789012
-34567890123456789012345678901234567890123456789012345678901
-"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chunk_split() : default 'chunklen' with long string 'str' ***
 -- Iteration 0 --
 unicode(85) "1234567890123456789012345678901234567890123456789012345678901234567890123456
@@ -52,4 +39,4 @@ unicode(217) "123456789012345678901234567890123456789012345678901234567890123456
 7890123456789012345678901234567890123456789012345678901234567890123456789012
 34567890123456789012345678901234567890123456789012345678901
 "
-Done
\ No newline at end of file
+Done
index a827415b34c37387e3d198f66d45cd981f441b58..005e4df86d497b20efe90fa3689f7414d4ae615a 100644 (file)
@@ -92,97 +92,6 @@ fclose($fp);
 --EXPECTF--
 *** Testing chunk_split() : with unexpected values for 'chunklen' argument ***
 -- Iteration 1 --
-string(28) "This is ch*uklen vari*ation*"
--- Iteration 2 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 3 --
-string(26) "This is chuklen variation*"
--- Iteration 4 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 5 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 6 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 7 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 8 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 9 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 10 --
-
-Warning: chunk_split() expects parameter 2 to be long, array given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 11 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 12 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 13 --
-string(50) "T*h*i*s* *i*s* *c*h*u*k*l*e*n* *v*a*r*i*a*t*i*o*n*"
--- Iteration 14 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 15 --
-string(50) "T*h*i*s* *i*s* *c*h*u*k*l*e*n* *v*a*r*i*a*t*i*o*n*"
--- Iteration 16 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 17 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 18 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 19 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 20 --
-
-Warning: chunk_split() expects parameter 2 to be long, string given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 21 --
-
-Warning: chunk_split() expects parameter 2 to be long, object given in %schunk_split_variation2.php on line %d
-NULL
--- Iteration 22 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 23 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %schunk_split_variation2.php on line %d
-bool(false)
--- Iteration 24 --
-
-Warning: chunk_split() expects parameter 2 to be long, resource given in %schunk_split_variation2.php on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing chunk_split() : with unexpected values for 'chunklen' argument ***
--- Iteration 1 --
 unicode(28) "This is ch*uklen vari*ation*"
 -- Iteration 2 --
 
index 34ec2597644ea98e99875a9efabfdb9b2ae96e3a..6e774a7bbcb5839ffdd35985bdd709d9875dd1bc 100644 (file)
@@ -94,73 +94,6 @@ fclose($fp);
 --EXPECTF--
 *** Testing chunk_split() : unexpected values for 'ending' ***
 -- Iteration 1 --
-string(28) "This0 is 0simp0le s0trin0g.0"
--- Iteration 2 --
-string(28) "This1 is 1simp1le s1trin1g.1"
--- Iteration 3 --
-string(52) "This12345 is 12345simp12345le s12345trin12345g.12345"
--- Iteration 4 --
-string(52) "This-2345 is -2345simp-2345le s-2345trin-2345g.-2345"
--- Iteration 5 --
-string(46) "This10.5 is 10.5simp10.5le s10.5trin10.5g.10.5"
--- Iteration 6 --
-string(52) "This-10.5 is -10.5simp-10.5le s-10.5trin-10.5g.-10.5"
--- Iteration 7 --
-string(94) "This101234560000 is 101234560000simp101234560000le s101234560000trin101234560000g.101234560000"
--- Iteration 8 --
-string(100) "This1.07654321E-9 is 1.07654321E-9simp1.07654321E-9le s1.07654321E-9trin1.07654321E-9g.1.07654321E-9"
--- Iteration 9 --
-string(40) "This0.5 is 0.5simp0.5le s0.5trin0.5g.0.5"
--- Iteration 10 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(22) "This is simple string."
--- Iteration 16 --
-string(22) "This is simple string."
--- Iteration 17 --
-string(28) "This1 is 1simp1le s1trin1g.1"
--- Iteration 18 --
-string(22) "This is simple string."
--- Iteration 19 --
-string(28) "This1 is 1simp1le s1trin1g.1"
--- Iteration 20 --
-string(22) "This is simple string."
--- Iteration 21 --
-string(22) "This is simple string."
--- Iteration 22 --
-string(22) "This is simple string."
--- Iteration 23 --
-string(58) "Thisobject is objectsimpobjectle sobjecttrinobjectg.object"
--- Iteration 24 --
-string(22) "This is simple string."
--- Iteration 25 --
-string(22) "This is simple string."
--- Iteration 26 --
-
-Warning: chunk_split() expects parameter 3 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing chunk_split() : unexpected values for 'ending' ***
--- Iteration 1 --
 unicode(28) "This0 is 0simp0le s0trin0g.0"
 -- Iteration 2 --
 unicode(28) "This1 is 1simp1le s1trin1g.1"
index e7918a7414a89f36f694ea15903d37804a84bfc2..2bad34002b6277ac1168c51ef387338b30022824 100644 (file)
@@ -83,99 +83,7 @@ foreach($heredoc_arr as $str) {
  
 echo "Done"
 ?>
---EXPECTF--
-*** Testing chunk_split() : heredoc strings as 'str' argument ***
--- Iteration 1 --
-string(2) "
-"
--- Iteration 2 --
-string(2) "
-"
--- Iteration 3 --
-string(3) "a
-"
--- Iteration 4 --
-string(45) "This
- is 
-simp
-le h
-ered
-oc s
-trin
-g
-"
--- Iteration 5 --
-string(90) "This
- is 
-to c
-heck
- chu
-nk_s
-plit
-
-fun
-ctio
-n wi
-th m
-ulti
-line
-
-her
-edoc
-"
--- Iteration 6 --
-string(59) "This
- che
-cks 
-here
-doc 
-with
- $, 
-%, &
-, ch
-ars
-"
--- Iteration 7 --
-string(59) "This
- che
-cks    
- chu
-nk_s
-plit
-()
-E
-scap
-e
-ch
-ars
-"
--- Iteration 8 --
-string(117) ""To 
-chec
-k " 
-in h
-ered
-oc"
-
-I'm 
-sure
- it'
-ll w
-ork 
-also
- wit
-h \
-
-whic
-h is
- sin
-gle 
-slas
-h
-"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chunk_split() : heredoc strings as 'str' argument ***
 -- Iteration 1 --
 unicode(2) "
index f8e84a9ca4766124d3fa8a34d37c804bde509484..2c825390eb1d37edd597797dd4b7ec7f7ea58eaa 100644 (file)
Binary files a/ext/standard/tests/strings/chunk_split_variation5.phpt and b/ext/standard/tests/strings/chunk_split_variation5.phpt differ
index f1cbc2d647f513547df1ebcfef47b0a73f7610c3..e607cef88364fe4dbffb8d6b8d9757e371971e00 100644 (file)
@@ -44,37 +44,7 @@ for($count = 0;$count < count($values);$count++) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing chunk_split() : with different single quoted 'str' ***
--- Iteration 0 --
-string(3) "):("
--- Iteration 1 --
-string(4) " ):("
--- Iteration 2 --
-string(30) "This is):( simple):( string):("
--- Iteration 3 --
-string(35) "It's st):(ring wi):(th quot):(es):("
--- Iteration 4 --
-string(46) "This co):(ntains ):(@ # $ %):( ^ & ch):(ars):("
--- Iteration 5 --
-string(59) "This st):(ring\tc):(ontains):(\rwhite):( space\):(nchars):("
--- Iteration 6 --
-string(47) "This is):( string):( with 1):(234 num):(bers):("
--- Iteration 7 --
-string(68) "This is):( string):( with \):(0 and "):(.chr(0)):(."null ):(chars):("
--- Iteration 8 --
-string(74) "This is):( string):( with  ):(  multi):(ple    ):(     sp):(ace cha):(r):("
--- Iteration 9 --
-string(46) "This is):( to che):(ck stri):(ng with):( ()):("
--- Iteration 10 --
-string(44) "     Te):(sting w):(ith    ):(Tab    ):( ):("
--- Iteration 11 --
-string(55) "Testing):( invali):(d \k an):(d \m es):(cape ch):(ar):("
--- Iteration 12 --
-string(46) "This is):( to che):(ck with):( \n and):( \t):("
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing chunk_split() : with different single quoted 'str' ***
 -- Iteration 0 --
 unicode(3) "):("
@@ -102,4 +72,4 @@ unicode(44) "     Te):(sting w):(ith    ):(Tab    ):( ):("
 unicode(55) "Testing):( invali):(d \k an):(d \m es):(cape ch):(ar):("
 -- Iteration 12 --
 unicode(46) "This is):( to che):(ck with):( \n and):( \t):("
-Done
\ No newline at end of file
+Done
index 1b1afd3f8bed37719c5c6fcc3712bb082deb2983..55f6deb3032cb66c41a332432104b4dec6960830 100644 (file)
Binary files a/ext/standard/tests/strings/chunk_split_variation7.phpt and b/ext/standard/tests/strings/chunk_split_variation7.phpt differ
index 2d82c4945c67b4f94b94748b4c4911d0fe39f6f9..8ee5b80a5d6ff1653b9918854c2a5d521fa383e8 100644 (file)
@@ -51,46 +51,6 @@ echo "Done"
 *** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***
 -- Iteration 1 --
 
-Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-string(504) "T:::h:::i:::s:::':::s::: :::h:::e:::r:::e:::d:::o:::c::: :::s:::t:::r:::i:::n:::g::: :::w:::i:::t:::h::: :::      ::: :::a:::n:::d::: :::
-::: :::w:::h:::i:::t:::e::: :::s:::p:::a:::c:::e::: :::c:::h:::a:::r:::.:::
-:::I:::t::: :::h:::a:::s::: :::_:::s:::p:::e:::c:::i:::@:::l::: :::c:::h:::@:::r:::$::: :::2:::2:::2:::2::: :::!:::!:::!:::N:::o:::w::: :::\:::k::: :::a:::s::: :::e:::s:::c:::a:::p:::e::: :::c:::h:::a:::r::: :::t:::o::: :::t:::e:::s:::t:::
-:::c:::h:::u:::n:::k:::_:::s:::p:::l:::i:::t:::(:::):::"
--- Iteration 3 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-string(129) "This's heredoc string with         and 
- white space char.
-It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
-chunk_split():::"
--- Iteration 5 --
-string(141) "This's heredoc string with:::      and 
- white space char.:::
-It has _speci@l ch@r$ 222:::2 !!!Now \k as escape char::: to test
-chunk_split():::"
--- Iteration 6 --
-string(129) "This's heredoc string with         and 
- white space char.
-It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
-chunk_split():::"
--- Iteration 7 --
-string(129) "This's heredoc string with         and 
- white space char.
-It has _speci@l ch@r$ 2222 !!!Now \k as escape char to test
-chunk_split():::"
--- Iteration 8 --
-
-Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing chunk_split() : different 'chunklen' with heredoc 'str' ***
--- Iteration 1 --
-
 Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
 bool(false)
 -- Iteration 2 --
@@ -127,4 +87,3 @@ chunk_split():::"
 Warning: chunk_split(): Chunk length should be greater than zero in %s on line %d
 bool(false)
 Done
-
index 57441716567859c17c3767e4f2f85a8d83e5a517..ee6b85c185c243d51edf11796ecdfb7e69d1dbdb 100644 (file)
Binary files a/ext/standard/tests/strings/chunk_split_variation9.phpt and b/ext/standard/tests/strings/chunk_split_variation9.phpt differ
index 95cf5ae0f458e7c3183a771419cf52e8ac176307..9bc56c95475995b15f4e4657017151fb4f8234c3 100644 (file)
@@ -19,36 +19,7 @@ var_dump(convert_cyr_string((binary)"", "d", "i"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: convert_cyr_string() expects exactly 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: convert_cyr_string() expects exactly 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: convert_cyr_string() expects exactly 3 parameters, 2 given in %s on line %d
-NULL
-
-Warning: convert_cyr_string(): Unknown source charset:  in %s on line %d
-
-Warning: convert_cyr_string(): Unknown destination charset:  in %s on line %d
-string(0) ""
-
-Warning: convert_cyr_string() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: convert_cyr_string(): Unknown source charset: q in %s on line %d
-string(6) "[[[[[["
-string(6) "[[[[[["
-string(6) "[[[[[["
-string(6) "[[[[[["
-string(6) "[[[[[["
-
-Warning: convert_cyr_string(): Unknown destination charset: q in %s on line %d
-string(6) "[[[[[["
-string(0) ""
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: convert_cyr_string() expects exactly 3 parameters, 0 given in %s on line %d
 NULL
 
index 2d510e23b62307c09925dbe534c8176c191fdc48..cc04ee0dd47893e7e656c2d807e68e2d50f261cd 100644 (file)
@@ -16,34 +16,7 @@ echo $a = count_chars($s, 3), "\n";
 var_dump((int) strlen(count_chars($s, 4)) == 256-strlen($a));
 
 ?>
---EXPECT--
-000000000000000000000000000000001200000000000010000000000000000000000000000000000000000000000000003000120111121083202362220000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-Array
-(
-    [32] => 12
-    [45] => 1
-    [97] => 3
-    [101] => 12
-    [103] => 1
-    [104] => 1
-    [105] => 1
-    [106] => 1
-    [107] => 2
-    [108] => 1
-    [110] => 8
-    [111] => 3
-    [112] => 2
-    [114] => 2
-    [115] => 3
-    [116] => 6
-    [117] => 2
-    [118] => 2
-    [119] => 2
-)
-000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
- -aeghijklnoprstuvw
-bool(true)
---UEXPECTF--
+--EXPECTF--
 Warning: count_chars(): Only mode=1 is supported with Unicode strings in %s on line %d
 
 Warning: implode(): Argument must be an array in %s on line %d
index 8315cc102f486224cc26678513b0d5674e961ee0..61dc81b37bda38eda52973da302d8a43e3f01185 100644 (file)
@@ -34,13 +34,7 @@ printf("%u\n", crc32($str) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing crc32() : basic functionality ***
-bool(true)
-256895812
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing crc32() : basic functionality ***
 bool(true)
 256895812
index a499ea0ada07ff18865e95a2d1916da0f488aeae..45378204cd421f3236e74b0c4ee1a7db643a7bdf 100644 (file)
@@ -45,17 +45,3 @@ NULL
 Warning: crc32() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 Done
-
---UEXPECTF--
-*** Testing crc32() : error conditions ***
-
--- Testing crc32() function with Zero arguments --
-
-Warning: crc32() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing crc32() function with more than expected no. of arguments --
-
-Warning: crc32() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-Done
index e72734cf37d8c85537d1975400f23db619fe436c..9f52045b7a4345a926016bdd2caaad44da457d10 100644 (file)
@@ -134,103 +134,6 @@ int(-2036403827)
 
 -- Iteration 10 --
 
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 11 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 12 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 13 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 14 --
-
-Warning: crc32() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
--- Iteration 15 --
-int(0)
-
--- Iteration 16 --
-int(0)
-
--- Iteration 17 --
-int(-2082672713)
-
--- Iteration 18 --
-int(0)
-
--- Iteration 19 --
-int(-2082672713)
-
--- Iteration 20 --
-int(0)
-
--- Iteration 21 --
-int(0)
-
--- Iteration 22 --
-int(0)
-
--- Iteration 23 --
-int(-1465013268)
-
--- Iteration 24 --
-int(0)
-
--- Iteration 25 --
-int(0)
-
--- Iteration 26 --
-
-Warning: crc32() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing crc32() : with unexpected values for str argument ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
--- Iteration 1 --
-int(-186917087)
-
--- Iteration 2 --
-int(-2082672713)
-
--- Iteration 3 --
-int(-873121252)
-
--- Iteration 4 --
-int(1860518047)
-
--- Iteration 5 --
-int(269248583)
-
--- Iteration 6 --
-int(-834950157)
-
--- Iteration 7 --
-int(-965354630)
-
--- Iteration 8 --
-int(1376932222)
-
--- Iteration 9 --
-int(-2036403827)
-
--- Iteration 10 --
-
 Warning: crc32() expects parameter 1 to be binary string, array given in %s on line %d
 NULL
 
index 12db012ec3f4ed42516deeb9ce6b3e19254d6d85..d7b0794bfdbe77b43815e8de089c84e75bed7947 100644 (file)
@@ -72,83 +72,7 @@ foreach($string_array as $str) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing crc32() : with different strings in single quotes ***
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(-378745019)
-
--- Iteration 3 --
-int(222957957)
-
--- Iteration 4 --
-int(-2015000997)
-
--- Iteration 5 --
-int(1234261835)
-
--- Iteration 6 --
-int(-1867296214)
-
--- Iteration 7 --
-int(1048577080)
-
--- Iteration 8 --
-int(2129739710)
-
--- Iteration 9 --
-int(-1633247628)
-
--- Iteration 10 --
-int(135755572)
-
--- Iteration 11 --
-int(27384015)
-
--- Iteration 12 --
-int(-497244052)
-
--- Iteration 13 --
-int(-2065897232)
-
--- Iteration 14 --
-int(243585859)
-
--- Iteration 15 --
-int(-856440615)
-
--- Iteration 16 --
-int(647088397)
-
--- Iteration 17 --
-int(523630053)
-
--- Iteration 18 --
-int(-2062229676)
-
--- Iteration 19 --
-int(1169918910)
-
--- Iteration 20 --
-int(-618551732)
-
--- Iteration 21 --
-int(-1828940657)
-
--- Iteration 22 --
-int(-1654468652)
-
--- Iteration 23 --
-int(-1648442217)
-
--- Iteration 24 --
-int(1431761713)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing crc32() : with different strings in single quotes ***
 
 -- Iteration 1 --
index 40db82f6602bb7601c78bd05f74b35487da220a6..82c41f30874e7cdf3b9c96ea5359b5e9fbe46d50 100644 (file)
@@ -151,83 +151,3 @@ int(0)
 -- Iteration 24 --
 int(1431761713)
 Done
-
---UEXPECTF--
-*** Testing crc32() : with different strings in double quotes ***
-
-Notice: Undefined variable: hello in %s on line %d
-
-Notice: Undefined variable: world in %s on line %d
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(-378745019)
-
--- Iteration 3 --
-int(222957957)
-
--- Iteration 4 --
-int(-2015000997)
-
--- Iteration 5 --
-int(1234261835)
-
--- Iteration 6 --
-int(-1867296214)
-
--- Iteration 7 --
-int(1048577080)
-
--- Iteration 8 --
-int(2129739710)
-
--- Iteration 9 --
-int(-1633247628)
-
--- Iteration 10 --
-int(1191242624)
-
--- Iteration 11 --
-int(603128807)
-
--- Iteration 12 --
-int(-525789576)
-
--- Iteration 13 --
-int(770262395)
-
--- Iteration 14 --
-int(243585859)
-
--- Iteration 15 --
-int(-986324846)
-
--- Iteration 16 --
-int(-1417857067)
-
--- Iteration 17 --
-int(523630053)
-
--- Iteration 18 --
-int(-503915034)
-
--- Iteration 19 --
-int(-254912432)
-
--- Iteration 20 --
-int(-1581578467)
-
--- Iteration 21 --
-int(-1828940657)
-
--- Iteration 22 --
-int(-1654468652)
-
--- Iteration 23 --
-int(0)
-
--- Iteration 24 --
-int(1431761713)
-Done
index aa3990fec88fc7a15aa949d3c95bcb9c8a11f794..ffab0ca908df279951b275201c02980e9a63899f 100644 (file)
@@ -88,35 +88,7 @@ foreach($heredoc_strings as $str) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing crc32() : with different heredoc strings ***
-
--- Iteration 1 --
-int(0)
-
--- Iteration 2 --
-int(1541608299)
-
--- Iteration 3 --
-int(1588851550)
-
--- Iteration 4 --
-int(-1726108239)
-
--- Iteration 5 --
-int(-1847303891)
-
--- Iteration 6 --
-int(-1260053120)
-
--- Iteration 7 --
-int(-1718044186)
-
--- Iteration 8 --
-int(1646793751)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing crc32() : with different heredoc strings ***
 
 -- Iteration 1 --
index 6190aca20e260c3f03a3ecdc584146eaa02a146f..168149ff185420748a2982213535cb3066b6ff28 100644 (file)
@@ -63,96 +63,6 @@ echo "Done\n";
 --EXPECTREGEX--
 \*\*\* Testing basic operations \*\*\*
 
---Iteration 1 --
-string\(1\) "."
-
---Iteration 2 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 3 --
-string\(3\) "foo"
-
---Iteration 4 --
-string\(1\) "(\\|\/)"
-
---Iteration 5 --
-string\(1\) "."
-
---Iteration 6 --
-string\(1\) "(\\|\/)"
-
---Iteration 7 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 8 --
-string\(3\) "foo"
-
---Iteration 9 --
-string\(1\) "(\\|\/)"
-
---Iteration 10 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 11 --
-string\(3\) "foo"
-
---Iteration 12 --
-string\(1\) "."
-
---Iteration 13 --
-string\(1\) "."
-
---Iteration 14 --
-string\(1\) "(\\|\/)"
-
---Iteration 15 --
-string\(1\) "(\\|\/)"
-
---Iteration 16 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 17 --
-string\(3\) "foo"
-
---Iteration 18 --
-string\(1\) "(\\|\/)"
-
---Iteration 19 --
-string\(1\) "(\\|\/)"
-
---Iteration 20 --
-string\(1\) "."
-
---Iteration 21 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 22 --
-string\(1\) "."
-
---Iteration 23 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 24 --
-string\(3\) "foo"
-
---Iteration 25 --
-string\(3\) "foo"
-
---Iteration 26 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 27 --
-string\(4\) "(\\|\/)foo"
-
---Iteration 28 --
-string\(3\) "foo"
-
---Iteration 29 --
-string\(8\) "(\\|\/)foo(\\|\/)bar"
-Done
---UEXPECTREGEX--
-\*\*\* Testing basic operations \*\*\*
-
 --Iteration 1 --
 unicode\(1\) "."
 
index 8396b34d5575e98fc96198d26cabf96d17ee917c..bf6310283b47bae577328c6f458b40aebae5072b 100644 (file)
@@ -23,12 +23,3 @@ NULL
 Warning: dirname() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing error conditions ***
-
-Warning: dirname() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: dirname() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-Done
index d81acf61ec1504d1aaa19aa866d08251b8b92a5e..3a41881150ce18d4998f602b93ca71964b3022a5 100644 (file)
@@ -69,81 +69,6 @@ echo "Done\n";
 --EXPECTREGEX--
 \*\*\* Testing possible variations in path \*\*\*
 
---Iteration 1 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 2 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 3 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 4 --
-string\(11\) "~(\\|\/)home(\\|\/)user"
-
---Iteration 5 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 6 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 7 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 8 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 9 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 10 --
-string\(19\) "hostname:(\\|\/)home(\\|\/)user"
-
---Iteration 11 --
-string\(1\) "."
-
---Iteration 12 --
-string\(1\) "(\\|\/)"
-
---Iteration 13 --
-string\(1\) "(\\|\/)"
-
---Iteration 14 --
-string\(1\) "."
-
---Iteration 15 --
-string\(2\) "10"
-
---Iteration 16 --
-string\(1\) "."
-
---Iteration 17 --
-string\(1\) "."
-
---Iteration 18 --
-string\(1\) "."
-
---Iteration 19 --
-string\(1\) "."
-
---Iteration 20 --
-string\(1\) "."
-
---Iteration 21 --
-string\(0\) ""
-
---Iteration 22 --
-string\(0\) ""
-
---Iteration 23 --
-string\(0\) ""
-
---Iteration 24 --
-string\(0\) ""
-Done
---UEXPECTREGEX--
-\*\*\* Testing possible variations in path \*\*\*
-
 --Iteration 1 --
 unicode\(11\) "~(\\|\/)home(\\|\/)user"
 
index 488ce2ff88dcf0848aee030c80a9f143082369f7..44f5846f053ed5129a54be43bf46eca0abe52ab8 100644 (file)
@@ -30,137 +30,7 @@ var_dump(explode(":","a lazy dog:jumps:over:",-40000000000000));
 var_dump(explode(":^:","a lazy dog:^:jumps::over:^:",-1));
 var_dump(explode(":^:","a lazy dog:^:jumps::over:^:",-2));
 ?>
---EXPECTF--
-array (
-  0 => 'a',
-  1 => 'b' . "\0" . 'd',
-  2 => 'f',
-  3 => '1',
-  4 => 'd',
-)d6bee42a771449205344c0938ad4f035
-bool(false)
-bool(false)
-bool(false)
-array(1) {
-  [0]=>
-  string(0) ""
-}
-array(2) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(0) ""
-}
-array(1) {
-  [0]=>
-  string(0) ""
-}
-bool(false)
-array(1) {
-  [0]=>
-  string(3) "acb"
-}
-array(1) {
-  [0]=>
-  string(11) "otherstring"
-}
-array(7) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(0) ""
-  [3]=>
-  string(0) ""
-  [4]=>
-  string(0) ""
-  [5]=>
-  string(0) ""
-  [6]=>
-  string(0) ""
-}
-array(1) {
-  [0]=>
-  string(60) "-=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=--=48=-"
-}
-array(21) {
-  [0]=>
-  string(1) "-"
-  [1]=>
-  string(2) "48"
-  [2]=>
-  string(2) "--"
-  [3]=>
-  string(2) "48"
-  [4]=>
-  string(2) "--"
-  [5]=>
-  string(2) "48"
-  [6]=>
-  string(2) "--"
-  [7]=>
-  string(2) "48"
-  [8]=>
-  string(2) "--"
-  [9]=>
-  string(2) "48"
-  [10]=>
-  string(2) "--"
-  [11]=>
-  string(2) "48"
-  [12]=>
-  string(2) "--"
-  [13]=>
-  string(2) "48"
-  [14]=>
-  string(2) "--"
-  [15]=>
-  string(2) "48"
-  [16]=>
-  string(2) "--"
-  [17]=>
-  string(2) "48"
-  [18]=>
-  string(2) "--"
-  [19]=>
-  string(2) "48"
-  [20]=>
-  string(1) "-"
-}
-array(3) {
-  [0]=>
-  string(10) "a lazy dog"
-  [1]=>
-  string(5) "jumps"
-  [2]=>
-  string(4) "over"
-}
-array(2) {
-  [0]=>
-  string(10) "a lazy dog"
-  [1]=>
-  string(5) "jumps"
-}
-array(1) {
-  [0]=>
-  string(10) "a lazy dog"
-}
-array(0) {
-}
-array(0) {
-}
-array(2) {
-  [0]=>
-  string(10) "a lazy dog"
-  [1]=>
-  string(11) "jumps::over"
-}
-array(1) {
-  [0]=>
-  string(10) "a lazy dog"
-}
---UEXPECTF--
+--EXPECT--
 array (
   0 => 'a',
   1 => 'b' . "\0" . 'd',
index 93b1ccb4b337f45e7c6e627e264df3281a06f00b..370f3b1bb3eedf974cffcd7985400f31c89b085a 100644 (file)
@@ -110,429 +110,6 @@ bool(false)
 Warning: explode(): Empty delimiter in %s on line %d
 bool(false)
 
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
--- Iteration 3 --
-array(1) {
-  [0]=>
-  string(10) "1234NULL23"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(10) "1234NULL23"
-  [1]=>
-  string(43) "00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 4 --
-array(5) {
-  [0]=>
-  string(14) "1234NULL23abcd"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(0) ""
-  [3]=>
-  string(0) ""
-  [4]=>
-  string(0) ""
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(14) "1234NULL23abcd"
-  [1]=>
-  string(42) "0000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 5 --
-array(5) {
-  [0]=>
-  string(14) "1234NULL23abcd"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(0) ""
-  [3]=>
-  string(0) ""
-  [4]=>
-  string(0) ""
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(14) "1234NULL23abcd"
-  [1]=>
-  string(42) "0000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 6 --
-array(5) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(28) "234NULL23abcd00000TRUEFALSE-"
-  [2]=>
-  string(0) ""
-  [3]=>
-  string(12) ".234444true-"
-  [4]=>
-  string(0) ""
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  string(56) "234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 7 --
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
--- Iteration 8 --
-array(2) {
-  [0]=>
-  string(28) "1234NULL23abcd00000TRUEFALSE"
-  [1]=>
-  string(12) "1.234444true"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(28) "1234NULL23abcd00000TRUEFALSE"
-  [1]=>
-  string(27) "1.234444true-11.24%PHP%ZEND"
-}
--- Iteration 9 --
-array(1) {
-  [0]=>
-  string(28) "1234NULL23abcd00000TRUEFALSE"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(28) "1234NULL23abcd00000TRUEFALSE"
-  [1]=>
-  string(23) "4444true-11.24%PHP%ZEND"
-}
--- Iteration 10 --
-array(6) {
-  [0]=>
-  string(3) "123"
-  [1]=>
-  string(30) "NULL23abcd00000TRUEFALSE-11.23"
-  [2]=>
-  string(0) ""
-  [3]=>
-  string(0) ""
-  [4]=>
-  string(0) ""
-  [5]=>
-  string(9) "true-11.2"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(3) "123"
-  [1]=>
-  string(53) "NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
--- Iteration 11 --
-array(2) {
-  [0]=>
-  string(48) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24"
-  [1]=>
-  string(3) "PHP"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(1) {
-  [0]=>
-  string(57) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24%PHP%ZEND"
-}
-array(2) {
-  [0]=>
-  string(48) "1234NULL23abcd00000TRUEFALSE-11.234444true-11.24"
-  [1]=>
-  string(8) "PHP%ZEND"
-}
-
-*** Testing explode() with miscelleneous input arguments ***
-
--- Passing positive values of Limit to explode() --
-array(2) {
-  [0]=>
-  string(3) "mon"
-  [1]=>
-  string(31) "tues::wed::thurs::fri::sat::sun"
-}
-
--- Passing limit values 0 and 1 to explode() --
-array(1) {
-  [0]=>
-  string(29) "Name:Phone:Address:City:State"
-}
-array(1) {
-  [0]=>
-  string(29) "Name:Phone:Address:City:State"
-}
-
-*** Testing explode() for maximum limit of string with Limit = -1 ***
-array(51) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(1) "2"
-  [2]=>
-  string(1) "3"
-  [3]=>
-  string(1) "4"
-  [4]=>
-  string(1) "5"
-  [5]=>
-  string(1) "6"
-  [6]=>
-  string(1) "7"
-  [7]=>
-  string(1) "7"
-  [8]=>
-  string(1) "5"
-  [9]=>
-  string(1) "6"
-  [10]=>
-  string(1) "7"
-  [11]=>
-  string(1) "3"
-  [12]=>
-  string(1) "4"
-  [13]=>
-  string(1) "5"
-  [14]=>
-  string(1) "2"
-  [15]=>
-  string(1) "8"
-  [16]=>
-  string(1) "9"
-  [17]=>
-  string(1) "0"
-  [18]=>
-  string(1) "5"
-  [19]=>
-  string(1) "5"
-  [20]=>
-  string(1) "5"
-  [21]=>
-  string(1) "5"
-  [22]=>
-  string(1) "5"
-  [23]=>
-  string(1) "5"
-  [24]=>
-  string(1) "5"
-  [25]=>
-  string(1) "5"
-  [26]=>
-  string(1) "5"
-  [27]=>
-  string(1) "5"
-  [28]=>
-  string(1) "5"
-  [29]=>
-  string(1) "5"
-  [30]=>
-  string(2) "55"
-  [31]=>
-  string(1) "5"
-  [32]=>
-  string(1) "5"
-  [33]=>
-  string(2) "5%"
-  [34]=>
-  string(1) "%"
-  [35]=>
-  string(1) "%"
-  [36]=>
-  string(1) "%"
-  [37]=>
-  string(1) "5"
-  [38]=>
-  string(1) "5"
-  [39]=>
-  string(1) "5"
-  [40]=>
-  string(1) "%"
-  [41]=>
-  string(1) "%"
-  [42]=>
-  string(1) "5"
-  [43]=>
-  string(1) "5"
-  [44]=>
-  string(1) "5"
-  [45]=>
-  string(1) "5"
-  [46]=>
-  string(2) "5%"
-  [47]=>
-  string(1) "%"
-  [48]=>
-  string(1) "%"
-  [49]=>
-  string(2) "55"
-  [50]=>
-  string(1) "1"
-}
-
-*** Testing explode() with string variations as input argument ***
-
--- Testing string with escape characters --
-array(2) {
-  [0]=>
-  string(4) "1234"
-  [1]=>
-  string(10) "5678
-       9100"
-}
-array(4) {
-  [0]=>
-  string(4) "1234"
-  [1]=>
-  string(4) "abcd"
-  [2]=>
-  string(4) "5678"
-  [3]=>
-  string(4) "rstu"
-}
-
--- Testing string with embedded NULL --
-array(4) {
-  [0]=>
-  string(4) "abcd"
-  [1]=>
-  string(5) "n1234"
-  [2]=>
-  string(5) "05678"
-  [3]=>
-  string(12) "00efgh\xijkl"
-}
-array(7) {
-  [0]=>
-  string(4) "abcd"
-  [1]=>
-  string(4) "efgh"
-  [2]=>
-  string(4) "ijkl"
-  [3]=>
-  string(4) "mnop"
-  [4]=>
-  string(5) "0qrst"
-  [5]=>
-  string(4) "uvwx"
-  [6]=>
-  string(2) "yz"
-}
-
-*** Testing explode() with objects ***
-array(2) {
-  [0]=>
-  string(1) "O"
-  [1]=>
-  string(4) "ject"
-}
-
-*** Testing error conditions ***
-
-Warning: explode() expects at most 3 parameters, 4 given in %s on line %d
-NULL
-
-Warning: explode() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing explode() for basic operations ***
--- Iteration 1 --
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
--- Iteration 2 --
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
-Warning: explode(): Empty delimiter in %s on line %d
-bool(false)
-
 Warning: explode(): Empty delimiter in %s on line %d
 bool(false)
 -- Iteration 3 --
index f08d5cbee7945788255352d7b4b1500dc6f389ae..3a935107a7c8dd41eefe5062689f242bdcc929c2 100644 (file)
@@ -38,7 +38,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() with floats ***
 
 -- Iteration 1 --
index fb3ab6c14a83740066473a609e5e60f1e953063d..49e62e2b7445d175ba1ccefb4face6a3aab3f112 100644 (file)
@@ -38,7 +38,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() with integers ***
 
 -- Iteration 1 --
index c312c49d6724e499a7fc26fef08c1df54becf79f..b4860879b06fd2a8b5c0538993b5147c2630cedd 100644 (file)
@@ -33,7 +33,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() with binary ***
 
 0
index 448f5281d5b6ef7781b2cc8859de2c997a191286..ba8e525c3f0f8c07cd6d1d7e2adc397a856df5b7 100644 (file)
@@ -33,7 +33,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() with binary ***
 
 0
index 75636ac98e2f653ebc4e0b9a0cd5665c714fd210..0967b77cd8ccb2aaf3c4c73dff48bec74fe172c9 100644 (file)
@@ -32,7 +32,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for scientific type ***
 
 0.000000e+0
index d7a327857725885ebf05f72e1715309c5e6753d9..8a66fb9fb4c050aab88ac113b06103a4104b4062 100644 (file)
@@ -33,7 +33,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for unsigned integers ***
 
 0
index d68683e3ee61380be0bbedf394cb40ad275ea327..fe4cc91dd71d62194a11c37118d4cc4032f34d0b 100644 (file)
@@ -33,7 +33,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for unsigned integers ***
 
 0
index cb09084b73eda63274a8b537f28aa012fe8aefb0..16d39bbde327e45fefc681b85954d37c3df750b5 100644 (file)
@@ -33,7 +33,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for octals ***
 
 0
index c8481e9fd25f242f36874aa20d26188fe0ac3fa4..55cd946a3b71f828bab30c71939f588f22f04f8f 100644 (file)
@@ -33,7 +33,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for octals ***
 
 0
index f91e7a1a99b19833dbfac9ba990bd305f27f0808..d2187c7ccdee4ea8b1ba6037048c33ce2270829f 100644 (file)
@@ -34,7 +34,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for hexadecimals ***
 
 0
index f6195102272f7628da21d179c5efb0daef29edce..9d326a91c11c02e9f9609e92bef6bc30bd88aa32 100644 (file)
@@ -34,7 +34,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for hexadecimals ***
 
 0
index 40f36bb5f0fc86065fcdbe1eab32b55b2176cee3..e36c0e8c0f2aa75c38ee16310fe16666fd66caf0 100644 (file)
@@ -38,7 +38,7 @@ echo "\nDone";
 unlink($data_file);
 
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing fprintf() for string types ***
 
 -- Iteration 1 --
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic1-win32.phpt b/ext/standard/tests/strings/get_html_translation_table_basic1-win32.phpt
deleted file mode 100644 (file)
index 20392e8..0000000
+++ /dev/null
@@ -1,922 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - with default args
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
-  die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
-  die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252"); 
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all possible optional arguments
-echo "-- with table = HTML_ENTITIES --\n";
-$table = HTML_ENTITIES;
-var_dump( get_html_translation_table($table) );
-
-echo "-- with table = HTML_SPECIALCHARS --\n";
-$table = HTML_SPECIALCHARS; 
-var_dump( get_html_translation_table($table) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_ENTITIES --
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_ENTITIES --
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic1.phpt b/ext/standard/tests/strings/get_html_translation_table_basic1.phpt
deleted file mode 100644 (file)
index 4ce1493..0000000
+++ /dev/null
@@ -1,922 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - with default args
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
-  die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
-  die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all possible optional arguments
-echo "-- with table = HTML_ENTITIES --\n";
-$table = HTML_ENTITIES;
-var_dump( get_html_translation_table($table) );
-
-echo "-- with table = HTML_SPECIALCHARS --\n";
-$table = HTML_SPECIALCHARS; 
-var_dump( get_html_translation_table($table) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_ENTITIES --
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_ENTITIES --
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic2-win32.phpt b/ext/standard/tests/strings/get_html_translation_table_basic2-win32.phpt
deleted file mode 100644 (file)
index 200df23..0000000
+++ /dev/null
@@ -1,1734 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_COMPAT, ENT_QUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
-  die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
-  die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252"); 
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all arguments
-// $table as HTML_ENTITIES and different quote style
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(101) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["'"]=>
-  string(5) "&#39;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(312) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"'"]=>
-  unicode(5) "&#39;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic2.phpt b/ext/standard/tests/strings/get_html_translation_table_basic2.phpt
deleted file mode 100644 (file)
index 450312a..0000000
+++ /dev/null
@@ -1,1734 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_COMPAT, ENT_QUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
-  die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
-  die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// Calling get_html_translation_table() with default arguments
-echo "-- with default arguments --\n";
-var_dump( get_html_translation_table() );
-
-// Calling get_html_translation_table() with all arguments
-// $table as HTML_ENTITIES and different quote style
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(101) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["'"]=>
-  string(5) "&#39;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with default arguments --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_COMPAT --
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_ENTITIES & quote_style = ENT_QUOTES --
-array(312) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"'"]=>
-  unicode(5) "&#39;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic3-win32.phpt b/ext/standard/tests/strings/get_html_translation_table_basic3-win32.phpt
deleted file mode 100644 (file)
index 6f7575a..0000000
+++ /dev/null
@@ -1,867 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_NOQUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
-  die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
-  die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252"); 
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(99) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(310) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic3.phpt b/ext/standard/tests/strings/get_html_translation_table_basic3.phpt
deleted file mode 100644 (file)
index 72ed764..0000000
+++ /dev/null
@@ -1,867 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_ENTITIES & quote_style(ENT_NOQUOTES)
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
-  die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
-  die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* Test get_html_translation_table() when table is specified as HTML_ENTITIES */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-echo "-- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(99) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_ENTITIES & quote_style = ENT_NOQUOTES --
-array(310) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic4-win32.phpt b/ext/standard/tests/strings/get_html_translation_table_basic4-win32.phpt
deleted file mode 100644 (file)
index d2d65dd..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_SPECIALCHARS
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
-  die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
-  die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* test get_html_translation_table() when $table argument is specified as HTML_SPECIALCHARS */
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252"); 
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// $table as HTML_SEPCIALCHARS and different quote style
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n";
-$table = HTML_SPECIALCHARS;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --\n";
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
-  ["""]=>
-  string(6) "&quot;"
-  ["'"]=>
-  string(5) "&#39;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECT--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"'"]=>
-  unicode(5) "&#39;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_basic4.phpt b/ext/standard/tests/strings/get_html_translation_table_basic4.phpt
deleted file mode 100644 (file)
index 69df17b..0000000
+++ /dev/null
@@ -1,117 +0,0 @@
---TEST--
-Test get_html_translation_table() function : basic functionality - table as HTML_SPECIALCHARS
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
-  die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
-  die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/* test get_html_translation_table() when $table argument is specified as HTML_SPECIALCHARS */
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : basic functionality ***\n";
-
-// $table as HTML_SEPCIALCHARS and different quote style
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --\n";
-$table = HTML_SPECIALCHARS;
-$quote_style = ENT_COMPAT;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --\n";
-$quote_style = ENT_QUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "-- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --\n";
-$quote_style = ENT_NOQUOTES;
-var_dump( get_html_translation_table($table, $quote_style) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
-  ["""]=>
-  string(6) "&quot;"
-  ["'"]=>
-  string(5) "&#39;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECT--
-*** Testing get_html_translation_table() : basic functionality ***
--- with table = HTML_SPECIALCHARS & quote_style = ENT_COMPAT --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_QUOTE --
-array(5) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"'"]=>
-  unicode(5) "&#39;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- with table = HTML_SPECIALCHARS & quote_style = ENT_NOQUOTE --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_error.phpt b/ext/standard/tests/strings/get_html_translation_table_error.phpt
deleted file mode 100644 (file)
index fd4e3a2..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
---TEST--
-Test get_html_translation_table() function : error conditions 
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-echo "*** Testing get_html_translation_table() : error conditions ***\n";
-
-// More than expected number of arguments
-echo "\n-- Testing get_html_translation_table() function with more than expected no. of arguments --\n";
-$table = HTML_ENTITIES;
-$quote_style = ENT_COMPAT;
-$extra_arg = 10;
-
-var_dump( get_html_translation_table($table, $quote_style, $extra_arg) );
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : error conditions ***
-
--- Testing get_html_translation_table() function with more than expected no. of arguments --
-
-Warning: get_html_translation_table() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : error conditions ***
-
--- Testing get_html_translation_table() function with more than expected no. of arguments --
-
-Warning: get_html_translation_table() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_variation1-win32.phpt b/ext/standard/tests/strings/get_html_translation_table_variation1-win32.phpt
deleted file mode 100644 (file)
index 926ddba..0000000
+++ /dev/null
@@ -1,2127 +0,0 @@
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected table values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
-  die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
-  die('skip failed to set locale settings to "English_United States.1252"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpected value for argument $table 
-*/
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252"); 
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$quote_style = ENT_COMPAT;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource variable 
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values =  array (
-
-  // array values
-  array(),
-  array(0),
-  array(1),
-  array(1, 2),
-  array('color' => 'red', 'item' => 'pen'),
-
-  // boolean values
-  true,
-  FALSE,
-
-  // string values
-  "string",
-  'string',
-
-  // objects
-  new stdclass(),
-
-  // empty string
-  "",
-  '',
-
-  // null vlaues
-  NULL,
-  null,
-
-  // resource var
-  $fp,
-
-  // undefined variable
-  @$undefined_var,
-
-  // unset variable
-  @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $table arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'table' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
-  echo "-- Iteration $counter --\n";
-  $table = $values [$index];
-
-  var_dump( get_html_translation_table($table) );
-  var_dump( get_html_translation_table($table, $quote_style) );
-
-  $counter ++;
-}
-
-// close resource
-fclose($fp);
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 7 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 14 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 17 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 7 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 14 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 17 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_variation1.phpt b/ext/standard/tests/strings/get_html_translation_table_variation1.phpt
deleted file mode 100644 (file)
index 4390ad2..0000000
+++ /dev/null
@@ -1,2127 +0,0 @@
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected table values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
-  die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
-  die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpected value for argument $table 
-*/
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$quote_style = ENT_COMPAT;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource variable 
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values =  array (
-
-  // array values
-  array(),
-  array(0),
-  array(1),
-  array(1, 2),
-  array('color' => 'red', 'item' => 'pen'),
-
-  // boolean values
-  true,
-  FALSE,
-
-  // string values
-  "string",
-  'string',
-
-  // objects
-  new stdclass(),
-
-  // empty string
-  "",
-  '',
-
-  // null vlaues
-  NULL,
-  null,
-
-  // resource var
-  $fp,
-
-  // undefined variable
-  @$undefined_var,
-
-  // unset variable
-  @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $table arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'table' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
-  echo "-- Iteration $counter --\n";
-  $table = $values [$index];
-
-  var_dump( get_html_translation_table($table) );
-  var_dump( get_html_translation_table($table, $quote_style) );
-
-  $counter ++;
-}
-
-// close resource
-fclose($fp);
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(100) {
-  [" "]=>
-  string(6) "&nbsp;"
-  ["¡"]=>
-  string(7) "&iexcl;"
-  ["¢"]=>
-  string(6) "&cent;"
-  ["£"]=>
-  string(7) "&pound;"
-  ["¤"]=>
-  string(8) "&curren;"
-  ["¥"]=>
-  string(5) "&yen;"
-  ["¦"]=>
-  string(8) "&brvbar;"
-  ["§"]=>
-  string(6) "&sect;"
-  ["¨"]=>
-  string(5) "&uml;"
-  ["©"]=>
-  string(6) "&copy;"
-  ["ª"]=>
-  string(6) "&ordf;"
-  ["«"]=>
-  string(7) "&laquo;"
-  ["¬"]=>
-  string(5) "&not;"
-  ["­"]=>
-  string(5) "&shy;"
-  ["®"]=>
-  string(5) "&reg;"
-  ["¯"]=>
-  string(6) "&macr;"
-  ["°"]=>
-  string(5) "&deg;"
-  ["±"]=>
-  string(8) "&plusmn;"
-  ["²"]=>
-  string(6) "&sup2;"
-  ["³"]=>
-  string(6) "&sup3;"
-  ["´"]=>
-  string(7) "&acute;"
-  ["µ"]=>
-  string(7) "&micro;"
-  ["¶"]=>
-  string(6) "&para;"
-  ["·"]=>
-  string(8) "&middot;"
-  ["¸"]=>
-  string(7) "&cedil;"
-  ["¹"]=>
-  string(6) "&sup1;"
-  ["º"]=>
-  string(6) "&ordm;"
-  ["»"]=>
-  string(7) "&raquo;"
-  ["¼"]=>
-  string(8) "&frac14;"
-  ["½"]=>
-  string(8) "&frac12;"
-  ["¾"]=>
-  string(8) "&frac34;"
-  ["¿"]=>
-  string(8) "&iquest;"
-  ["À"]=>
-  string(8) "&Agrave;"
-  ["Á"]=>
-  string(8) "&Aacute;"
-  ["Â"]=>
-  string(7) "&Acirc;"
-  ["Ã"]=>
-  string(8) "&Atilde;"
-  ["Ä"]=>
-  string(6) "&Auml;"
-  ["Å"]=>
-  string(7) "&Aring;"
-  ["Æ"]=>
-  string(7) "&AElig;"
-  ["Ç"]=>
-  string(8) "&Ccedil;"
-  ["È"]=>
-  string(8) "&Egrave;"
-  ["É"]=>
-  string(8) "&Eacute;"
-  ["Ê"]=>
-  string(7) "&Ecirc;"
-  ["Ë"]=>
-  string(6) "&Euml;"
-  ["Ì"]=>
-  string(8) "&Igrave;"
-  ["Í"]=>
-  string(8) "&Iacute;"
-  ["Î"]=>
-  string(7) "&Icirc;"
-  ["Ï"]=>
-  string(6) "&Iuml;"
-  ["Ð"]=>
-  string(5) "&ETH;"
-  ["Ñ"]=>
-  string(8) "&Ntilde;"
-  ["Ò"]=>
-  string(8) "&Ograve;"
-  ["Ó"]=>
-  string(8) "&Oacute;"
-  ["Ô"]=>
-  string(7) "&Ocirc;"
-  ["Õ"]=>
-  string(8) "&Otilde;"
-  ["Ö"]=>
-  string(6) "&Ouml;"
-  ["×"]=>
-  string(7) "&times;"
-  ["Ø"]=>
-  string(8) "&Oslash;"
-  ["Ù"]=>
-  string(8) "&Ugrave;"
-  ["Ú"]=>
-  string(8) "&Uacute;"
-  ["Û"]=>
-  string(7) "&Ucirc;"
-  ["Ü"]=>
-  string(6) "&Uuml;"
-  ["Ý"]=>
-  string(8) "&Yacute;"
-  ["Þ"]=>
-  string(7) "&THORN;"
-  ["ß"]=>
-  string(7) "&szlig;"
-  ["à"]=>
-  string(8) "&agrave;"
-  ["á"]=>
-  string(8) "&aacute;"
-  ["â"]=>
-  string(7) "&acirc;"
-  ["ã"]=>
-  string(8) "&atilde;"
-  ["ä"]=>
-  string(6) "&auml;"
-  ["å"]=>
-  string(7) "&aring;"
-  ["æ"]=>
-  string(7) "&aelig;"
-  ["ç"]=>
-  string(8) "&ccedil;"
-  ["è"]=>
-  string(8) "&egrave;"
-  ["é"]=>
-  string(8) "&eacute;"
-  ["ê"]=>
-  string(7) "&ecirc;"
-  ["ë"]=>
-  string(6) "&euml;"
-  ["ì"]=>
-  string(8) "&igrave;"
-  ["í"]=>
-  string(8) "&iacute;"
-  ["î"]=>
-  string(7) "&icirc;"
-  ["ï"]=>
-  string(6) "&iuml;"
-  ["ð"]=>
-  string(5) "&eth;"
-  ["ñ"]=>
-  string(8) "&ntilde;"
-  ["ò"]=>
-  string(8) "&ograve;"
-  ["ó"]=>
-  string(8) "&oacute;"
-  ["ô"]=>
-  string(7) "&ocirc;"
-  ["õ"]=>
-  string(8) "&otilde;"
-  ["ö"]=>
-  string(6) "&ouml;"
-  ["÷"]=>
-  string(8) "&divide;"
-  ["ø"]=>
-  string(8) "&oslash;"
-  ["ù"]=>
-  string(8) "&ugrave;"
-  ["ú"]=>
-  string(8) "&uacute;"
-  ["û"]=>
-  string(7) "&ucirc;"
-  ["ü"]=>
-  string(6) "&uuml;"
-  ["ý"]=>
-  string(8) "&yacute;"
-  ["þ"]=>
-  string(7) "&thorn;"
-  ["ÿ"]=>
-  string(6) "&yuml;"
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 7 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 14 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 17 --
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-array(4) {
-  ["""]=>
-  string(6) "&quot;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'table' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(311) {
-  [u" "]=>
-  unicode(6) "&nbsp;"
-  [u"¡"]=>
-  unicode(7) "&iexcl;"
-  [u"¢"]=>
-  unicode(6) "&cent;"
-  [u"£"]=>
-  unicode(7) "&pound;"
-  [u"¤"]=>
-  unicode(8) "&curren;"
-  [u"¥"]=>
-  unicode(5) "&yen;"
-  [u"¦"]=>
-  unicode(8) "&brvbar;"
-  [u"§"]=>
-  unicode(6) "&sect;"
-  [u"¨"]=>
-  unicode(5) "&uml;"
-  [u"©"]=>
-  unicode(6) "&copy;"
-  [u"ª"]=>
-  unicode(6) "&ordf;"
-  [u"«"]=>
-  unicode(7) "&laquo;"
-  [u"¬"]=>
-  unicode(5) "&not;"
-  [u"­"]=>
-  unicode(5) "&shy;"
-  [u"®"]=>
-  unicode(5) "&reg;"
-  [u"¯"]=>
-  unicode(6) "&macr;"
-  [u"°"]=>
-  unicode(5) "&deg;"
-  [u"±"]=>
-  unicode(8) "&plusmn;"
-  [u"²"]=>
-  unicode(6) "&sup2;"
-  [u"³"]=>
-  unicode(6) "&sup3;"
-  [u"´"]=>
-  unicode(7) "&acute;"
-  [u"µ"]=>
-  unicode(7) "&micro;"
-  [u"¶"]=>
-  unicode(6) "&para;"
-  [u"·"]=>
-  unicode(8) "&middot;"
-  [u"¸"]=>
-  unicode(7) "&cedil;"
-  [u"¹"]=>
-  unicode(6) "&sup1;"
-  [u"º"]=>
-  unicode(6) "&ordm;"
-  [u"»"]=>
-  unicode(7) "&raquo;"
-  [u"¼"]=>
-  unicode(8) "&frac14;"
-  [u"½"]=>
-  unicode(8) "&frac12;"
-  [u"¾"]=>
-  unicode(8) "&frac34;"
-  [u"¿"]=>
-  unicode(8) "&iquest;"
-  [u"À"]=>
-  unicode(8) "&Agrave;"
-  [u"Á"]=>
-  unicode(8) "&Aacute;"
-  [u"Â"]=>
-  unicode(7) "&Acirc;"
-  [u"Ã"]=>
-  unicode(8) "&Atilde;"
-  [u"Ä"]=>
-  unicode(6) "&Auml;"
-  [u"Å"]=>
-  unicode(7) "&Aring;"
-  [u"Æ"]=>
-  unicode(7) "&AElig;"
-  [u"Ç"]=>
-  unicode(8) "&Ccedil;"
-  [u"È"]=>
-  unicode(8) "&Egrave;"
-  [u"É"]=>
-  unicode(8) "&Eacute;"
-  [u"Ê"]=>
-  unicode(7) "&Ecirc;"
-  [u"Ë"]=>
-  unicode(6) "&Euml;"
-  [u"Ì"]=>
-  unicode(8) "&Igrave;"
-  [u"Í"]=>
-  unicode(8) "&Iacute;"
-  [u"Î"]=>
-  unicode(7) "&Icirc;"
-  [u"Ï"]=>
-  unicode(6) "&Iuml;"
-  [u"Ð"]=>
-  unicode(5) "&ETH;"
-  [u"Ñ"]=>
-  unicode(8) "&Ntilde;"
-  [u"Ò"]=>
-  unicode(8) "&Ograve;"
-  [u"Ó"]=>
-  unicode(8) "&Oacute;"
-  [u"Ô"]=>
-  unicode(7) "&Ocirc;"
-  [u"Õ"]=>
-  unicode(8) "&Otilde;"
-  [u"Ö"]=>
-  unicode(6) "&Ouml;"
-  [u"×"]=>
-  unicode(7) "&times;"
-  [u"Ø"]=>
-  unicode(8) "&Oslash;"
-  [u"Ù"]=>
-  unicode(8) "&Ugrave;"
-  [u"Ú"]=>
-  unicode(8) "&Uacute;"
-  [u"Û"]=>
-  unicode(7) "&Ucirc;"
-  [u"Ü"]=>
-  unicode(6) "&Uuml;"
-  [u"Ý"]=>
-  unicode(8) "&Yacute;"
-  [u"Þ"]=>
-  unicode(7) "&THORN;"
-  [u"ß"]=>
-  unicode(7) "&szlig;"
-  [u"à"]=>
-  unicode(8) "&agrave;"
-  [u"á"]=>
-  unicode(8) "&aacute;"
-  [u"â"]=>
-  unicode(7) "&acirc;"
-  [u"ã"]=>
-  unicode(8) "&atilde;"
-  [u"ä"]=>
-  unicode(6) "&auml;"
-  [u"å"]=>
-  unicode(7) "&aring;"
-  [u"æ"]=>
-  unicode(7) "&aelig;"
-  [u"ç"]=>
-  unicode(8) "&ccedil;"
-  [u"è"]=>
-  unicode(8) "&egrave;"
-  [u"é"]=>
-  unicode(8) "&eacute;"
-  [u"ê"]=>
-  unicode(7) "&ecirc;"
-  [u"ë"]=>
-  unicode(6) "&euml;"
-  [u"ì"]=>
-  unicode(8) "&igrave;"
-  [u"í"]=>
-  unicode(8) "&iacute;"
-  [u"î"]=>
-  unicode(7) "&icirc;"
-  [u"ï"]=>
-  unicode(6) "&iuml;"
-  [u"ð"]=>
-  unicode(5) "&eth;"
-  [u"ñ"]=>
-  unicode(8) "&ntilde;"
-  [u"ò"]=>
-  unicode(8) "&ograve;"
-  [u"ó"]=>
-  unicode(8) "&oacute;"
-  [u"ô"]=>
-  unicode(7) "&ocirc;"
-  [u"õ"]=>
-  unicode(8) "&otilde;"
-  [u"ö"]=>
-  unicode(6) "&ouml;"
-  [u"÷"]=>
-  unicode(8) "&divide;"
-  [u"ø"]=>
-  unicode(8) "&oslash;"
-  [u"ù"]=>
-  unicode(8) "&ugrave;"
-  [u"ú"]=>
-  unicode(8) "&uacute;"
-  [u"û"]=>
-  unicode(7) "&ucirc;"
-  [u"ü"]=>
-  unicode(6) "&uuml;"
-  [u"ý"]=>
-  unicode(8) "&yacute;"
-  [u"þ"]=>
-  unicode(7) "&thorn;"
-  [u"ÿ"]=>
-  unicode(6) "&yuml;"
-  [u"Œ"]=>
-  unicode(7) "&OElig;"
-  [u"œ"]=>
-  unicode(7) "&oelig;"
-  [u"Š"]=>
-  unicode(8) "&Scaron;"
-  [u"š"]=>
-  unicode(8) "&scaron;"
-  [u"Ÿ"]=>
-  unicode(6) "&Yuml;"
-  [u"ƒ"]=>
-  unicode(6) "&fnof;"
-  [u"ˆ"]=>
-  unicode(6) "&circ;"
-  [u"˜"]=>
-  unicode(7) "&tilde;"
-  [u"Α"]=>
-  unicode(7) "&Alpha;"
-  [u"Β"]=>
-  unicode(6) "&Beta;"
-  [u"Γ"]=>
-  unicode(7) "&Gamma;"
-  [u"Δ"]=>
-  unicode(7) "&Delta;"
-  [u"Ε"]=>
-  unicode(9) "&Epsilon;"
-  [u"Ζ"]=>
-  unicode(6) "&Zeta;"
-  [u"Η"]=>
-  unicode(5) "&Eta;"
-  [u"Θ"]=>
-  unicode(7) "&Theta;"
-  [u"Ι"]=>
-  unicode(6) "&Iota;"
-  [u"Κ"]=>
-  unicode(7) "&Kappa;"
-  [u"Λ"]=>
-  unicode(8) "&Lambda;"
-  [u"Μ"]=>
-  unicode(4) "&Mu;"
-  [u"Ν"]=>
-  unicode(4) "&Nu;"
-  [u"Ξ"]=>
-  unicode(4) "&Xi;"
-  [u"Ο"]=>
-  unicode(9) "&Omicron;"
-  [u"Π"]=>
-  unicode(4) "&Pi;"
-  [u"Ρ"]=>
-  unicode(5) "&Rho;"
-  [u"Σ"]=>
-  unicode(7) "&Sigma;"
-  [u"Τ"]=>
-  unicode(5) "&Tau;"
-  [u"Υ"]=>
-  unicode(9) "&Upsilon;"
-  [u"Φ"]=>
-  unicode(5) "&Phi;"
-  [u"Χ"]=>
-  unicode(5) "&Chi;"
-  [u"Ψ"]=>
-  unicode(5) "&Psi;"
-  [u"Ω"]=>
-  unicode(7) "&Omega;"
-  [u"α"]=>
-  unicode(7) "&alpha;"
-  [u"β"]=>
-  unicode(6) "&beta;"
-  [u"γ"]=>
-  unicode(7) "&gamma;"
-  [u"δ"]=>
-  unicode(7) "&delta;"
-  [u"ε"]=>
-  unicode(9) "&epsilon;"
-  [u"ζ"]=>
-  unicode(6) "&zeta;"
-  [u"η"]=>
-  unicode(5) "&eta;"
-  [u"θ"]=>
-  unicode(7) "&theta;"
-  [u"ι"]=>
-  unicode(6) "&iota;"
-  [u"κ"]=>
-  unicode(7) "&kappa;"
-  [u"λ"]=>
-  unicode(8) "&lambda;"
-  [u"μ"]=>
-  unicode(4) "&mu;"
-  [u"ν"]=>
-  unicode(4) "&nu;"
-  [u"ξ"]=>
-  unicode(4) "&xi;"
-  [u"ο"]=>
-  unicode(9) "&omicron;"
-  [u"π"]=>
-  unicode(4) "&pi;"
-  [u"ρ"]=>
-  unicode(5) "&rho;"
-  [u"ς"]=>
-  unicode(8) "&sigmaf;"
-  [u"σ"]=>
-  unicode(7) "&sigma;"
-  [u"τ"]=>
-  unicode(5) "&tau;"
-  [u"υ"]=>
-  unicode(9) "&upsilon;"
-  [u"φ"]=>
-  unicode(5) "&phi;"
-  [u"χ"]=>
-  unicode(5) "&chi;"
-  [u"ψ"]=>
-  unicode(5) "&psi;"
-  [u"ω"]=>
-  unicode(7) "&omega;"
-  [u"ϑ"]=>
-  unicode(10) "&thetasym;"
-  [u"ϒ"]=>
-  unicode(7) "&upsih;"
-  [u"ϖ"]=>
-  unicode(5) "&piv;"
-  [u" "]=>
-  unicode(6) "&ensp;"
-  [u" "]=>
-  unicode(6) "&emsp;"
-  [u" "]=>
-  unicode(8) "&thinsp;"
-  [u"‌"]=>
-  unicode(6) "&zwnj;"
-  [u"‍"]=>
-  unicode(5) "&zwj;"
-  [u"‎"]=>
-  unicode(5) "&lrm;"
-  [u"‏"]=>
-  unicode(5) "&rlm;"
-  [u"–"]=>
-  unicode(7) "&ndash;"
-  [u"—"]=>
-  unicode(7) "&mdash;"
-  [u"‘"]=>
-  unicode(7) "&lsquo;"
-  [u"’"]=>
-  unicode(7) "&rsquo;"
-  [u"‚"]=>
-  unicode(7) "&sbquo;"
-  [u"“"]=>
-  unicode(7) "&ldquo;"
-  [u"”"]=>
-  unicode(7) "&rdquo;"
-  [u"„"]=>
-  unicode(7) "&bdquo;"
-  [u"†"]=>
-  unicode(8) "&dagger;"
-  [u"‡"]=>
-  unicode(8) "&Dagger;"
-  [u"•"]=>
-  unicode(6) "&bull;"
-  [u"…"]=>
-  unicode(8) "&hellip;"
-  [u"‰"]=>
-  unicode(8) "&permil;"
-  [u"′"]=>
-  unicode(7) "&prime;"
-  [u"″"]=>
-  unicode(7) "&Prime;"
-  [u"‹"]=>
-  unicode(8) "&lsaquo;"
-  [u"›"]=>
-  unicode(8) "&rsaquo;"
-  [u"‾"]=>
-  unicode(7) "&oline;"
-  [u"⁄"]=>
-  unicode(7) "&frasl;"
-  [u"€"]=>
-  unicode(6) "&euro;"
-  [u"ℑ"]=>
-  unicode(7) "&image;"
-  [u"℘"]=>
-  unicode(8) "&weierp;"
-  [u"ℜ"]=>
-  unicode(6) "&real;"
-  [u"™"]=>
-  unicode(7) "&trade;"
-  [u"ℵ"]=>
-  unicode(9) "&alefsym;"
-  [u"←"]=>
-  unicode(6) "&larr;"
-  [u"↑"]=>
-  unicode(6) "&uarr;"
-  [u"→"]=>
-  unicode(6) "&rarr;"
-  [u"↓"]=>
-  unicode(6) "&darr;"
-  [u"↔"]=>
-  unicode(6) "&harr;"
-  [u"↵"]=>
-  unicode(7) "&crarr;"
-  [u"⇐"]=>
-  unicode(6) "&lArr;"
-  [u"⇑"]=>
-  unicode(6) "&uArr;"
-  [u"⇒"]=>
-  unicode(6) "&rArr;"
-  [u"⇓"]=>
-  unicode(6) "&dArr;"
-  [u"⇔"]=>
-  unicode(6) "&hArr;"
-  [u"⇕"]=>
-  unicode(6) "&vArr;"
-  [u"⇚"]=>
-  unicode(7) "&lAarr;"
-  [u"⇛"]=>
-  unicode(7) "&rAarr;"
-  [u"⇝"]=>
-  unicode(7) "&rarrw;"
-  [u"∀"]=>
-  unicode(8) "&forall;"
-  [u"∁"]=>
-  unicode(6) "&comp;"
-  [u"∂"]=>
-  unicode(6) "&part;"
-  [u"∃"]=>
-  unicode(7) "&exist;"
-  [u"∄"]=>
-  unicode(8) "&nexist;"
-  [u"∅"]=>
-  unicode(7) "&empty;"
-  [u"∇"]=>
-  unicode(7) "&nabla;"
-  [u"∈"]=>
-  unicode(6) "&isin;"
-  [u"∉"]=>
-  unicode(7) "&notin;"
-  [u"∊"]=>
-  unicode(7) "&epsis;"
-  [u"∋"]=>
-  unicode(4) "&ni;"
-  [u"∌"]=>
-  unicode(7) "&notni;"
-  [u"∍"]=>
-  unicode(7) "&bepsi;"
-  [u"∏"]=>
-  unicode(6) "&prod;"
-  [u"∐"]=>
-  unicode(8) "&coprod;"
-  [u"∑"]=>
-  unicode(5) "&sum;"
-  [u"−"]=>
-  unicode(7) "&minus;"
-  [u"∓"]=>
-  unicode(8) "&mnplus;"
-  [u"∔"]=>
-  unicode(8) "&plusdo;"
-  [u"∖"]=>
-  unicode(7) "&setmn;"
-  [u"∗"]=>
-  unicode(8) "&lowast;"
-  [u"∘"]=>
-  unicode(8) "&compfn;"
-  [u"√"]=>
-  unicode(7) "&radic;"
-  [u"∝"]=>
-  unicode(6) "&prop;"
-  [u"∞"]=>
-  unicode(7) "&infin;"
-  [u"∟"]=>
-  unicode(7) "&ang90;"
-  [u"∠"]=>
-  unicode(5) "&ang;"
-  [u"∡"]=>
-  unicode(8) "&angmsd;"
-  [u"∢"]=>
-  unicode(8) "&angsph;"
-  [u"∣"]=>
-  unicode(5) "&mid;"
-  [u"∤"]=>
-  unicode(6) "&nmid;"
-  [u"∥"]=>
-  unicode(5) "&par;"
-  [u"∦"]=>
-  unicode(6) "&npar;"
-  [u"∧"]=>
-  unicode(5) "&and;"
-  [u"∨"]=>
-  unicode(4) "&or;"
-  [u"∩"]=>
-  unicode(5) "&cap;"
-  [u"∪"]=>
-  unicode(5) "&cup;"
-  [u"∫"]=>
-  unicode(5) "&int;"
-  [u"∮"]=>
-  unicode(8) "&conint;"
-  [u"∴"]=>
-  unicode(8) "&there4;"
-  [u"∵"]=>
-  unicode(8) "&becaus;"
-  [u"∼"]=>
-  unicode(5) "&sim;"
-  [u"∽"]=>
-  unicode(6) "&bsim;"
-  [u"≀"]=>
-  unicode(8) "&wreath;"
-  [u"≁"]=>
-  unicode(6) "&nsim;"
-  [u"≃"]=>
-  unicode(6) "&sime;"
-  [u"≄"]=>
-  unicode(7) "&nsime;"
-  [u"≅"]=>
-  unicode(6) "&cong;"
-  [u"≇"]=>
-  unicode(7) "&ncong;"
-  [u"≈"]=>
-  unicode(7) "&asymp;"
-  [u"≉"]=>
-  unicode(5) "&nap;"
-  [u"≊"]=>
-  unicode(5) "&ape;"
-  [u"≌"]=>
-  unicode(7) "&bcong;"
-  [u"≍"]=>
-  unicode(7) "&asymp;"
-  [u"≎"]=>
-  unicode(6) "&bump;"
-  [u"≏"]=>
-  unicode(7) "&bumpe;"
-  [u"≠"]=>
-  unicode(4) "&ne;"
-  [u"≡"]=>
-  unicode(7) "&equiv;"
-  [u"≤"]=>
-  unicode(4) "&le;"
-  [u"≥"]=>
-  unicode(4) "&ge;"
-  [u"≦"]=>
-  unicode(4) "&lE;"
-  [u"≧"]=>
-  unicode(4) "&gE;"
-  [u"≨"]=>
-  unicode(5) "&lnE;"
-  [u"≩"]=>
-  unicode(5) "&gnE;"
-  [u"≪"]=>
-  unicode(4) "&Lt;"
-  [u"≫"]=>
-  unicode(4) "&Gt;"
-  [u"≬"]=>
-  unicode(7) "&twixt;"
-  [u"≮"]=>
-  unicode(5) "&nlt;"
-  [u"≯"]=>
-  unicode(5) "&ngt;"
-  [u"≰"]=>
-  unicode(6) "&nles;"
-  [u"≱"]=>
-  unicode(6) "&nges;"
-  [u"≲"]=>
-  unicode(6) "&lsim;"
-  [u"≳"]=>
-  unicode(6) "&gsim;"
-  [u"≶"]=>
-  unicode(4) "&lg;"
-  [u"≷"]=>
-  unicode(4) "&gl;"
-  [u"≺"]=>
-  unicode(4) "&pr;"
-  [u"≻"]=>
-  unicode(4) "&sc;"
-  [u"≼"]=>
-  unicode(7) "&cupre;"
-  [u"≽"]=>
-  unicode(7) "&sscue;"
-  [u"≾"]=>
-  unicode(7) "&prsim;"
-  [u"≿"]=>
-  unicode(7) "&scsim;"
-  [u"⊀"]=>
-  unicode(5) "&npr;"
-  [u"⊁"]=>
-  unicode(5) "&nsc;"
-  [u"⊂"]=>
-  unicode(5) "&sub;"
-  [u"⊃"]=>
-  unicode(5) "&sup;"
-  [u"⊄"]=>
-  unicode(6) "&nsub;"
-  [u"⊅"]=>
-  unicode(6) "&nsup;"
-  [u"⊆"]=>
-  unicode(6) "&sube;"
-  [u"⊇"]=>
-  unicode(6) "&supe;"
-  [u"⊕"]=>
-  unicode(7) "&oplus;"
-  [u"⊗"]=>
-  unicode(8) "&otimes;"
-  [u"⊥"]=>
-  unicode(6) "&perp;"
-  [u"⋅"]=>
-  unicode(6) "&sdot;"
-  [u"⌈"]=>
-  unicode(7) "&lceil;"
-  [u"⌉"]=>
-  unicode(7) "&rceil;"
-  [u"⌊"]=>
-  unicode(8) "&lfloor;"
-  [u"⌋"]=>
-  unicode(8) "&rfloor;"
-  [u"〈"]=>
-  unicode(6) "&lang;"
-  [u"〉"]=>
-  unicode(6) "&rang;"
-  [u"◊"]=>
-  unicode(5) "&loz;"
-  [u"♠"]=>
-  unicode(8) "&spades;"
-  [u"♣"]=>
-  unicode(7) "&clubs;"
-  [u"♥"]=>
-  unicode(8) "&hearts;"
-  [u"♦"]=>
-  unicode(7) "&diams;"
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 7 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 14 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
-
-Warning: get_html_translation_table() expects parameter 1 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 17 --
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-array(4) {
-  [u"""]=>
-  unicode(6) "&quot;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_variation2-win32.phpt b/ext/standard/tests/strings/get_html_translation_table_variation2-win32.phpt
deleted file mode 100644 (file)
index 5334d39..0000000
+++ /dev/null
@@ -1,306 +0,0 @@
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected quote_style values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) != "WIN"){
-  die('skip only for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "English_United States.1252") ) {
-  die('skip failed to set locale settings to "English_United States.1252"');
-}
-
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpteced value for argument $quote_style
-*/
-
-//set locale
-setlocale(LC_ALL, "English_United States.1252"); 
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$table = HTML_SPECIALCHARS;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource var
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values =  array (
-
-  // array values
-  array(),
-  array(0),
-  array(1),
-  array(1, 2),
-  array('color' => 'red', 'item' => 'pen'),
-
-  // boolean values
-  true,
-  FALSE,
-
-  // string values
-  "string",
-  'string',
-
-  // objects
-  new stdclass(),
-
-  // empty string
-  "",
-  '',
-
-  // null vlaues
-  NULL,
-  null,
-
-  // resource var
-  $fp, 
-
-  // undefined variable
-  @$undefined_var,
-
-  // unset variable
-  @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $quote_style arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
-  echo "-- Iteration $counter --\n";
-  $quote_style = $values [$index];
-
-  var_dump( get_html_translation_table($table, $quote_style) );
-
-  $counter ++;
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
-  ["'"]=>
-  string(5) "&#39;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 7 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 14 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 17 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
-  [u"'"]=>
-  unicode(5) "&#39;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 7 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 14 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 17 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
diff --git a/ext/standard/tests/strings/get_html_translation_table_variation2.phpt b/ext/standard/tests/strings/get_html_translation_table_variation2.phpt
deleted file mode 100644 (file)
index 47b8e6f..0000000
+++ /dev/null
@@ -1,305 +0,0 @@
---TEST--
-Test get_html_translation_table() function : usage variations - unexpected quote_style values
---SKIPIF--
-<?php
-if( substr(PHP_OS, 0, 3) == "WIN"){
-  die('skip Not for Windows');
-}
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if( !setlocale(LC_ALL, "en_US.UTF-8") ) {
-  die('skip failed to set locale settings to "en-US.UTF-8"');
-}
-?>
---FILE--
-<?php
-/* Prototype  : array get_html_translation_table ( [int $table [, int $quote_style]] )
- * Description: Returns the internal translation table used by htmlspecialchars and htmlentities
- * Source code: ext/standard/html.c
-*/
-
-/*
- * test get_html_translation_table() with unexpteced value for argument $quote_style
-*/
-
-//set locale to en_US.UTF-8
-setlocale(LC_ALL, "en_US.UTF-8");
-
-echo "*** Testing get_html_translation_table() : usage variations ***\n";
-// initialize all required variables
-$table = HTML_SPECIALCHARS;
-
-// get an unset variable
-$unset_var = 10;
-unset($unset_var);
-
-// a resource var
-$fp = fopen(__FILE__, "r");
-
-// array with different values
-$values =  array (
-
-  // array values
-  array(),
-  array(0),
-  array(1),
-  array(1, 2),
-  array('color' => 'red', 'item' => 'pen'),
-
-  // boolean values
-  true,
-  FALSE,
-
-  // string values
-  "string",
-  'string',
-
-  // objects
-  new stdclass(),
-
-  // empty string
-  "",
-  '',
-
-  // null vlaues
-  NULL,
-  null,
-
-  // resource var
-  $fp, 
-
-  // undefined variable
-  @$undefined_var,
-
-  // unset variable
-  @$unset_var
-);
-
-
-// loop through each element of the array and check the working of get_html_translation_table()
-// when $quote_style arugment is supplied with different values
-echo "\n--- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---\n";
-$counter = 1;
-for($index = 0; $index < count($values); $index ++) {
-  echo "-- Iteration $counter --\n";
-  $quote_style = $values [$index];
-
-  var_dump( get_html_translation_table($table, $quote_style) );
-
-  $counter ++;
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
-  ["'"]=>
-  string(5) "&#39;"
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 7 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 14 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
--- Iteration 17 --
-array(3) {
-  ["<"]=>
-  string(4) "&lt;"
-  [">"]=>
-  string(4) "&gt;"
-  ["&"]=>
-  string(5) "&amp;"
-}
-Done
---UEXPECTF--
-*** Testing get_html_translation_table() : usage variations ***
-
---- Testing get_html_translation_table() by supplying different values for 'quote_style' argument ---
--- Iteration 1 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-array(4) {
-  [u"'"]=>
-  unicode(5) "&#39;"
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 7 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 8 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, Unicode string given in %s on line %d
-NULL
--- Iteration 13 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 14 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 15 --
-
-Warning: get_html_translation_table() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 16 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
--- Iteration 17 --
-array(3) {
-  [u"<"]=>
-  unicode(4) "&lt;"
-  [u">"]=>
-  unicode(4) "&gt;"
-  [u"&"]=>
-  unicode(5) "&amp;"
-}
-Done
index 7d6fe27ae18fb7d80540cc6d9e3730fc3da915de..46e2f66bc57e7d4ae782776b27e1b089ebbcdaa3 100644 (file)
@@ -55,45 +55,7 @@ foreach ($array as $html) {
 
 echo "Done\n";
 ?>
---EXPECTF--    
-array(4) {
-  ["author"]=>
-  string(4) "name"
-  ["keywords"]=>
-  string(17) "php documentation"
-  ["description"]=>
-  string(12) "a php manual"
-  ["geo_position"]=>
-  string(12) "49.33;-86.59"
-}
-array(4) {
-  ["author"]=>
-  string(4) "name"
-  ["keywords"]=>
-  string(17) "php documentation"
-  ["description"]=>
-  string(12) "a php manual"
-  ["geo_position"]=>
-  string(12) "49.33;-86.59"
-}
-array(1) {
-  ["keywords"]=>
-  string(17) "php documentation"
-}
-array(1) {
-  ["keywords"]=>
-  string(17) "php documentation"
-}
-array(0) {
-}
-array(0) {
-}
-array(0) {
-}
-array(0) {
-}
-Done
---UEXPECTF--
+--EXPECT--
 array(4) {
   ["author"]=>
   unicode(4) "name"
index 937354924e5608c479475393bd5b6b146d4616c9..e4da8b51a3d6e06b2b41a1e5ee836225868a1363 100644 (file)
@@ -36,7 +36,7 @@ var_dump(highlight_file($filename));
 @unlink($filename);
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: highlight_file() expects at least 1 parameter, 0 given in %s on line %d
 bool(false)
 
index 6b83afc778cb3b2548d3b3c962ac88a7e8fca9c1..456508c8f71ecb701c08e35aaa9b63aea677e8c4 100755 (executable)
@@ -31,4 +31,4 @@ string(0) ""
 string(0) ""
 string(0) ""
 string(8) "2667743b"
-string(8) "2667743b"
\ No newline at end of file
+string(8) "2667743b"
index bce9ac9bc4b6e16da86341813949111b87301562..bbfaa0d46955cd550bca0b80ea58eead6e187f02 100644 (file)
@@ -14,12 +14,7 @@ echo $ent_encoded;
 echo html_entity_decode($sc_encoded);
 echo html_entity_decode($ent_encoded);
 ?>
---EXPECT--
-&lt;&gt;&quot;&amp;åÄ
-&lt;&gt;&quot;&amp;&aring;&Auml;
-<>"&åÄ
-<>"&åÄ
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 &lt;&gt;&quot;&amp;åÄ
 &lt;&gt;&quot;&amp;&aring;&Auml;
index 158db112f57cbe9e87b9495ba8e18b150b6d3ae0..935bf51719c5bd8d94b8e429809cb031d233491c 100644 (file)
@@ -17,8 +17,6 @@ mbstring.internal_encoding=none
        setlocale(LC_CTYPE, "fr_FR.ISO-8859-15", "fr_FR.ISO8859-15", 'fr_FR@euro');
        var_dump(htmlentities("\xbc\xbd\xbe", ENT_QUOTES, ''));
 ?>
---EXPECT--
-string(20) "&OElig;&oelig;&Yuml;"
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 unicode(24) "&frac14;&frac12;&frac34;"
index 9cee26a468f7b2d9a51164e4a9e175d8475c7a7e..49542a58173480f77da26a914d3f59954ff352c9 100644 (file)
@@ -16,8 +16,6 @@ mbstring.internal_encoding=none
        setlocale( LC_CTYPE, "de_DE.ISO-8859-1", "de_DE.ISO8859-1");
        var_dump(htmlentities("\xe4\xf6\xfc", ENT_QUOTES, ''));
 ?>
---EXPECT--
-string(18) "&auml;&ouml;&uuml;"
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 unicode(18) "&auml;&ouml;&uuml;"
index a2723f87bdc6f23d3b0faca71cbaf7f5003be959..726bb9f57f9b164ee826aecece2d94dbc14018b2 100644 (file)
@@ -17,8 +17,6 @@ mbstring.internal_encoding=none
        setlocale( LC_CTYPE, "ja_JP.EUC-JP", "ja_JP.eucJP" );
        var_dump(htmlentities("\xa1\xa2\xa1\xa3\xa1\xa4", ENT_QUOTES, ''));
 ?>
---EXPECT--
-string(6) "¡¢¡£¡¤"
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 unicode(42) "&iexcl;&cent;&iexcl;&pound;&iexcl;&curren;"
index 126048a907b7c687ffa0df9f2a202e712b181fd1..804c18d0945bb3aa49c3bc7be18b8895155f4d2b 100644 (file)
@@ -12,9 +12,5 @@ default_charset=cp1252
 ?>
 --EXPECT--
 cp1252
-string(28) "&sbquo;&dagger;&trade;&Yuml;"
-string(32) "&euro;&cent;&pound;&curren;&yen;"
---UEXPECTF--
-cp1252
 unicode(4) "\82\86\99\9f"
 unicode(27) "\80&cent;&pound;&curren;&yen;"
index 3d7153ecbb15f68d47d0db2f4f9d49f4342d1c2e..83e0d5df4f73b32bffa0d66b4813c872cff537c2 100644 (file)
@@ -20,10 +20,7 @@ setlocale(LC_CTYPE, "ru_RU.koi8r", "ru_RU.KOI8-R");
 $str = "ÒÏÓËÏÛÎÙÊ";
 var_dump($str, htmlentities($str, ENT_QUOTES, ''));
 ?>
---EXPECT--
-string(9) "ÒÏÓËÏÛÎÙÊ"
-string(63) "&#1088;&#1086;&#1089;&#1082;&#1086;&#1096;&#1085;&#1099;&#1081;"
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 unicode(9) "ÒÏÓËÏÛÎÙÊ"
 unicode(9) "ÒÏÓËÏÛÎÙÊ"
index 4acff8b61f475c2e81a55961d74d130ac5d9ede6..987e8d2a42f8eed031c523f976b1d89ea2a856bb 100644 (file)
@@ -29,18 +29,7 @@ var_dump( htmlspecialchars_decode($double_quote_string, ENT_QUOTES) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : basic functionality ***
-string(92) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(92) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(92) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(92) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(102) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. &quot; double quoted string &quot;"
-string(102) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. &quot; double quoted string &quot;"
-string(82) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-string(82) "Roy's height > Sam's height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing htmlspecialchars_decode() : basic functionality ***
 unicode(92) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
 unicode(92) "Roy&#039;s height > Sam&#039;s height. 13 < 25. 1111 & 0000 = 0000. " double quoted string ""
index 677334085312748844acab26b7a1459b4e12504c..137af5243fad83b5f8e782a6f8b8182e96b5da77 100644 (file)
@@ -94,73 +94,6 @@ echo "Done";
 --EXPECTF--
 *** Testing htmlspecialchars_decode() : usage variations ***
 -- Iterator 1 --
-string(1) "0"
--- Iterator 2 --
-string(1) "1"
--- Iterator 3 --
-string(5) "12345"
--- Iterator 4 --
-string(5) "-2345"
--- Iterator 5 --
-string(4) "10.5"
--- Iterator 6 --
-string(5) "-10.5"
--- Iterator 7 --
-string(12) "105000000000"
--- Iterator 8 --
-string(7) "1.06E-9"
--- Iterator 9 --
-string(3) "0.5"
--- Iterator 10 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 11 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 12 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 13 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 14 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iterator 15 --
-string(0) ""
--- Iterator 16 --
-string(0) ""
--- Iterator 17 --
-string(1) "1"
--- Iterator 18 --
-string(0) ""
--- Iterator 19 --
-string(1) "1"
--- Iterator 20 --
-string(0) ""
--- Iterator 21 --
-string(0) ""
--- Iterator 22 --
-string(0) ""
--- Iterator 23 --
-string(12) "ClassAObject"
--- Iterator 24 --
-string(0) ""
--- Iterator 25 --
-string(0) ""
--- Iterator 26 --
-
-Warning: htmlspecialchars_decode() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iterator 1 --
 unicode(1) "0"
 -- Iterator 2 --
 unicode(1) "1"
index dd731faba2e7b714edc658829e27c85ff7fb8a7e..25a2cbf07330087e8f8545d6f4704d94baded700 100644 (file)
@@ -95,103 +95,6 @@ echo "Done";
 --EXPECTF--
 *** Testing htmlspecialchars_decode() : usage variations ***
 
--- Iteration 1 --
-string(104) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 2 --
-string(104) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 3 --
-string(94) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
-
--- Iteration 4 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 5 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 6 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 7 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 8 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 9 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 10 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, array given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 11 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 12 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 13 --
-string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 14 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 15 --
-string(104) "<html>Roy's height > Sam's height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 16 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 17 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 18 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 19 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 20 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, string given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 21 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, object given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-
--- Iteration 22 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 23 --
-string(114) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. &quot; double quote string &quot;</html>"
-
--- Iteration 24 --
-
-Warning: htmlspecialchars_decode() expects parameter 2 to be long, resource given in %shtmlspecialchars_decode_variation2.php on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
-
 -- Iteration 1 --
 unicode(104) "<html>Roy&#039;s height > Sam&#039;s height. 13 < 15. 1111 & 0000 = 0000. " double quote string "</html>"
 
index cab643a7a9b3d84468d0a5c3063e0f9fbe69a2ca..609f07b66dc82b0c42d9c72c8021eb67b742f80d 100644 (file)
@@ -71,34 +71,7 @@ for($index =0; $index < count($res_heredoc_strings); $index ++) {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iteration 1 --
-string(0) ""
--- Iteration 2 --
-string(0) ""
--- Iteration 3 --
-string(103) "<html>Roy&#039;s height > Sam&#039;s height
-13 < 25
-1111 & 0000 = 0000
-"This is a double quoted string""
--- Iteration 4 --
-string(130) "<html>Roy&#039;s height
- > Sam &#039;s height
-1111            & 0000\v\v = \f0000
-" heredoc
-double quoted string. with\vdifferent\fwhite\vspaces""
--- Iteration 5 --
-string(62) "<html>11 < 12. 123 string 4567
-"string" 1111   & 0000  = 0000
-;"
--- Iteration 6 --
-string(153) "<html>< This's a string with quotes:
-"strings in double quote" &
-'strings in single quote' "
-this\line is &#039;single quoted&#039; /with\slashes </html>"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing htmlspecialchars_decode() : usage variations ***
 -- Iteration 1 --
 unicode(0) ""
index 43f91bfd6c62c3c8055a1cc186e5ea670c2ccd39..f4bb6aa0f65fe95aaf5775e2b623fa5dec6b9f94 100644 (file)
@@ -35,35 +35,7 @@ foreach($values as $value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iteration 1 --
-string(90) "Roy&#039s height > Sam&#039;s \$height... 1111 &ap; 0000 = 0000... " double quote string ""
-string(90) "Roy&#039s height > Sam&#039;s \$height... 1111 &ap; 0000 = 0000... " double quote string ""
-string(100) "Roy&#039s height > Sam&#039;s \$height... 1111 &ap; 0000 = 0000... &quot; double quote string &quot;"
-string(85) "Roy&#039s height > Sam's \$height... 1111 &ap; 0000 = 0000... " double quote string ""
--- Iteration 2 --
-string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string ""
-string(88) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r " double quote\f\v string ""
-string(98) "Roy&#039;s height > Sam&#039;s height... \t\t 13 < 15...\n\r &quot; double quote\f\v string &quot;"
-string(78) "Roy's height > Sam's height... \t\t 13 < 15...\n\r " double quote\f\v string ""
--- Iteration 3 --
-string(48) "\nRoy&#039;s height &gt\t; Sam&#039;s\v height\f"
-string(48) "\nRoy&#039;s height &gt\t; Sam&#039;s\v height\f"
-string(48) "\nRoy&#039;s height &gt\t; Sam&#039;s\v height\f"
-string(38) "\nRoy's height &gt\t; Sam's\v height\f"
--- Iteration 4 --
-string(48) "\r\tRoy&#039;s height &gt\r; Sam\t&#039;s height"
-string(48) "\r\tRoy&#039;s height &gt\r; Sam\t&#039;s height"
-string(48) "\r\tRoy&#039;s height &gt\r; Sam\t&#039;s height"
-string(38) "\r\tRoy's height &gt\r; Sam\t's height"
--- Iteration 5 --
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-string(34) "\n 1\t3 &\tgt; 11 but 11 &\tlt; 12"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing htmlspecialchars_decode() : usage variations ***
 -- Iteration 1 --
 unicode(90) "Roy&#039s height > Sam&#039;s \$height... 1111 &ap; 0000 = 0000... " double quote string ""
index 0f14a925030271e75bdefb0ae6a74bf549ac5e65..60195b303c5e7b69cc7200657a8d9925b3262905 100644 (file)
@@ -34,59 +34,7 @@ foreach($strings as $value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing htmlspecialchars_decode() : usage variations ***
--- Iteration 1 --
-string(89) "Roy&#039s height > Sam&#039;s $height... 1111 &ap; 0000 = 0000... " double quote string ""
-string(89) "Roy&#039s height > Sam&#039;s $height... 1111 &ap; 0000 = 0000... " double quote string ""
-string(99) "Roy&#039s height > Sam&#039;s $height... 1111 &ap; 0000 = 0000... &quot; double quote string &quot;"
-string(84) "Roy&#039s height > Sam's $height... 1111 &ap; 0000 = 0000... " double quote string ""
--- Iteration 2 --
-string(82) "Roy&#039;s height > Sam&#039;s height...            13 < 15...
-
- " double quote\f\v string ""
-string(82) "Roy&#039;s height > Sam&#039;s height...            13 < 15...
-
- " double quote\f\v string ""
-string(92) "Roy&#039;s height > Sam&#039;s height...            13 < 15...
-
- &quot; double quote\f\v string &quot;"
-string(72) "Roy's height > Sam's height...              13 < 15...
-
- " double quote\f\v string ""
--- Iteration 3 --
-string(44) "
-Roy&#039;s height &gt  ; Sam&#039;s\v height\f"
-string(44) "
-Roy&#039;s height &gt  ; Sam&#039;s\v height\f"
-string(44) "
-Roy&#039;s height &gt  ; Sam&#039;s\v height\f"
-string(34) "
-Roy's height &gt       ; Sam's\v height\f"
--- Iteration 4 --
-string(44) "
-       Roy&#039;s height &gt
-; Sam  &#039;s height"
-string(44) "
-       Roy&#039;s height &gt
-; Sam  &#039;s height"
-string(44) "
-       Roy&#039;s height &gt
-; Sam  &#039;s height"
-string(34) "
-       Roy's height &gt
-; Sam  's height"
--- Iteration 5 --
-string(30) "
- 1     3 &     gt; 11 but 11 & lt; 12"
-string(30) "
- 1     3 &     gt; 11 but 11 & lt; 12"
-string(30) "
- 1     3 &     gt; 11 but 11 & lt; 12"
-string(30) "
- 1     3 &     gt; 11 but 11 & lt; 12"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing htmlspecialchars_decode() : usage variations ***
 -- Iteration 1 --
 unicode(89) "Roy&#039s height > Sam&#039;s $height... 1111 &ap; 0000 = 0000... " double quote string ""
@@ -137,4 +85,4 @@ unicode(30) "
  1     3 &     gt; 11 but 11 & lt; 12"
 unicode(30) "
  1     3 &     gt; 11 but 11 & lt; 12"
-Done
\ No newline at end of file
+Done
index 454c61f63a902830d9c26468759cbed0d9aa3404..fcaa6ea6f46dc1e8c8419a37cc8dc4e6e3a13dab 100644 (file)
Binary files a/ext/standard/tests/strings/htmlspecialchars_decode_variation6.phpt and b/ext/standard/tests/strings/htmlspecialchars_decode_variation6.phpt differ
index 8b33134fdf3b1ed6e559c3f2dfb00064ffc7d1fa..0caf0dcb30267a92e6cf1a50a89fc29b3fbf7d59 100644 (file)
@@ -10,10 +10,6 @@ var_dump(http_build_query($array, 'foo', ';'));
 
 ?>
 --EXPECT--
-string(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc"
-string(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc"
-string(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
---UEXPECT--
 unicode(35) "foo=bar&baz=1&test=a+%27+%22+&0=abc"
 unicode(38) "foo=bar&baz=1&test=a+%27+%22+&foo0=abc"
 unicode(38) "foo=bar;baz=1;test=a+%27+%22+;foo0=abc"
index 36be0f395cfd7f87f1767f29ba5c21aa89b4e2e5..277b90db1c735e5efa799c762568938954058af7 100644 (file)
@@ -14,7 +14,7 @@ echo implode(':', array('foo', 'bar', 'baz'))."\n";
 echo implode(':', array('foo', array('bar', 'baz'), 'burp'))."\n";
 echo $php_errormsg."\n";
 ?>
---EXPECTF--
+--EXPECT--
 
 
 foobarbaz
index f8e2d2021f507e972d773ad6d094c44607b3ac91..8db45df20824eeae6d01ff7e2f23d9e8c548db0d 100644 (file)
Binary files a/ext/standard/tests/strings/implode1.phpt and b/ext/standard/tests/strings/implode1.phpt differ
index c8234700322fc5db6b909ff97ba7d0dd841b0eaa..161a07664e2939ff1f80ea48050fb0444d154f11 100644 (file)
@@ -34,14 +34,7 @@ var_dump( join($glue, $pieces) );
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing join() : basic functionality ***
-string(7) "1,2,3,4"
-string(30) "Red, Green, Blue, Black, White"
-string(8) "10:20:40"
-string(21) "Friday/September/2007"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing join() : basic functionality ***
 unicode(7) "1,2,3,4"
 unicode(30) "Red, Green, Blue, Black, White"
index 943b36ac212098d6bf3614c72bbae28f4770d36f..aa6bdc23061ec60067e18b7b4a640e85ae63d40f 100644 (file)
@@ -48,21 +48,3 @@ NULL
 Warning: join(): Argument must be an array in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing join() : error conditions ***
-
--- Testing join() function with Zero arguments --
-
-Warning: Wrong parameter count for join() in %s on line %d
-NULL
-
--- Testing join() function with more than expected no. of arguments --
-
-Warning: Wrong parameter count for join() in %s on line %d
-NULL
-
--- Testing join() with less than expected no. of arguments --
-
-Warning: join(): Argument must be an array in %s on line %d
-NULL
-Done
index 853b3ca1c188768d66118684f611070648ce4435..b7dd9bc03e66922ef40429f79bd95374595b621a 100644 (file)
@@ -101,73 +101,6 @@ echo "Done\n";
 --EXPECTF--
 *** Testing join() : usage variations ***
 
---- Testing join() by supplying different values for 'glue' argument ---
--- Iteration 1 --
-string(17) "element10element2"
--- Iteration 2 --
-string(17) "element11element2"
--- Iteration 3 --
-string(21) "element112345element2"
--- Iteration 4 --
-string(21) "element1-2345element2"
--- Iteration 5 --
-string(20) "element110.5element2"
--- Iteration 6 --
-string(21) "element1-10.5element2"
--- Iteration 7 --
-string(28) "element1101234567000element2"
--- Iteration 8 --
-string(29) "element11.07654321E-9element2"
--- Iteration 9 --
-string(19) "element10.5element2"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(0) ""
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(1) "0"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(1) "1"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(7) "1Array2"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(11) "redArraypen"
--- Iteration 15 --
-string(17) "element11element2"
--- Iteration 16 --
-string(16) "element1element2"
--- Iteration 17 --
-string(17) "element11element2"
--- Iteration 18 --
-string(16) "element1element2"
--- Iteration 19 --
-string(26) "element1testObjectelement2"
--- Iteration 20 --
-string(16) "element1element2"
--- Iteration 21 --
-string(16) "element1element2"
--- Iteration 22 --
-string(16) "element1element2"
--- Iteration 23 --
-string(16) "element1element2"
--- Iteration 24 --
-string(%d) "element1Resource id #%delement2"
--- Iteration 25 --
-string(16) "element1element2"
--- Iteration 26 --
-string(16) "element1element2"
-Done
---UEXPECTF--
-*** Testing join() : usage variations ***
-
 --- Testing join() by supplying different values for 'glue' argument ---
 -- Iteration 1 --
 unicode(17) "element10element2"
index 1018ef849a1ef65300dcf908a66b1043381444f6..6634cd1aca4a4bb83f74382d14636150c20da4a6 100644 (file)
@@ -193,100 +193,3 @@ NULL
 Warning: join(): Invalid arguments passed in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing join() : usage variations ***
-
---- Testing join() by supplying different values for 'pieces' argument ---
--- Iteration 1 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 2 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 3 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 4 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 6 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 7 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 8 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 15 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 16 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 17 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 18 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 19 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 21 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 22 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
--- Iteration 23 --
-
-Warning: join(): Invalid arguments passed in %s on line %d
-NULL
-Done
index 6d2eb88e627a4a8f6a1888361359a68ff9846deb..887a22b32d204cf6c09f25fcd13ab6f5b678ec4a 100644 (file)
@@ -57,49 +57,6 @@ echo "Done\n";
 --EXPECTF--
 *** Testing join() : usage variations ***
 -- Iteration 1 --
-string(6) "1], [2"
--- Iteration 2 --
-string(10) "1.1], [2.2"
--- Iteration 3 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(14) "Array], [Array"
--- Iteration 4 --
-string(5) "], [1"
--- Iteration 5 --
-string(0) ""
--- Iteration 6 --
-string(0) ""
--- Iteration 7 --
-string(36) "a], [aaaa], [b], [bbbb], [c], [ccccc"
--- Iteration 8 --
-string(19) "one], [two], [three"
--- Iteration 9 --
-string(11) "1], [2], [3"
--- Iteration 10 --
-string(20) "10], [20], [40], [30"
--- Iteration 11 --
-string(23) "ten], [twenty], [thirty"
--- Iteration 12 --
-string(16) "1], [two], [four"
--- Iteration 13 --
-string(12) "null], [], ["
--- Iteration 14 --
-string(22) "true], [false], [], [1"
--- Iteration 15 --
-string(14) "emptys], [], ["
--- Iteration 16 --
-string(21) "], [], [], [], [], [1"
--- Iteration 17 --
-string(11) "4], [5], [6"
--- Iteration 18 --
-string(13) "10], [20], [3"
-Done
---UEXPECTF--
-*** Testing join() : usage variations ***
--- Iteration 1 --
 unicode(6) "1], [2"
 -- Iteration 2 --
 unicode(10) "1.1], [2.2"
index ac712a418841fa1b9eed94aa7e825a222d870bee..526caf20f462be7dd7740dea8c0ed904949e01ed 100644 (file)
Binary files a/ext/standard/tests/strings/join_variation4.phpt and b/ext/standard/tests/strings/join_variation4.phpt differ
index 1d7d0c151d7e351f0f2f8cd3d880ba2ec979356b..196cfa3e37e3a1e7234bf2e142f487c917cd6474 100644 (file)
@@ -35,24 +35,6 @@ echo "Done\n";
 
 Notice: Array to string conversion in %s on line %d
 
-Notice: Array to string conversion in %s on line %d
-string(27) "ArrayTESTArrayTESTPHPTEST50"
-
-Notice: Array to string conversion in %s on line %d
-string(19) "1Array2Array3Array4"
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(18) "Array2Array2PHP250"
-string(10) "1, 2, 3, 4"
-string(8) "one, two"
-Done
---UEXPECTF--
-*** Testing implode() : usage variations - sub arrays ***
-
-Notice: Array to string conversion in %s on line %d
-
 Notice: Array to string conversion in %s on line %d
 unicode(27) "ArrayTESTArrayTESTPHPTEST50"
 
index 44c75f56a5ba4a771cadd4bc0b25573019a45a65..65861983c91c5a7a20601e497abb5c3139578d1a 100644 (file)
Binary files a/ext/standard/tests/strings/join_variation6.phpt and b/ext/standard/tests/strings/join_variation6.phpt differ
index 2b5fea3e3763c0aa4673308e0d3e789ae5e99cbf..759a0579b1cfc44f39c85678a1dcbbc1afebf55a 100644 (file)
Binary files a/ext/standard/tests/strings/lcfirst.phpt and b/ext/standard/tests/strings/lcfirst.phpt differ
index b775720221dd2fb1ab3d3408357d35f2f9eb20ba..a2aa2aa6a2f552786f85a1dcefb645cf7ec03bae 100644 (file)
@@ -50,34 +50,6 @@ NULL
 Warning: ltrim() expects at most 2 parameters, 3 given in %s on line %d
 NULL
 
-*** Testing with heredoc string ***
-string(17) "ng heredoc string"
-
-*** Testing Normal Behaviour ***
-string(10) "ltrim test"
-string(13) "   ltrim test"
-string(18) "        ltrim test"
-string(18) "        ltrim test"
-string(10) "ltrim test"
-string(11) " ltrim test"
-string(10) "ltrim test"
-string(10) "ltrim test"
-string(10) "ltrim test"
-
-*** Testing for  scalar argument ***
-string(5) "12345"
-
-*** Testing for  NULL argument ***
-string(0) ""
-
-Done
---UEXPECTF--
-Warning: ltrim() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
-Warning: ltrim() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-
 *** Testing with heredoc string ***
 unicode(17) "ng heredoc string"
 
index 2704338756b4ffeedeb8311f12c04acf15628183..4ff971fc24cef4c3e2eb22fc8d64c7bae6e4a78e 100644 (file)
Binary files a/ext/standard/tests/strings/md5.phpt and b/ext/standard/tests/strings/md5.phpt differ
index c368e49978b9e5e10872c6d9e788b96c071949a1..e6c077942089266e0f811be917902b4b1e31dedc 100644 (file)
Binary files a/ext/standard/tests/strings/md5_file.phpt and b/ext/standard/tests/strings/md5_file.phpt differ
index 81858c4e0597cb47e8e36bce0013538b72a029b1..5b5183e461a7a93278a4f931f299aa4f36e967c9 100644 (file)
@@ -25,21 +25,7 @@ foreach($array as $str) {
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: metaphone() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-string(0) ""
-string(0) ""
-bool(false)
-bool(false)
-string(6) "FLTFRS"
-string(6) "FLTFRS"
-string(26) "0FLFRWRTKRFLNKHTLSLN0KLTR0"
-string(56) "BT0XTFHRRHLTNTRTRNTPSNKLWRNRFTBF0MSWPNK0FNRKW0TSFSTLWNKS"
-string(69) "ANT0NTWSKNFLYNKBKTMRTRW00SPTF0R0FSRNNTBHNTT0WNTRRTWLFNK0TTMRXSBRNTBLK"
-string(56) "0NKTWSTSFRS0YKLTPRSFNT0TSTNTMNSF0MNTNSWSTPLTW00FTFLMNLFT"
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: metaphone() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 unicode(0) ""
index 434000d0aefdb004eb81ab62a89d655f111407cf..5aa17ff6b3b032b9ebef777d62f4bbe208ffcebe 100755 (executable)
@@ -17,11 +17,6 @@ var_dump( money_format("X%nY", 3.1415));
 var_dump(money_format("AAAAA%n%n%n%n", NULL));
 ?>
 --EXPECTF--
-string(7) "X$3.14Y"
-
-Warning: money_format(): Only a single %ci or %cn token can be used in %s on line %d
-bool(false)
---UEXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 unicode(7) "X$3.14Y"
 
index af66bedbd8ecdc6e4f7bff4c201039428a28e194..9c031ac8863931f74fea9800d7036e63b2e25cb1 100644 (file)
@@ -16,49 +16,6 @@ nl2br() function
        
 ?>
 --EXPECT--
-string(4) "test"
-string(0) ""
-string(0) ""
-string(8) "<br />
-"
-string(7) "<br />
-"
-string(7) "<br />
-"
-string(8) "<br />
-
-"
-string(44) "<br />
-
-<br />
-<br />
-<br />
-<br />
-<br />
-"
-string(47) "<br />
-
-<br />
-<br />
-
-<br />
-
-<br />
-<br />
-"
-string(66) "<br />
-
-<br />
-<br />
-<br />
-<br />
-
-<br />
-<br />
-<br />
-<br />
-"
---UEXPECT--
 unicode(4) "test"
 unicode(0) ""
 unicode(0) ""
index b98ed6ebea3d6d0eda7bfed9a5db166665c16df7..8a49f8c47dba2cb59ced87b513c40cdc5ca14f95 100644 (file)
@@ -45,44 +45,7 @@ foreach( $strings as $str ){
 }
 echo "Done";
 ?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
--- Iteration 1 --
-string(17) "Hello<br />
-World"
--- Iteration 2 --
-string(31) "<br />
-Hello<br />
-World<br />
-"
--- Iteration 3 --
-string(17) "Hello<br />
-World"
--- Iteration 4 --
-string(31) "<br />
-Hello<br />
-World<br />
-"
--- Iteration 5 --
-string(18) "Hello<br />
-World"
--- Iteration 6 --
-string(34) "<br />
-Hello<br />
-World<br />
-"
--- Iteration 7 --
-string(7) "<br />
-"
--- Iteration 8 --
-string(14) "<br />
-<br />
-"
--- Iteration 9 --
-string(17) "Hello<br />
-World"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing nl2br() : usage variations ***
 -- Iteration 1 --
 string(17) "Hello<br />
index 76ea8663774acde8999e97496ec494292f6154df..adac6cd2e50f06edcdba24cedd511f7a8c9ccf8a 100644 (file)
@@ -43,32 +43,7 @@ foreach( $strings as $str ){
 }
 echo "Done";
 ?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
--- Iteration 1 --
-string(2) "\n"
--- Iteration 2 --
-string(2) "\r"
--- Iteration 3 --
-string(4) "\r\n"
--- Iteration 4 --
-string(12) "Hello\nWorld"
--- Iteration 5 --
-string(12) "Hello\rWorld"
--- Iteration 6 --
-string(14) "Hello\r\nWorld"
--- Iteration 7 --
-string(7) "<br />
-"
--- Iteration 8 --
-string(14) "<br />
-<br />
-"
--- Iteration 9 --
-string(17) "Hello<br />
-World"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing nl2br() : usage variations ***
 -- Iteration 1 --
 unicode(2) "\n"
index 203ec7a38dc6e9b10adfa758ad1a17e00fdb44b8..e6b0e5b75449891766d47d2aaa426cc2e81a723c 100644 (file)
@@ -34,46 +34,7 @@ var_dump(nl2br($heredoc_str2) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
-string(147) "<br />
-<br />
-
-<br />
-
-<br />
-<br />
-<br />
-nn<br />
-<br />
-<br />
-n<br />
-
-rr<br />
-<br />
-<br />
-r<br />
-<br />
-
-<br />
-
-<br />
-<br />
-r<br />
-n"
-string(118) "Hello<br />
-World<br />
-This is        es       for <br />
- <br />
-ew lines<br />
-like <br />
- <br />
- <br />
- <br />
-
- and etc"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing nl2br() : usage variations ***
 unicode(147) "<br />
 <br />
index 049130baca27e9eeeb054bbcde503a724a0a8a10..83baeb194540c89d765edbfa7676cf90a006ebb5 100644 (file)
@@ -28,20 +28,7 @@ foreach( $strings as $str ){
 }
 echo "Done";
 ?>
---EXPECTF--
-*** Testing nl2br() : usage variations ***
-string(29) "<html>Hello<br />world</html>"
-string(19) "<html><br /></html>"
-string(45) "<html><br />
-Hello<br />
-world<br />
-</html>"
-string(37) "<html><br />
- <br />
- <br />
-</html>"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing nl2br() : usage variations ***
 unicode(29) "<html>Hello<br />world</html>"
 unicode(19) "<html><br /></html>"
index 784e39b76a8362c5c842b727d3990d36c733ee27..a943029aaa4ba3dbee6b1425e905fb02d048b6fa 100644 (file)
@@ -90,69 +90,6 @@ echo "Done";
 --EXPECTF--
 *** Testing nl2br() : 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) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(1) "1"
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-
-Warning: nl2br() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 22 --
-string(9) "My String"
--- Iteration 23 --
-string(0) ""
--- Iteration 24 --
-string(0) ""
-Done
---UEXPECTF--
-*** Testing nl2br() : usage variations ***
--- Iteration 1 --
 unicode(1) "0"
 -- Iteration 2 --
 unicode(1) "1"
index 3b771533051fdf20b887bbe7d0a3fbd69897fc55..4ba66d4b619c871b892e4574eab302dec0c6ba12 100644 (file)
@@ -26,87 +26,7 @@ var_dump(pathinfo(__FILE__, PATHINFO_DIRNAME|PATHINFO_BASENAME));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: pathinfo() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-array(2) {
-  ["basename"]=>
-  string(0) ""
-  ["filename"]=>
-  string(0) ""
-}
-array(4) {
-  ["dirname"]=>
-  string(1) "."
-  ["basename"]=>
-  string(1) "."
-  ["extension"]=>
-  string(0) ""
-  ["filename"]=>
-  string(0) ""
-}
-array(4) {
-  ["dirname"]=>
-  string(1) "."
-  ["basename"]=>
-  string(2) ".."
-  ["extension"]=>
-  string(0) ""
-  ["filename"]=>
-  string(1) "."
-}
-array(3) {
-  ["dirname"]=>
-  string(1) "%e"
-  ["basename"]=>
-  string(0) ""
-  ["filename"]=>
-  string(0) ""
-}
-array(4) {
-  ["dirname"]=>
-  string(1) "."
-  ["basename"]=>
-  string(1) "."
-  ["extension"]=>
-  string(0) ""
-  ["filename"]=>
-  string(0) ""
-}
-array(4) {
-  ["dirname"]=>
-  string(1) "%e"
-  ["basename"]=>
-  string(1) "."
-  ["extension"]=>
-  string(0) ""
-  ["filename"]=>
-  string(0) ""
-}
-array(4) {
-  ["dirname"]=>
-  string(1) "."
-  ["basename"]=>
-  string(10) ".cvsignore"
-  ["extension"]=>
-  string(9) "cvsignore"
-  ["filename"]=>
-  string(0) ""
-}
-string(12) "pathinfo.php"
-string(8) "pathinfo"
-string(3) "php"
-string(%d) "%s%estrings"
-string(%d) "%s%estrings"
-string(12) "pathinfo.php"
-string(3) "php"
-string(12) "pathinfo.php"
-string(%d) "%s%estrings"
-string(12) "pathinfo.php"
-string(%d) "%s%estrings"
-string(%d) "%s%estrings"
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: pathinfo() expects at least 1 parameter, 0 given in %s on line %d
 NULL
 array(2) {
index 4f7ef909e9fd7a7f3db38450c7c54e03a4076e79..d9376b101ad62f29310ab702742db9354eb9c6d3 100644 (file)
@@ -39,7 +39,7 @@ var_dump(php_strip_whitespace($filename));
 @unlink($filename);
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Warning: php_strip_whitespace() expects exactly 1 parameter, 0 given in %s on line %d
 bool(false)
 
index f18d983c724d6e94a66d9323219da044da536664..dc406247e07df053f0afaf11e2943ea2cad98c79 100644 (file)
Binary files a/ext/standard/tests/strings/rtrim.phpt and b/ext/standard/tests/strings/rtrim.phpt differ
diff --git a/ext/standard/tests/strings/setlocale_basic1.phpt b/ext/standard/tests/strings/setlocale_basic1.phpt
deleted file mode 100644 (file)
index ebea5dd..0000000
+++ /dev/null
@@ -1,126 +0,0 @@
---TEST--
-Test setlocale() function : basic functionality - setting system locale to a specific   
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN') 
-  die('skip Not valid for windows');
-
-if( ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-
-if (setlocale(LC_ALL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf8", "ja_JP.utf8", "el_GR.utf8", "nl_NL.utf8") === false)
-  die('skip available locales not usable');
-?>
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
-              : string setlocale(int $category , array $locale);  
- * Description: Sets locale information.Returns the new current locale , 
- *              or FALSE if locale functinality is not implemented in this platform. 
- * Source code: ext/standard/string.c
-*/
-
-/* test setlocale by specifying a specific locale as input */
-
-/* Prototype  : array list_system_locales( void )
-   Description: To get the currently installed locle in this platform 
-   Arguments  : Nil
-   Returns    : set of locale as array
-*/
-function list_system_locales() {
-  // start the buffering of next command to internal output buffer
-  ob_start();
-
-  // run the command 'locale -a' to fetch all locales available in the system
-  system('locale -a');
-
-  // get the contents from the internal output buffer
-  $all_locales = ob_get_contents();
-
-  // fflush and end the output buffering to internal output buffer
-  ob_end_clean();
-
-  $system_locales = explode("\n", $all_locales);
-
-  // return all the locale found in the system
-  return $system_locales;
-}
-
-/* Collect existing system locales and set one among them,
-   Check the currency settings in the new locale  */
-echo "*** Testing setlocale() : basic functionality - set to a specific locale ***\n";
-
-//set of locales to be used
-$common_locales = array(
-  "english_US"=> "en_US.utf8", 
-  "english_AU" => "en_AU.utf8", 
-  "korean_KR" => "ko_KR.utf8", 
-  "Chinese_zh" => "zh_CN.utf8",
-  "germen_DE" => "de_DE.utf8",
-  "spanish_es" => "es_EC.utf8",
-  "french_FR" => "fr_FR.utf8",
-  "japanees_JP" => "ja_JP.utf8",
-  "greek_GR" => "el_GR.utf8",
-  "dutch_NL" => "nl_NL.utf8"
-);
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
-  "en_US.utf8" => "USD",
-  "en_AU.utf8" => "AUD",
-  "ko_KR.utf8" => "KRW",
-  "zh_CN.utf8" => "CNY",
-  "de_DE.utf8" => "EUR",
-  "es_EC.utf8" => "USD",
-  "fr_FR.utf8" => "EUR",
-  "ja_JP.utf8" => "JPY",
-  "el_GR.utf8" => "EUR",
-  "nl_NL.utf8" =>"EUR"
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// set the system locale to a locale, choose the right locale by 
-// finding a common locale in commonly used locale stored in 
-// $common_locales & locales that are available in the system, stored 
-// in $all_system_locales. 
-echo "Setting system locale(LC_ALL) to ";
-foreach($common_locales as $value) {
-  // check if a commonly used locale is installed in the system 
-  if(in_array($value, $all_system_locales)){
-    echo "$value\n"; // print, this is found
-    // set the found locale as current locale
-    var_dump(setlocale(LC_ALL, $value ));
-    // stop here 
-    break;
-  }
-  else{
-    // continue to check if next commonly locale is installed in the system
-    continue;
-  }
-}
-
-// check that new locale setting is effective
-// use localeconv() to get the details of currently set locale
-$locale_info = localeconv();
-
-//checking currency settings in the new locale to see if the setlocale() was effective
-$new_currency = trim($locale_info['int_curr_symbol']);
-echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$value].", Found: ".$new_currency."\n";
-echo "Test ";
-if(trim($currency_symbol[$value]) == $new_currency){
-  echo "PASSED.";
-} else {
-  echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : basic functionality - set to a specific locale ***
-Setting system locale(LC_ALL) to %s
-string(%d) %s
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
diff --git a/ext/standard/tests/strings/setlocale_basic2.phpt b/ext/standard/tests/strings/setlocale_basic2.phpt
deleted file mode 100644 (file)
index 7621e44..0000000
+++ /dev/null
@@ -1,129 +0,0 @@
---TEST--
-Test setlocale() function : basic functionality - set locale using an array
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-if (setlocale(LC_ALL, "en_US.utf8", "en_AU.utf8", "ko_KR.utf8", "zh_CN.utf8", "de_DE.utf8", "es_EC.utf8", "fr_FR.utf8", "ja_JP.utf8", "el_GR.utf8", "nl_NL.utf8") === false)
-  die('skip available locales not usable');
-?>
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
-              : string setlocale(int $category , array $locale);  
- * Description: Sets locale information.Returns the new current locale , or FALSE
-                if locale  functinality is not implemented in this platform. 
- * Source code: ext/standard/string.c
-*/
-
-/* Test the setlocale() when an array is provided as input containing list of locales */
-
-/* Prototype  : array list_system_locales( void )
- * Description: To get the currently installed locle in this platform 
- * Arguments  : Nil
- * Returns    : set of locale as array
-*/
-function list_system_locales() {
-  // start the buffering of next command to internal output buffer
-  ob_start();
-
-  // run the command 'locale -a' to fetch all locales available in the system
-  system('locale -a');
-
-  // get the contents from the internal output buffer
-  $all_locales = ob_get_contents();
-
-  // fflush and end the output buffering to internal output buffer
-  ob_end_clean();
-
-  $system_locales = explode("\n", $all_locales);
-
-  // return all the locale found in the system
-  return $system_locales;
-}
-
-/* Collect existing system locales and prepare a list of locales that can be used as 
-   input to setlocale() */
-
-echo "*** Testing setlocale() with an array containing list of locales ***\n";
-
-//set of locales to be used
-$common_locales = array(
-  "english_US"=> "en_US.utf8", 
-  "english_AU" => "en_AU.utf8", 
-  "korean_KR" => "ko_KR.utf8", 
-  "Chinese_zh" => "zh_CN.utf8",
-  "germen_DE" => "de_DE.utf8",
-  "spanish_es" => "es_EC.utf8",
-  "french_FR" => "fr_FR.utf8",
-  "japanees_JP" => "ja_JP.utf8",
-  "greek_GR" => "el_GR.utf8",
-  "dutch_NL" => "nl_NL.utf8"
-);
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
-  "en_US.utf8" => "USD",
-  "en_AU.utf8" => "AUD",
-  "ko_KR.utf8" => "KRW",
-  "zh_CN.utf8" => "CNY",
-  "de_DE.utf8" => "EUR",
-  "es_EC.utf8" => "USD",
-  "fr_FR.utf8" => "EUR",
-  "ja_JP.utf8" => "JPY",
-  "el_GR.utf8" => "EUR",
-  "nl_NL.utf8" =>"EUR"
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// prepare the list of locales based on list of locales found in the system
-// and those known to this script ( as stored $common_locales) which can be
-// given as input to setlocale(), later verify the new locale setting by
-// checking the currency setting of the system(use localconv())
-$list_of_locales = array();
-foreach($common_locales as $value) {
-  if( in_array($value, $all_system_locales) ) {
-    $list_of_locales[] = $value;
-  }
-}
-
-// Now $list_of_locales array contains the locales that can be passed to 
-// setlocale() function.
-echo "-- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --\n";
-if ( count($list_of_locales) > 0 ) {
-  // set locale to $list_of_locales
-  $new_locale = setlocale(LC_ALL, $list_of_locales);
-
-  // dump the current locale
-  var_dump($new_locale);
-
-  // check that new locale setting is effective
-  // use localeconv() to get the details of currently set locale
-  $locale_info = localeconv();
-  $new_currency = trim($locale_info['int_curr_symbol']);
-
-  echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$new_locale].", Found: ".$new_currency."\n";
-  echo "Test ";
-
-  if(trim($currency_symbol[$new_locale]) == $new_currency){
-    echo "PASSED.\n";
-  } else { 
-    echo "FAILED.\n";
-  }
-} else {
-  echo "Test FAILED.\n";
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() with an array containing list of locales ***
--- Testing setlocale() : 'category' argument as LC_ALL & 'locale' argument as an array --
-string(%d) "%s"
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
diff --git a/ext/standard/tests/strings/setlocale_basic3.phpt b/ext/standard/tests/strings/setlocale_basic3.phpt
deleted file mode 100644 (file)
index 30169ac..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
---TEST--
-Test setlocale() function : basic functionality - passing multiple locales as argument
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false)
-  die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
-?>
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
-              : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
-                if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* Test the setlocale() when multiple locales are provided as argument */
-
-/* Prototype  : array list_system_locales( void )
-   Description: To get the currently installed locle in this platform 
-   Arguments  : Nil
-   Returns    : set of locale as array
-*/
-function list_system_locales() {
-  // start the buffering of next command to internal output buffer
-  ob_start();
-
-  // run the command 'locale -a' to fetch all locales available in the system
-  system('locale -a');
-
-  // get the contents from the internal output buffer
-  $all_locales = ob_get_contents();
-
-  // fflush and end the output buffering to internal output buffer
-  ob_end_clean();
-
-  $system_locales = explode("\n", $all_locales);
-
-  // return all the locale found in the system
-  return $system_locales;
-}
-
-/* Collect existing system locales and get three locales that can be use to 
-   pass as argument to setlocale() */
-echo "*** Testing setlocale() by passing multiple locales as argument ***\n";
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
-  "en_US.utf8" => "USD",
-  "ko_KR.utf8" => "KRW",
-  "zh_CN.utf8" => "CNY",
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// Now check for three locales that is present in the system and use that as argument to setlocale()
-if( in_array("en_US.utf8",$all_system_locales) ||
-    in_array("Ko_KR.utf8",$all_system_locales) ||
-    in_array("zh_CN.utf8",$all_system_locales) ) {
-  echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --\n";
-
-  // call setlocale()
-  $new_locale = setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8");
-
-  // dump the name of the new locale set by setlocale()
-  var_dump($new_locale);
-
-  // check that new locale setting is effective
-  // use localeconv() to get the details of currently set locale
-  $locale_info = localeconv();
-  $new_currency = trim($locale_info['int_curr_symbol']);
-
-  echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$new_locale].", Found: ".$new_currency."\n";
-  echo "Test ";
-  if( trim($currency_symbol[$new_locale]) == $new_currency) {
-    echo "PASSED.\n";
-  } else {
-    echo "FAILED.\n";
-  }
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() by passing multiple locales as argument ***
--- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.utf8, Ko_KR.utf8, zh_CN.utf8) --
-string(%d) "%s"
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
diff --git a/ext/standard/tests/strings/setlocale_error.phpt b/ext/standard/tests/strings/setlocale_error.phpt
deleted file mode 100644 (file)
index 080d922..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
---TEST--
-Test setlocale() function : error conditions
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-?>
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
-              : string setlocale(int $category , array $locale);  
- * Description: Sets locale information.Returns the new current locale , or FALSE if locale functinality is not implemented in this platform. 
- * Source code: ext/standard/string.c
-*/
-
-echo "*** Testing setlocale() : error conditions ***\n";
-
-// Zero argument
-echo "\n-- Testing setlocale() function with Zero arguments --";
-var_dump( setlocale());
-
-// One argument
-echo "\n-- Testing setlocale() function with One argument, 'category' = LC_ALL --";
-var_dump( setlocale(LC_ALL) );
-
-echo "\n-- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --\n";
-//Invalid array of locales
-$invalid_locales = array("en_US.invalid", "en_AU.invalid", "ko_KR.invalid");
-var_dump( setlocale(LC_ALL,$invalid_locales) );
-
-echo "\n-- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --\n";
-//Invalid array of locales
-var_dump( setlocale(LC_ALL,"en_US.invalid", "en_AU.invalid", "ko_KR.invalid") );
-
-echo "\n-- Testing setlocale() function with invalid category --\n";
-//invalid $category
-$invalid_category = "TEST";
-var_dump( setlocale($invalid_category,"en_US.utf8") );
-echo "\nDone";
-?>
---EXPECTF--
-
-*** Testing setlocale() : error conditions ***
-
--- Testing setlocale() function with Zero arguments --
-Warning: Wrong parameter count for setlocale() in %s on line %d
-NULL
-
--- Testing setlocale() function with One argument, 'category' = LC_ALL --
-Warning: Wrong parameter count for setlocale() in %s on line %d
-NULL
-
--- Testing setlocale() function with invalid locale array, 'category' = LC_ALL --
-bool(false)
-
--- Testing setlocale() function with invalid multiple locales, 'category' = LC_ALL --
-bool(false)
-
--- Testing setlocale() function with invalid category --
-
-Deprecated: setlocale(): Passing locale category name as string is deprecated. Use the LC_* -constants instead in %s on line %d
-
-Warning: setlocale(): Invalid locale category name TEST, must be one of LC_ALL, LC_COLLATE, LC_CTYPE, LC_MONETARY, LC_NUMERIC, or LC_TIME in %s on line %d
-bool(false)
-
-Done
diff --git a/ext/standard/tests/strings/setlocale_variation1.phpt b/ext/standard/tests/strings/setlocale_variation1.phpt
deleted file mode 100644 (file)
index a3652e2..0000000
+++ /dev/null
@@ -1,95 +0,0 @@
---TEST--
-Test setlocale() function : usage variations - passing multiple valid/invlaid locales as argument
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-if (setlocale(LC_ALL, "en_US.utf8", "Ko_KR.utf8", "zh_CN.utf8") === false)
-  die('skip en_US.utf8/Ko_KR.utf8/zh_CN.utf8 locales not available');
-?>
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
-              : string setlocale(int $category , array $locale);
- * Description: Sets locale information.Returns the new current locale , or FALSE
-                if locale functinality is not implemented in this platform.
- * Source code: ext/standard/string.c
-*/
-
-/* Test the setlocale() when multiple valid/invalid locales are provided as argument */
-
-/* Prototype  : array list_system_locales( void )
-   Description: To get the currently installed locle in this platform 
-   Arguments  : Nil
-   Returns    : set of locale as array
-*/
-function list_system_locales() {
-  // start the buffering of next command to internal output buffer
-  ob_start();
-
-  // run the command 'locale -a' to fetch all locales available in the system
-  system('locale -a');
-
-  // get the contents from the internal output buffer
-  $all_locales = ob_get_contents();
-
-  // fflush and end the output buffering to internal output buffer
-  ob_end_clean();
-
-  $system_locales = explode("\n", $all_locales);
-
-  // return all the locale found in the system
-  return $system_locales;
-}
-
-/* Collect existing system locales and get 2 valid locales that can be use to 
-   pass as argument to setlocale(), pass 2 invalid arguments along with two valid argumentsss */
-echo "*** Testing setlocale() by passing multiple valid/invalid locales as argument ***\n";
-
-//set of currency symbol according to above list of locales
-$currency_symbol = array(
-  "en_US.utf8" => "USD",
-  "ko_KR.utf8" => "KRW",
-  "zh_CN.utf8" => "CNY"
-);
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-// Now check for three locales that is present in the system and use that as argument to setlocale()
-if( in_array("en_US.utf8",$all_system_locales) ||
-    in_array("Ko_KR.utf8",$all_system_locales) ||
-    in_array("zh_CN.utf8",$all_system_locales) ) {
-  echo "-- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invalid, zh_CN.utf8) --\n";
-
-  // call setlocale()
-  $new_locale = setlocale(LC_ALL, "en_US.invalid", "en_US.utf8", "Ko_KR.utf8", "KO_KR.invalid", "zh_CN.utf8");
-
-  // dump the name of the new locale set by setlocale()
-  var_dump($new_locale);
-
-  // check that new locale setting is effective
-  // use localeconv() to get the details of currently set locale
-  $locale_info = localeconv();
-  $new_currency = trim($locale_info['int_curr_symbol']);
-
-  echo "Checking currency settings in the new locale, expected: ".$currency_symbol[$new_locale].", Found: ".$new_currency."\n";
-  echo "Test ";
-  if( trim($currency_symbol[$new_locale]) == $new_currency) {
-    echo "PASSED.\n";
-  } else {
-    echo "FAILED.\n";
-  }
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() by passing multiple valid/invalid locales as argument ***
--- Testing setlocale() by giving 'category' as LC_ALL & multiple locales(en_US.invalid, en_US.utf8, Ko_KR.utf8, KO_KR.invalid, zh_CN.utf8) --
-string(%d) "%s"
-Checking currency settings in the new locale, expected: %s, Found: %s
-Test PASSED.
-Done
diff --git a/ext/standard/tests/strings/setlocale_variation2.phpt b/ext/standard/tests/strings/setlocale_variation2.phpt
deleted file mode 100644 (file)
index e3f874a..0000000
+++ /dev/null
@@ -1,91 +0,0 @@
---TEST--
-Test setlocale() function : usage variations - Setting all available locales in the platform
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-?>
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
-              : string setlocale(int $category , array $locale);  
- * Description: Sets locale information.Returns the new current locale , or FALSE 
-                if locale functinality is not implemented in this platform. 
- * Source code: ext/standard/string.c
-*/
-
-/* setlocale() to set all available locales in the system and check the success count */
-echo "*** Testing setlocale() : usage variations ***\n";
-
-/* Prototype  : array list_system_locales( void )
- * Description: To get the currently installed locle in this platform 
- * Arguments  : Nil
- * Returns    : set of locale as array
-*/
-function list_system_locales() {
-  // start the buffering of next command to internal output buffer
-  ob_start();
-
-  // run the command 'locale -a' to fetch all locales available in the system
-  system('locale -a');
-
-  // get the contents from the internal output buffer
-  $all_locales = ob_get_contents();
-
-  // fflush and end the output buffering to internal output buffer
-  ob_end_clean();
-
-  $system_locales = explode("\n", $all_locales);
-
-  // return all the locale found in the system
-  return $system_locales;
-}
-
-// gather all the locales installed in the system
-$all_system_locales = list_system_locales();
-
-//try different locale names   
-$failure_locale = array();
-$success_count = 0;
-
-echo "-- Test setlocale() with all available locale in the system --\n";
-// gather all locales installed in the system(stored $all_system_locales),
-// try n set each locale using setlocale() and keep track failures, if any
-foreach($all_system_locales as $value){
-  //set locale to $value, if success, count increments
-  if(setlocale(LC_ALL,$value )){
-   $success_count++;
-  }
-  else{
-   //failure values are put in to an array $failure_locale
-   $failure_locale[] = $value;
-  }
-}
-
-echo "No of locales found on the machine = ".count($all_system_locales)."\n";
-echo "No of setlocale() success = ".$success_count."\n";
-echo "Expected no of failures = 0\n";
-echo "Test ";
-// check if there were any failure of setlocale() function earlier, if any 
-// failure then dump the list of failing locales
-if($success_count != count($all_system_locales)){
-  echo "FAILED\n";
-  echo "Names of locale() for which setlocale() failed ...\n";
-  var_dump($failure_locale);
-}
-else{
-  echo "PASSED\n";
-}
-
-echo "Done\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations ***
--- Test setlocale() with all available locale in the system --
-No of locales found on the machine = %d
-No of setlocale() success = %d
-Expected no of failures = 0
-Test PASSED
-Done
diff --git a/ext/standard/tests/strings/setlocale_variation3.phpt b/ext/standard/tests/strings/setlocale_variation3.phpt
deleted file mode 100644 (file)
index a09c6ea..0000000
+++ /dev/null
@@ -1,159 +0,0 @@
---TEST--
-Test setlocale() function : usage variations - setting system locale = 0
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-if (setlocale(LC_ALL,'en_US.utf8') === false)
-  die('skip en_US.utf8 locale not available');
-?>
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
- *            : string setlocale(int $category , array $locale);  
- * Description: Sets locale information.Returns the new current locale , or FALSE
- *              if locale functinality is not implemented in this platform. 
- * Source code: ext/standard/string.c
-*/
-
-/* If locale is "0", the locale setting is not affected, only the current setting is returned */
-
-echo "*** Testing setlocale() : usage variations - setting system locale = 0 ***\n";
-$locale_info_before = array();
-$locale_info_after = array();
-
-//initially giving the locale
-setlocale(LC_ALL,"en_US.utf8");
-
-echo "Locale info, before setting the locale\n";
-//returns current locale,before executing setlocale().
-$locale_info_before = localeconv();
-
-var_dump($locale_info_before);
-
-//Testing setlocale()  by giving locale = 0
-echo "Setting system locale, category = LC_ALL and locale = 0\n";
-setlocale(LC_ALL, 0);
-
-echo "Locale info, after setting the locale\n";
-//returns current locale,after executing setlocale().
-$locale_info_after = localeconv();
-
-var_dump($locale_info_after);
-
-echo "Checking locale in the system, Expected : no change in the existing locale\n";
-echo "Test ";
-if($locale_info_before ==  $locale_info_after){
-  echo "PASSED.";
-} else {
-  echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations - setting system locale = 0 ***
-Locale info, before setting the locale
-array(18) {
-  ["decimal_point"]=>
-  string(1) "."
-  ["thousands_sep"]=>
-  string(1) ","
-  ["int_curr_symbol"]=>
-  string(4) "USD "
-  ["currency_symbol"]=>
-  string(1) "$"
-  ["mon_decimal_point"]=>
-  string(1) "."
-  ["mon_thousands_sep"]=>
-  string(1) ","
-  ["positive_sign"]=>
-  string(0) ""
-  ["negative_sign"]=>
-  string(1) "-"
-  ["int_frac_digits"]=>
-  int(2)
-  ["frac_digits"]=>
-  int(2)
-  ["p_cs_precedes"]=>
-  int(1)
-  ["p_sep_by_space"]=>
-  int(0)
-  ["n_cs_precedes"]=>
-  int(1)
-  ["n_sep_by_space"]=>
-  int(0)
-  ["p_sign_posn"]=>
-  int(1)
-  ["n_sign_posn"]=>
-  int(1)
-  ["grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-  ["mon_grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-}
-Setting system locale, category = LC_ALL and locale = 0
-Locale info, after setting the locale
-array(18) {
-  ["decimal_point"]=>
-  string(1) "."
-  ["thousands_sep"]=>
-  string(1) ","
-  ["int_curr_symbol"]=>
-  string(4) "USD "
-  ["currency_symbol"]=>
-  string(1) "$"
-  ["mon_decimal_point"]=>
-  string(1) "."
-  ["mon_thousands_sep"]=>
-  string(1) ","
-  ["positive_sign"]=>
-  string(0) ""
-  ["negative_sign"]=>
-  string(1) "-"
-  ["int_frac_digits"]=>
-  int(2)
-  ["frac_digits"]=>
-  int(2)
-  ["p_cs_precedes"]=>
-  int(1)
-  ["p_sep_by_space"]=>
-  int(0)
-  ["n_cs_precedes"]=>
-  int(1)
-  ["n_sep_by_space"]=>
-  int(0)
-  ["p_sign_posn"]=>
-  int(1)
-  ["n_sign_posn"]=>
-  int(1)
-  ["grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-  ["mon_grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-}
-Checking locale in the system, Expected : no change in the existing locale
-Test PASSED.
-Done
diff --git a/ext/standard/tests/strings/setlocale_variation4.phpt b/ext/standard/tests/strings/setlocale_variation4.phpt
deleted file mode 100644 (file)
index 8044b33..0000000
+++ /dev/null
@@ -1,157 +0,0 @@
---TEST--
-Test setlocale() function : usage variations - setting system locale as null
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-if (setlocale(LC_ALL,'en_US.utf8') === false || setlocale(LC_ALL,'en_AU.utf8') === false)
-  die('skip en_US.utf8/en_AU.utf8 locales not available');
-?>
---ENV--
-LC_ALL=en_US.utf8;
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
- *            : string setlocale(int $category , array $locale);  
- * Description: Sets locale information.Returns the new current locale , or FALSE
- *              if locale functinality is not implemented in this platform. 
- * Source code: ext/standard/string.c
-*/
-
-/*If locale is NULL, the locale names will be set from the values of environment variables with the same names as the above ENV settings */
-
-echo "*** Testing setlocale() : usage variations - Setting system locale = null ***\n";
-
-//initially setting the locale
-setlocale(LC_ALL,"en_AU.utf8");
-
-echo "Locale info, before setting the locale\n";
-//returns current locale,before executing setlocale() .
-$locale_info_before = localeconv();
-var_dump($locale_info_before);
-
-//Testing setlocale()  by giving locale = null
-echo "Setting system locale, category = LC_ALL and locale = null\n";
-setlocale(LC_ALL, null);
-
-echo "Locale info, after setting the locale\n";
-//Returns Current locale,after executing setlocale().
-$locale_info_after = localeconv();
-var_dump($locale_info_after);
-
-echo "Checking new locale in the system, Expected : the locale names will be set from the values of environment variables\n";
-echo "Test ";
-if($locale_info_before != $locale_info_after){
-  echo "PASSED.";
-} else {
-  echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations - Setting system locale = null ***
-Locale info, before setting the locale
-array(18) {
-  ["decimal_point"]=>
-  string(1) "."
-  ["thousands_sep"]=>
-  string(1) ","
-  ["int_curr_symbol"]=>
-  string(4) "AUD "
-  ["currency_symbol"]=>
-  string(1) "$"
-  ["mon_decimal_point"]=>
-  string(1) "."
-  ["mon_thousands_sep"]=>
-  string(1) ","
-  ["positive_sign"]=>
-  string(0) ""
-  ["negative_sign"]=>
-  string(1) "-"
-  ["int_frac_digits"]=>
-  int(2)
-  ["frac_digits"]=>
-  int(2)
-  ["p_cs_precedes"]=>
-  int(1)
-  ["p_sep_by_space"]=>
-  int(0)
-  ["n_cs_precedes"]=>
-  int(1)
-  ["n_sep_by_space"]=>
-  int(0)
-  ["p_sign_posn"]=>
-  int(1)
-  ["n_sign_posn"]=>
-  int(1)
-  ["grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-  ["mon_grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-}
-Setting system locale, category = LC_ALL and locale = null
-Locale info, after setting the locale
-array(18) {
-  ["decimal_point"]=>
-  string(1) "."
-  ["thousands_sep"]=>
-  string(1) ","
-  ["int_curr_symbol"]=>
-  string(4) "USD "
-  ["currency_symbol"]=>
-  string(1) "$"
-  ["mon_decimal_point"]=>
-  string(1) "."
-  ["mon_thousands_sep"]=>
-  string(1) ","
-  ["positive_sign"]=>
-  string(0) ""
-  ["negative_sign"]=>
-  string(1) "-"
-  ["int_frac_digits"]=>
-  int(2)
-  ["frac_digits"]=>
-  int(2)
-  ["p_cs_precedes"]=>
-  int(1)
-  ["p_sep_by_space"]=>
-  int(0)
-  ["n_cs_precedes"]=>
-  int(1)
-  ["n_sep_by_space"]=>
-  int(0)
-  ["p_sign_posn"]=>
-  int(1)
-  ["n_sign_posn"]=>
-  int(1)
-  ["grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-  ["mon_grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-}
-Checking new locale in the system, Expected : the locale names will be set from the values of environment variables
-Test PASSED.
-Done
diff --git a/ext/standard/tests/strings/setlocale_variation5.phpt b/ext/standard/tests/strings/setlocale_variation5.phpt
deleted file mode 100644 (file)
index 4a34366..0000000
+++ /dev/null
@@ -1,161 +0,0 @@
---TEST--
-Test setlocale() function : usage variations - Setting system locale as empty string
---SKIPIF--
-<?php
-if (substr(PHP_OS, 0, 3) == 'WIN')
-  die('skip Not valid for windows');
-if(ini_get("unicode.semantics") == "1")
-  die('skip do not run when unicode on');
-if (setlocale(LC_ALL,'en_AU.utf8') === false || setlocale(LC_ALL,'en_US.utf8') === false)
-  die('skip en_AU.utf8/en_US.utf8 locales not available');
-?>
---ENV--
-LC_ALL=en_US.utf8;
---FILE--
-<?php
-/* Prototype  : string setlocale (int $category , string $locale [,string $..] )
- *            : string setlocale(int $category , array $locale);  
- * Description: Sets locale information.Returns the new current locale , or FALSE 
- *              if locale functinality is not implemented in this platform. 
- * Source code: ext/standard/string.c
-*/
-
-/* If locale is empty string "", the locale names will be set from the values of environment variables with the same names as from ENV */
-
-echo "*** Testing setlocale() : usage variations - setting system locale = \"\" ***\n";
-
-//initially setting the locale
-setlocale(LC_ALL,'en_AU.utf8');
-
-echo "Locale info, before setting the locale\n";
-
-//returns current locale,before executing setlocale() .
-$locale_info_before = localeconv();
-
-var_dump($locale_info_before);
-
-//Testing setlocale()  by giving locale = null
-echo "Setting system locale, category = LC_ALL and locale = \"\"\n";
-setlocale(LC_ALL, "");
-
-echo "Locale info, after setting the locale\n";
-
-//Returns Current locale,after executing setlocale().
-$locale_info_after = localeconv();
-
-var_dump($locale_info_after);
-
-echo "Checking new locale in the system, Expected : the locale names will be set from the values of environment variables\n";
-echo "Test ";
-if($locale_info_before != $locale_info_after){
-  echo "PASSED.";
-} else {
-  echo "FAILED.";
-}
-
-echo "\nDone\n";
-?>
---EXPECTF--
-*** Testing setlocale() : usage variations - setting system locale = "" ***
-Locale info, before setting the locale
-array(18) {
-  ["decimal_point"]=>
-  string(1) "."
-  ["thousands_sep"]=>
-  string(1) ","
-  ["int_curr_symbol"]=>
-  string(4) "AUD "
-  ["currency_symbol"]=>
-  string(1) "$"
-  ["mon_decimal_point"]=>
-  string(1) "."
-  ["mon_thousands_sep"]=>
-  string(1) ","
-  ["positive_sign"]=>
-  string(0) ""
-  ["negative_sign"]=>
-  string(1) "-"
-  ["int_frac_digits"]=>
-  int(2)
-  ["frac_digits"]=>
-  int(2)
-  ["p_cs_precedes"]=>
-  int(1)
-  ["p_sep_by_space"]=>
-  int(0)
-  ["n_cs_precedes"]=>
-  int(1)
-  ["n_sep_by_space"]=>
-  int(0)
-  ["p_sign_posn"]=>
-  int(1)
-  ["n_sign_posn"]=>
-  int(1)
-  ["grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-  ["mon_grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-}
-Setting system locale, category = LC_ALL and locale = ""
-Locale info, after setting the locale
-array(18) {
-  ["decimal_point"]=>
-  string(1) "."
-  ["thousands_sep"]=>
-  string(1) ","
-  ["int_curr_symbol"]=>
-  string(4) "USD "
-  ["currency_symbol"]=>
-  string(1) "$"
-  ["mon_decimal_point"]=>
-  string(1) "."
-  ["mon_thousands_sep"]=>
-  string(1) ","
-  ["positive_sign"]=>
-  string(0) ""
-  ["negative_sign"]=>
-  string(1) "-"
-  ["int_frac_digits"]=>
-  int(2)
-  ["frac_digits"]=>
-  int(2)
-  ["p_cs_precedes"]=>
-  int(1)
-  ["p_sep_by_space"]=>
-  int(0)
-  ["n_cs_precedes"]=>
-  int(1)
-  ["n_sep_by_space"]=>
-  int(0)
-  ["p_sign_posn"]=>
-  int(1)
-  ["n_sign_posn"]=>
-  int(1)
-  ["grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-  ["mon_grouping"]=>
-  array(2) {
-    [0]=>
-    int(3)
-    [1]=>
-    int(3)
-  }
-}
-Checking new locale in the system, Expected : the locale names will be set from the values of environment variables
-Test PASSED.
-Done
index 60fb33fd7f82ce72c58e8c53f180afcd830ca351..8e8a2a5f5209c0b516cf8e1d15c6c41adb7af8f6 100644 (file)
@@ -29,27 +29,6 @@ sha1_file($filename);
 echo "Done\n";
 ?>
 --EXPECTF--
-string(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
-string(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
-bool(true)
-string(40) "84983e441c3bd26ebaae4aa1f95129e5e54670f1"
-string(40) "84983e441c3bd26ebaae4aa1f95129e5e54670f1"
-bool(true)
-string(40) "86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"
-string(40) "86f7e437faa5a7fce15d1ddcb9eaeaea377667b8"
-bool(true)
-string(40) "e0c094e867ef46c350ef54a7f59dd60bed92ae83"
-string(40) "e0c094e867ef46c350ef54a7f59dd60bed92ae83"
-bool(true)
-string(40) "da39a3ee5e6b4b0d3255bfef95601890afd80709"
-string(40) "da39a3ee5e6b4b0d3255bfef95601890afd80709"
-bool(true)
-string(20) "%a"
-string(20) "%a"
-
-Warning: sha1_file(%ssha1.dat): failed to open stream: No such file or directory in %s on line %d
-Done
---UEXPECTF--
 unicode(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
 unicode(40) "a9993e364706816aba3e25717850c26c9cd0d89d"
 bool(true)
index fffb93673c474cc9c279446f280c2ccb032de35d..c511e022db57ab5e4bd82aa9252d2efd8ebbb18d 100644 (file)
@@ -31,29 +31,7 @@ foreach ($array as $str) {
 
 echo "Done\n";
 ?>
---EXPECTF--    
-bool(false)
-string(4) "0000"
-
-Warning: soundex() expects parameter 1 to be string, array given in %s on line %d
-NULL
-string(4) "F650"
-string(4) "T300"
-string(4) "T500"
-string(4) "O500"
-string(4) "S500"
-string(4) "T230"
-string(4) "T300"
-string(4) "H000"
-string(4) "S523"
-string(4) "A000"
-string(4) "C520"
-string(4) "I500"
-string(4) "G450"
-string(4) "A250"
-string(4) "H256"
-Done
---UEXPECTF--
+--EXPECTF--
 bool(false)
 string(4) "0000"
 
index 0a8b5012075f136b6dbc771442e063b00a482f6b..aea0829374dc1ee2a3f89126906f8883d982ed0b 100644 (file)
@@ -32,18 +32,10 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using string format ***
-string(6) "format"
-string(13) "arg1 argument"
-string(27) "arg1 argument arg2 argument"
-string(41) "arg1 argument arg2 argument arg3 argument"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using string format ***
 unicode(6) "format"
 unicode(13) "arg1 argument"
 unicode(27) "arg1 argument arg2 argument"
 unicode(41) "arg1 argument arg2 argument arg3 argument"
-Done
\ No newline at end of file
+Done
index d4de1e5e6dbd658b2193200806887820e622886b..baf05098a6849678e01905e294425bfe6e03546e 100644 (file)
@@ -33,18 +33,10 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using integer format ***
-string(6) "format"
-string(3) "111"
-string(7) "111 222"
-string(11) "111 222 333"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using integer format ***
 unicode(6) "format"
 unicode(3) "111"
 unicode(7) "111 222"
 unicode(11) "111 222 333"
-Done
\ No newline at end of file
+Done
index 9b9bb724bd2d6e64c80a942d28a443d165d82415..a8e48210215f6075da871c3c324d7e67079c077b 100644 (file)
@@ -41,18 +41,7 @@ var_dump( sprintf($format33, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using float format ***
-string(6) "format"
-string(9) "11.110000"
-string(9) "11.110000"
-string(19) "11.110000 22.220000"
-string(19) "11.110000 22.220000"
-string(29) "11.110000 22.220000 33.330000"
-string(29) "11.110000 22.220000 33.330000"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using float format ***
 unicode(6) "format"
 unicode(9) "11.110000"
@@ -61,4 +50,4 @@ unicode(19) "11.110000 22.220000"
 unicode(19) "11.110000 22.220000"
 unicode(29) "11.110000 22.220000 33.330000"
 unicode(29) "11.110000 22.220000 33.330000"
-Done
\ No newline at end of file
+Done
index 2f0aa2b534bd1679355f85704262add5e75a1980..224ed5330892a36d12120e5a4de3421482e30af5 100644 (file)
@@ -33,18 +33,10 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using bool format ***
-string(6) "format"
-string(1) "1"
-string(3) "1 0"
-string(5) "1 0 1"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using bool format ***
 unicode(6) "format"
 unicode(1) "1"
 unicode(3) "1 0"
 unicode(5) "1 0 1"
-Done
\ No newline at end of file
+Done
index f6fb040c30f8b32e02f65bc6c31073c158d34ab9..75bc7a7e672e34e3445eadae144ab2f1963f3db6 100644 (file)
@@ -33,18 +33,10 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using char format ***
-string(6) "format"
-string(1) "A"
-string(3) "A B"
-string(5) "A B C"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using char format ***
 unicode(6) "format"
 unicode(1) "A"
 unicode(3) "A B"
 unicode(5) "A B C"
-Done
\ No newline at end of file
+Done
index 522ddafdad19afa2de38e6606c0b643521740715..7ec4567cbdc2a584a370e425443df05ecaeb4074 100644 (file)
@@ -32,18 +32,10 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using exponential format ***
-string(6) "format"
-string(11) "1.000000e+3"
-string(23) "1.000000E+3 2.000000e+3"
-string(35) "1.000000e+3 2.000000E+3 3.000000e+3"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using exponential format ***
 unicode(6) "format"
 unicode(11) "1.000000e+3"
 unicode(23) "1.000000E+3 2.000000e+3"
 unicode(35) "1.000000e+3 2.000000E+3 3.000000e+3"
-Done
\ No newline at end of file
+Done
index 9b09ecf3310fb61fb8e89c54305b566f133defd8..a2f51f92127b2d758db7f23c36a2fc775e586de9 100644 (file)
@@ -35,15 +35,7 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using unsigned format ***
-string(6) "format"
-string(10) "4294966185"
-string(21) "4294966185 4293732729"
-string(29) "4294966185 4293732729 2345432"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using unsigned format ***
 unicode(6) "format"
 unicode(10) "4294966185"
index e219eb8e4e54082e65fbc069825650325de6140c..bbc059e3f4c6c11d021036d6b42d684a40071a3d 100644 (file)
@@ -35,15 +35,7 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using unsigned format ***
-string(6) "format"
-string(20) "18446744073709550505"
-string(41) "18446744073709550505 18446744073708317049"
-string(49) "18446744073709550505 18446744073708317049 2345432"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using unsigned format ***
 unicode(6) "format"
 unicode(20) "18446744073709550505"
index ab09a957249bbd7a42e042a3d3808f093fe9c3b1..dc3cf68646ecf64243a7a4d063a9e79abbae4245 100644 (file)
@@ -34,15 +34,7 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using octal format ***
-string(6) "format"
-string(2) "21"
-string(14) "21 37777777431"
-string(18) "21 37777777431 567"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using octal format ***
 unicode(6) "format"
 unicode(2) "21"
index 1d6ee9412b68b5ef2121a71ae82e8a854cc3dc1a..ada476246494f0adf00b8d861baee0a2da35af95 100644 (file)
@@ -34,15 +34,7 @@ var_dump( sprintf($format3, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using octal format ***
-string(6) "format"
-string(2) "21"
-string(25) "21 1777777777777777777431"
-string(29) "21 1777777777777777777431 567"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using octal format ***
 unicode(6) "format"
 unicode(2) "21"
index 9fc8917899634c4038774019bb46a04b777bca44..e89d8ee91b4a9862ec853f9ac1c08a629507a17c 100644 (file)
@@ -42,18 +42,7 @@ var_dump( sprintf($format33, $arg1, $arg2, $arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : basic functionality - using hexadecimal format ***
-string(6) "format"
-string(1) "b"
-string(1) "B"
-string(4) "b 84"
-string(4) "B 84"
-string(7) "b 84 b1"
-string(7) "B 84 B1"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : basic functionality - using hexadecimal format ***
 unicode(6) "format"
 unicode(1) "b"
@@ -62,4 +51,4 @@ unicode(4) "b 84"
 unicode(4) "B 84"
 unicode(7) "b 84 b1"
 unicode(7) "B 84 B1"
-Done
\ No newline at end of file
+Done
index 81e71dc6eae2e19f0e9e06c641ea62fcc3bee152..1200ab27a689b8d95c6c53e7b103a6c21960c092 100644 (file)
@@ -39,35 +39,6 @@ echo "Done";
 
 -- Testing sprintf() function with Zero arguments --
 
-Warning: Wrong parameter count for sprintf() in %s on line %d%d
-bool(false)
-
--- Testing sprintf() function with less than expected no. of arguments --
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-
-Warning: sprintf(): Too few arguments in %s on line %d%d
-bool(false)
-Done
-
---UEXPECTF--
-*** Testing sprintf() : error conditions ***
-
--- Testing sprintf() function with Zero arguments --
-
 Warning: Wrong parameter count for sprintf() in %s on line %d
 bool(false)
 
index cbe851f6a079eb7a282cb0cf9f31b388d3defcbf..22f3b90ab541e7473637e37eded26b31ea13ef2b 100755 (executable)
@@ -22,23 +22,6 @@ var_dump(sprintf("%3.4f", 1.2345678e99));
 
 ?>
 --EXPECTF--
-string(4) "1.20"
-string(4) "1.20"
-string(4) "1.20"
-string(4) "1.20"
-
-string(5) " 3.40"
-string(5) "3.40 "
-string(5) "03.40"
-string(5) "3.400"
-
-string(7) "  -5.60"
-string(7) "-5.60  "
-string(7) "-005.60"
-string(7) "-5.6000"
-
-string(105) "1234567%d.0000"
---UEXPECTF--
 unicode(4) "1.20"
 unicode(4) "1.20"
 unicode(4) "1.20"
index f6681939fcf7f3a522d279c052df1f1f84afb4be..2f45a8a3657fb3d210c6743cd4cc7dc5cb06f10f 100755 (executable)
@@ -81,40 +81,6 @@ $number = 362525200;
 var_dump(sprintf("%.3e", $number)); // outputs 3.63e+8
 ?>
 --EXPECTREGEX--
-string\(7\) \"100\.426\"
-string\(6\) \"100\.43\"
-string\(3\) \"100\"
-string\(3\) \"100\"
-string\(3\) \"144\"
-string\(3\) \"144\"
-string\(34\) \"There are 100 monkeys in the world\"
-string\(28\) \"The 100\.1 contains 0 monkeys\"
-string\(30\) \"The world contains 100 monkeys\"
-string\(76\) \"The world contains 100 monkeys.
-    That's a nice world full of 100 monkeys\.\"
-string\(33\) \"%b = '10100111101010011010101101'\"
-string\(8\) \"%c = 'A'\"
-string\(15\) \"%d = '43951789'\"
-string\(18\) \"%e = '4\.395179e\+7'\"
-string\(15\) \"%u = '43951789'\"
-(string\(17\) \"%u = '4251015507'\"|string\(27\) \"%u = '18446744073665599827'\")
-string\(22\) \"%f = '43951789\.000000'\"
-string\(16\) \"%o = '247523255'\"
-string\(15\) \"%s = '43951789'\"
-string\(14\) \"%x = '29ea6ad'\"
-string\(14\) \"%X = '29EA6AD'\"
-string\(17\) \"%\+d = '\+43951789'\"
-string\(17\) \"%\+d = '-43951789'\"
-string\(8\) \"\[monkey\]\"
-string\(12\) \"\[    monkey\]\"
-string\(12\) \"\[monkey    \]\"
-string\(12\) \"\[0000monkey\]\"
-string\(12\) \"\[####monkey\]\"
-string\(12\) \"\[many monke\]\"
-string\(10\) \"2006-12-18\"
-string\(6\) \"123\.10\"
-string\(8\) \"3\.625e\+8\"
---UEXPECTREGEX--
 unicode\(7\) \"100\.426\"
 unicode\(6\) \"100\.43\"
 unicode\(3\) \"100\"
index 5bcb8b04ddf79b210c00237573645c9678ba4526..21078c6832bf68485dbff843303ede79f1691d06 100755 (executable)
@@ -18,12 +18,6 @@ var_dump(sprintf("%01.2f", $money));
 var_dump(sprintf("%.3e", $money));
 ?>
 --EXPECT--
-string(7) "100,426"
-string(6) "100,43"
-string(11) "100,426000'"
-string(6) "123,10"
-string(8) "1.231e+2"
---UEXPECT--
 unicode(7) "100,426"
 unicode(6) "100,43"
 unicode(11) "100,426000'"
index c1b787165469b15d114a577c90f88b1fcd5ed400..901ce523313577726b94cc73c92789032d9d91df 100644 (file)
@@ -108,169 +108,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : with unexpected values for format argument ***
 
--- Iteration 1 --
-string(1) "0"
-string(1) "0"
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-string(5) "12345"
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-string(5) "-2345"
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-string(4) "10.5"
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-string(5) "-10.5"
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "101234567000"
-string(12) "101234567000"
-string(12) "101234567000"
-
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
-
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 15 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 17 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-
--- Iteration 18 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 19 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-
--- Iteration 20 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 21 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 22 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 23 --
-string(6) "Object"
-string(6) "Object"
-string(6) "Object"
-
--- Iteration 24 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 25 --
-string(0) ""
-string(0) ""
-string(0) ""
-
--- Iteration 26 --
-string(%d) "Resource id #%d"
-string(%d) "Resource id #%d"
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
-*** Testing sprintf() : with unexpected values for format argument ***
-
 -- Iteration 1 --
 unicode(1) "0"
 unicode(1) "0"
index 26d237f05ca2c6ded8c3848e1209028165338b6a..27e210e45be1e4d08b9b47835642e04c6da141b6 100644 (file)
@@ -52,281 +52,7 @@ foreach($integer_values as $int_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : float formats with integer values ***
-
--- Iteration 1 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(9) "-1.000000"
-string(1) "f"
-string(9) "-1.000000"
-string(1) "f"
-string(10) " -1.000000"
-string(10) "-1.000000 "
-string(10) "   -1.000000"
-string(10) "
--1.000000"
-string(9) "-1.000000"
-string(30) "                     -1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(18) "-2147483648.000000"
-string(1) "f"
-string(18) "-2147483648.000000"
-string(1) "f"
-string(19) " -2147483648.000000"
-string(19) "-2147483648.000000 "
-string(19) "   -2147483648.000000"
-string(19) "
--2147483648.000000"
-string(18) "-2147483648.000000"
-string(30) "            -2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(18) "-2147483647.000000"
-string(1) "f"
-string(18) "-2147483647.000000"
-string(1) "f"
-string(19) " -2147483647.000000"
-string(19) "-2147483647.000000 "
-string(19) "   -2147483647.000000"
-string(19) "
--2147483647.000000"
-string(18) "-2147483647.000000"
-string(30) "            -2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) "   2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) "             2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(17) "2147483640.000000"
-string(1) "f"
-string(17) "2147483640.000000"
-string(1) "f"
-string(18) " 2147483640.000000"
-string(18) "2147483640.000000 "
-string(18) "   2147483640.000000"
-string(18) "
-2147483640.000000"
-string(17) "2147483640.000000"
-string(30) "             2147483640.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(11) "4667.000000"
-string(1) "f"
-string(11) "4667.000000"
-string(1) "f"
-string(12) " 4667.000000"
-string(12) "4667.000000 "
-string(12) "   4667.000000"
-string(12) "
-4667.000000"
-string(11) "4667.000000"
-string(30) "                   4667.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(11) "4779.000000"
-string(1) "f"
-string(11) "4779.000000"
-string(1) "f"
-string(12) " 4779.000000"
-string(12) "4779.000000 "
-string(12) "   4779.000000"
-string(12) "
-4779.000000"
-string(11) "4779.000000"
-string(30) "                   4779.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(11) "4095.000000"
-string(1) "f"
-string(11) "4095.000000"
-string(1) "f"
-string(12) " 4095.000000"
-string(12) "4095.000000 "
-string(12) "   4095.000000"
-string(12) "
-4095.000000"
-string(11) "4095.000000"
-string(30) "                   4095.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(10) "250.000000"
-string(1) "f"
-string(10) "250.000000"
-string(1) "f"
-string(11) " 250.000000"
-string(11) "250.000000 "
-string(11) "   250.000000"
-string(11) "
-250.000000"
-string(10) "250.000000"
-string(30) "                    250.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(18) "-2147483648.000000"
-string(1) "f"
-string(18) "-2147483648.000000"
-string(1) "f"
-string(19) " -2147483648.000000"
-string(19) "-2147483648.000000 "
-string(19) "   -2147483648.000000"
-string(19) "
--2147483648.000000"
-string(18) "-2147483648.000000"
-string(30) "            -2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) "   2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) "             2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) "   2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) "             2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 15 --
-string(9) "83.000000"
-string(1) "f"
-string(9) "83.000000"
-string(1) "f"
-string(10) " 83.000000"
-string(10) "83.000000 "
-string(10) "   83.000000"
-string(10) "
-83.000000"
-string(9) "83.000000"
-string(30) "                     83.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 16 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 17 --
-string(18) "-2147483648.000000"
-string(1) "f"
-string(18) "-2147483648.000000"
-string(1) "f"
-string(19) " -2147483648.000000"
-string(19) "-2147483648.000000 "
-string(19) "   -2147483648.000000"
-string(19) "
--2147483648.000000"
-string(18) "-2147483648.000000"
-string(30) "            -2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 18 --
-string(17) "2147483647.000000"
-string(1) "f"
-string(17) "2147483647.000000"
-string(1) "f"
-string(18) " 2147483647.000000"
-string(18) "2147483647.000000 "
-string(18) "   2147483647.000000"
-string(18) "
-2147483647.000000"
-string(17) "2147483647.000000"
-string(30) "             2147483647.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : float formats with integer values ***
 
 -- Iteration 1 --
@@ -598,4 +324,4 @@ unicode(17) "2147483647.000000"
 unicode(30) "             2147483647.000000"
 unicode(4) "0-9]"
 unicode(1) "f"
-Done
\ No newline at end of file
+Done
index 9a9a3482bc5c879df1f46fc660337d9ddc907223..656899e97aaac59059aca246d34fafb9a0c1b18b 100644 (file)
@@ -47,39 +47,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : float formats with resource values ***
 
--- Iteration 1 --
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) " %d.000000"
-string(%d) "%d.000000 "
-string(%d) "   %d.000000"
-string(%d) "
-%d.000000"
-string(%d) "%d.000000"
-string(%d) "%s%d.000000"
-string(%d) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) "%d.000000"
-string(1) "f"
-string(%d) " %d.000000"
-string(%d) "%d.000000 "
-string(%d) "   %d.000000"
-string(%d) "
-%d.000000"
-string(%d) "%d.000000"
-string(%d) "%s%d.000000"
-string(%d) "0-9]"
-string(1) "f"
-Done
---UEXPECTF--
-*** Testing sprintf() : float formats with resource values ***
-
 -- Iteration 1 --
 unicode(%d) "%d.000000"
 unicode(1) "f"
index d8e6ede15a35806f8ed8c3664f217dc6066f6294..a10e09a1130f5e6510bb7733e6a5e8676628b715 100644 (file)
@@ -48,221 +48,7 @@ foreach($array_values as $array_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : float formats with arrays ***
-
--- Iteration 1 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : float formats with arrays ***
 
 -- Iteration 1 --
@@ -474,4 +260,4 @@ unicode(8) "1.000000"
 unicode(30) "                      1.000000"
 unicode(4) "0-9]"
 unicode(1) "f"
-Done
\ No newline at end of file
+Done
index 2d48cf6a0cc6a8e93f6e9a8c7a71a42d02ce7ceb..7f0f07804f1cbe5a708917655738a13bb32680f5 100644 (file)
@@ -53,311 +53,7 @@ foreach($string_values as $string_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : float formats with strings ***
-
--- Iteration 1 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 15 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 16 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 17 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 18 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 19 --
-string(10) "123.456000"
-string(1) "f"
-string(10) "123.456000"
-string(1) "f"
-string(11) " 123.456000"
-string(11) "123.456000 "
-string(11) "   123.456000"
-string(11) "
-123.456000"
-string(10) "123.456000"
-string(30) "                    123.456000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 20 --
-string(10) "123.456000"
-string(1) "f"
-string(10) "123.456000"
-string(1) "f"
-string(11) " 123.456000"
-string(11) "123.456000 "
-string(11) "   123.456000"
-string(11) "
-123.456000"
-string(10) "123.456000"
-string(30) "                    123.456000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : float formats with strings ***
 
 -- Iteration 1 --
@@ -659,4 +355,4 @@ unicode(10) "123.456000"
 unicode(30) "                    123.456000"
 unicode(4) "0-9]"
 unicode(1) "f"
-Done
\ No newline at end of file
+Done
index 740dcaabe2cd84a26f063140bfd07be07bb3aa79..c789406dd1049ccf4894776a0409d5214dae40fc 100644 (file)
@@ -37,71 +37,7 @@ foreach($boolean_values as $boolean_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : float formats with boolean values ***
-
--- Iteration 1 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(8) "1.000000"
-string(1) "f"
-string(8) "1.000000"
-string(1) "f"
-string(9) " 1.000000"
-string(9) "1.000000 "
-string(9) "    1.000000"
-string(9) "
-1.000000"
-string(8) "1.000000"
-string(30) "                      1.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : float formats with boolean values ***
 
 -- Iteration 1 --
@@ -163,4 +99,4 @@ unicode(8) "0.000000"
 unicode(30) "                      0.000000"
 unicode(4) "0-9]"
 unicode(1) "f"
-Done
\ No newline at end of file
+Done
index acc2af004b16cbebf5a7fe018d9a465632854a19..77ffd413734a682b1d758286e62b2b36ddaee48d 100644 (file)
Binary files a/ext/standard/tests/strings/sprintf_variation15.phpt and b/ext/standard/tests/strings/sprintf_variation15.phpt differ
index 2fb5cbf0e27ff15076dae782b7ffe834211577ee..f0db628679852a6a5b7f459d9c6d723e71c6bcd8 100644 (file)
@@ -48,235 +48,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : string formats with float values ***
-
--- Iteration 1 --
-string(11) "-2147483649"
-string(1) "s"
-string(11) "-2147483649"
-string(1) "s"
-string(12) " -2147483649"
-string(12) "-2147483649 "
-string(12) "   -2147483649"
-string(12) "
--2147483649"
-string(11) "-2147483649"
-string(30) "                   -2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(10) "2147483648"
-string(1) "s"
-string(10) "2147483648"
-string(1) "s"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) "   2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) "                    2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(11) "-2147483649"
-string(1) "s"
-string(11) "-2147483649"
-string(1) "s"
-string(12) " -2147483649"
-string(12) "-2147483649 "
-string(12) "   -2147483649"
-string(12) "
--2147483649"
-string(11) "-2147483649"
-string(30) "                   -2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(11) "34359738369"
-string(1) "s"
-string(11) "34359738369"
-string(1) "s"
-string(12) " 34359738369"
-string(12) "34359738369 "
-string(12) "   34359738369"
-string(12) "
-34359738369"
-string(11) "34359738369"
-string(30) "                   34359738369"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 5 --
-string(10) "2147483649"
-string(1) "s"
-string(10) "2147483649"
-string(1) "s"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) "   2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) "                    2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 6 --
-string(11) "-2147483649"
-string(1) "s"
-string(11) "-2147483649"
-string(1) "s"
-string(12) " -2147483649"
-string(12) "-2147483649 "
-string(12) "   -2147483649"
-string(12) "
--2147483649"
-string(11) "-2147483649"
-string(30) "                   -2147483649"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 7 --
-string(1) "0"
-string(1) "s"
-string(1) "0"
-string(1) "s"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 8 --
-string(4) "-0.1"
-string(1) "s"
-string(4) "-0.1"
-string(1) "s"
-string(5) " -0.1"
-string(5) "-0.1 "
-string(5) "    -0.1"
-string(5) "
--0.1"
-string(4) "-0.1"
-string(30) "                          -0.1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 10 --
-string(4) "1000"
-string(1) "s"
-string(4) "1000"
-string(1) "s"
-string(5) " 1000"
-string(5) "1000 "
-string(5) "    1000"
-string(5) "
-1000"
-string(4) "1000"
-string(30) "                          1000"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 11 --
-string(4) "-100"
-string(1) "s"
-string(4) "-100"
-string(1) "s"
-string(5) " -100"
-string(5) "-100 "
-string(5) "    -100"
-string(5) "
--100"
-string(4) "-100"
-string(30) "                          -100"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 12 --
-string(9) "123456000"
-string(1) "s"
-string(9) "123456000"
-string(1) "s"
-string(10) " 123456000"
-string(10) "123456000 "
-string(10) "   123456000"
-string(10) "
-123456000"
-string(9) "123456000"
-string(30) "                     123456000"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 13 --
-string(11) "-1234567000"
-string(1) "s"
-string(11) "-1234567000"
-string(1) "s"
-string(12) " -1234567000"
-string(12) "-1234567000 "
-string(12) "   -1234567000"
-string(12) "
--1234567000"
-string(11) "-1234567000"
-string(30) "                   -1234567000"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 14 --
-string(2) "10"
-string(1) "s"
-string(2) "10"
-string(1) "s"
-string(3) " 10"
-string(3) "10 "
-string(3) "    10"
-string(3) "
-10"
-string(4) "  10"
-string(30) "                            10"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 15 --
-string(7) "1012300"
-string(1) "s"
-string(7) "1012300"
-string(1) "s"
-string(8) " 1012300"
-string(8) "1012300 "
-string(8) "    1012300"
-string(8) "
-1012300"
-string(7) "1012300"
-string(30) "                       1012300"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : string formats with float values ***
 
 -- Iteration 1 --
index 8dc986d46f26eeb54051eac8ba888a4904b01edd..d14c9ee6b6fbf54a6dd209f916e89b5e4c90293f 100644 (file)
@@ -46,39 +46,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : string formats with resource values ***
 
--- Iteration 1 --
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) " Resource id #%d"
-string(%d) "Resource id #%d "
-string(%d) "   Resource id #%d"
-string(%d) "
-Resource id #%d"
-string(%d) "Resource id #%d"
-string(%d) "%sResource id #%d"
-string(%d) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) "Resource id #%d"
-string(1) "s"
-string(%d) " Resource id #%d"
-string(%d) "Resource id #%d "
-string(%d) "   Resource id #%d"
-string(%d) "
-Resource id #%d"
-string(%d) "Resource id #%d"
-string(%d) "%sResource id #%d"
-string(%d) "a-zA-Z0-9]"
-string(1) "s"
-Done
---UEXPECTF--
-*** Testing sprintf() : string formats with resource values ***
-
 -- Iteration 1 --
 unicode(%d) "Resource id #%d"
 unicode(1) "s"
index e8893b7188cc8fb576186969c85710534e28e8ac..6fdfa83d7009f0bc2635734de0f34ca78872a93c 100644 (file)
@@ -47,190 +47,7 @@ foreach($array_values as $array_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : string formats with array values ***
-
--- Iteration 1 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 5 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 6 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 7 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 8 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 9 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 10 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 11 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 12 --
-string(5) "Array"
-string(1) "s"
-string(5) "Array"
-string(1) "s"
-string(6) " Array"
-string(6) "Array "
-string(6) "    Array"
-string(6) "
-Array"
-string(5) "Array"
-string(30) "                         Array"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : string formats with array values ***
 
 -- Iteration 1 --
index 4d89bc3828e0083ff389d403b3bbd376a7a88ef3..1c82153443513c99ccac8729244517458c31cdf1 100644 (file)
@@ -51,281 +51,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : string formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "s"
-string(1) "0"
-string(1) "s"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(2) "-1"
-string(1) "s"
-string(2) "-1"
-string(1) "s"
-string(3) " -1"
-string(3) "-1 "
-string(3) "    -1"
-string(3) "
--1"
-string(4) "  -1"
-string(30) "                            -1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(11) "-2147483648"
-string(1) "s"
-string(11) "-2147483648"
-string(1) "s"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) "   -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) "                   -2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 5 --
-string(11) "-2147483647"
-string(1) "s"
-string(11) "-2147483647"
-string(1) "s"
-string(12) " -2147483647"
-string(12) "-2147483647 "
-string(12) "   -2147483647"
-string(12) "
--2147483647"
-string(11) "-2147483647"
-string(30) "                   -2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "s"
-string(10) "2147483640"
-string(1) "s"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) "   2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) "                    2147483640"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "s"
-string(4) "4667"
-string(1) "s"
-string(5) " 4667"
-string(5) "4667 "
-string(5) "    4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) "                          4667"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "s"
-string(4) "4779"
-string(1) "s"
-string(5) " 4779"
-string(5) "4779 "
-string(5) "    4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) "                          4779"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "s"
-string(4) "4095"
-string(1) "s"
-string(5) " 4095"
-string(5) "4095 "
-string(5) "    4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) "                          4095"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "s"
-string(3) "250"
-string(1) "s"
-string(4) " 250"
-string(4) "250 "
-string(4) "    250"
-string(4) "
-250"
-string(4) " 250"
-string(30) "                           250"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 12 --
-string(11) "-2147483648"
-string(1) "s"
-string(11) "-2147483648"
-string(1) "s"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) "   -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) "                   -2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "s"
-string(2) "83"
-string(1) "s"
-string(3) " 83"
-string(3) "83 "
-string(3) "    83"
-string(3) "
-83"
-string(4) "  83"
-string(30) "                            83"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 17 --
-string(11) "-2147483648"
-string(1) "s"
-string(11) "-2147483648"
-string(1) "s"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) "   -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) "                   -2147483648"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "s"
-string(10) "2147483647"
-string(1) "s"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : string formats with integer values ***
 
 -- Iteration 1 --
index f4fc3f4d0559564523fa3ac044b7a2be9548f1d4..03f6fed7fb108c1965d3da3e11c56ab02db5bafd 100644 (file)
@@ -107,121 +107,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : with different types of values passed for arg1 argument ***
 
--- Iteration 1 --
-string(1) "0"
-string(1) "0"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "1"
-
--- Iteration 3 --
-string(5) "12345"
-string(5) "12345"
-
--- Iteration 4 --
-string(5) "-2345"
-string(5) "-2345"
-
--- Iteration 5 --
-string(4) "10.5"
-string(4) "10.5"
-
--- Iteration 6 --
-string(5) "-10.5"
-string(5) "-10.5"
-
--- Iteration 7 --
-string(12) "101234567000"
-string(12) "101234567000"
-
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-string(3) "0.5"
-
--- Iteration 10 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 11 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 12 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 13 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 14 --
-string(5) "Array"
-string(5) "Array"
-
--- Iteration 15 --
-string(0) ""
-string(0) ""
-
--- Iteration 16 --
-string(0) ""
-string(0) ""
-
--- Iteration 17 --
-string(1) "1"
-string(1) "1"
-
--- Iteration 18 --
-string(0) ""
-string(0) ""
-
--- Iteration 19 --
-string(1) "1"
-string(1) "1"
-
--- Iteration 20 --
-string(0) ""
-string(0) ""
-
--- Iteration 21 --
-string(0) ""
-string(0) ""
-
--- Iteration 22 --
-string(0) ""
-string(0) ""
-
--- Iteration 23 --
-string(6) "string"
-string(6) "string"
-
--- Iteration 24 --
-string(6) "string"
-string(6) "string"
-
--- Iteration 25 --
-string(6) "Object"
-string(6) "Object"
-
--- Iteration 26 --
-string(0) ""
-string(0) ""
-
--- Iteration 27 --
-string(0) ""
-string(0) ""
-
--- Iteration 28 --
-string(%d) "Resource id #%d"
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
-*** Testing sprintf() : with different types of values passed for arg1 argument ***
-
 -- Iteration 1 --
 unicode(1) "0"
 unicode(1) "0"
index b58d3ef73a6bdc5ddd8ccf0a430a0c2b62d4739b..0030dae15c8b88025614915e21e87f9e3b728f2f 100644 (file)
@@ -37,71 +37,7 @@ foreach($boolean_values as $boolean_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : string formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 2 --
-string(0) ""
-string(1) "s"
-string(0) ""
-string(1) "s"
-string(1) " "
-string(1) " "
-string(1) "    "
-string(1) "
-"
-string(4) "    "
-string(30) "                              "
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "s"
-string(1) "1"
-string(1) "s"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-
--- Iteration 4 --
-string(0) ""
-string(1) "s"
-string(0) ""
-string(1) "s"
-string(1) " "
-string(1) " "
-string(1) "    "
-string(1) "
-"
-string(4) "    "
-string(30) "                              "
-string(10) "a-zA-Z0-9]"
-string(1) "s"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : string formats with boolean values ***
 
 -- Iteration 1 --
index e750944246c05cf0854465d68f755c9c4a20795d..9d019cc2f0c7ce3837bcc797e143d35aa91c2253 100644 (file)
Binary files a/ext/standard/tests/strings/sprintf_variation21.phpt and b/ext/standard/tests/strings/sprintf_variation21.phpt differ
index e319fe924b7aec6d32c65cd60816da659bc79073..ad10e5bf48fd9704ebb54b302f5e09055c269559 100644 (file)
Binary files a/ext/standard/tests/strings/sprintf_variation22.phpt and b/ext/standard/tests/strings/sprintf_variation22.phpt differ
index 4164ae1f1d37cc054ce99e85c37553ceeaa85cdc..498048cff35ce4fd406eb3e462e93aecd752cd3a 100644 (file)
@@ -43,41 +43,7 @@ fclose($dfp);
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : char formats with resource values ***
-
--- Iteration 1 --
-string(1) "\ 5"
-string(1) "c"
-string(1) "\ 5"
-string(1) "c"
-string(2) " \ 5"
-string(2) "\ 5 "
-string(2) "    \ 5"
-string(2) "
-\ 5"
-string(1) "\ 5"
-string(1) "\ 5"
-string(11) "a-bA-B@#$&]"
-string(1) "c"
-
--- Iteration 2 --
-string(1) "\ 6"
-string(1) "c"
-string(1) "\ 6"
-string(1) "c"
-string(2) " \ 6"
-string(2) "\ 6 "
-string(2) "    \ 6"
-string(2) "
-\ 6"
-string(1) "\ 6"
-string(1) "\ 6"
-string(11) "a-bA-B@#$&]"
-string(1) "c"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : char formats with resource values ***
 
 -- Iteration 1 --
@@ -109,4 +75,4 @@ unicode(1) "\ 6"
 unicode(1) "\ 6"
 unicode(11) "a-bA-B@#$&]"
 unicode(1) "c"
-Done
\ No newline at end of file
+Done
index 48efd6a3607f6819830517c2c83c3bd2ea66592e..5aefd6df4cbeba514e08597a593b8b2846f77352 100644 (file)
Binary files a/ext/standard/tests/strings/sprintf_variation24.phpt and b/ext/standard/tests/strings/sprintf_variation24.phpt differ
index 1543f913989a3ac1a16359c1d23af85effb815ca..038b499692a76881f6c2f9e51f4d63d3c53b1b9b 100644 (file)
Binary files a/ext/standard/tests/strings/sprintf_variation25.phpt and b/ext/standard/tests/strings/sprintf_variation25.phpt differ
index 05af686d6a94e59a029d1883defd274dc0aeedb7..982596d264797c4ad4fbb492f0acfd452523cadc 100644 (file)
Binary files a/ext/standard/tests/strings/sprintf_variation26.phpt and b/ext/standard/tests/strings/sprintf_variation26.phpt differ
index 8f8eacd6aeb8d365460323cd3ed8593fa2fb4536..113fdbe6625f267846696c7691761b24fcbd0780 100644 (file)
Binary files a/ext/standard/tests/strings/sprintf_variation27.phpt and b/ext/standard/tests/strings/sprintf_variation27.phpt differ
index 19a889475914c5acd83509ab5baf2cbb8a78a388..5154e923b0588e295b762cc8a74afc72a2943ccb 100644 (file)
@@ -53,281 +53,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : octal formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(11) "37777777777"
-string(1) "o"
-string(11) "37777777777"
-string(1) "o"
-string(12) " 37777777777"
-string(12) "37777777777 "
-string(12) "   37777777777"
-string(12) "
-37777777777"
-string(11) "37777777777"
-string(30) "                   37777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(11) "20000000000"
-string(1) "o"
-string(11) "20000000000"
-string(1) "o"
-string(12) " 20000000000"
-string(12) "20000000000 "
-string(12) "   20000000000"
-string(12) "
-20000000000"
-string(11) "20000000000"
-string(30) "                   20000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(11) "20000000001"
-string(1) "o"
-string(11) "20000000001"
-string(1) "o"
-string(12) " 20000000001"
-string(12) "20000000001 "
-string(12) "   20000000001"
-string(12) "
-20000000001"
-string(11) "20000000001"
-string(30) "                   20000000001"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(11) "17777777770"
-string(1) "o"
-string(11) "17777777770"
-string(1) "o"
-string(12) " 17777777770"
-string(12) "17777777770 "
-string(12) "   17777777770"
-string(12) "
-17777777770"
-string(11) "17777777770"
-string(30) "                   17777777770"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(5) "11073"
-string(1) "o"
-string(5) "11073"
-string(1) "o"
-string(6) " 11073"
-string(6) "11073 "
-string(6) "    11073"
-string(6) "
-11073"
-string(5) "11073"
-string(30) "                         11073"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(5) "11253"
-string(1) "o"
-string(5) "11253"
-string(1) "o"
-string(6) " 11253"
-string(6) "11253 "
-string(6) "    11253"
-string(6) "
-11253"
-string(5) "11253"
-string(30) "                         11253"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(4) "7777"
-string(1) "o"
-string(4) "7777"
-string(1) "o"
-string(5) " 7777"
-string(5) "7777 "
-string(5) "    7777"
-string(5) "
-7777"
-string(4) "7777"
-string(30) "                          7777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(3) "372"
-string(1) "o"
-string(3) "372"
-string(1) "o"
-string(4) " 372"
-string(4) "372 "
-string(4) "    372"
-string(4) "
-372"
-string(4) " 372"
-string(30) "                           372"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(11) "20000000000"
-string(1) "o"
-string(11) "20000000000"
-string(1) "o"
-string(12) " 20000000000"
-string(12) "20000000000 "
-string(12) "   20000000000"
-string(12) "
-20000000000"
-string(11) "20000000000"
-string(30) "                   20000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 14 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 15 --
-string(3) "123"
-string(1) "o"
-string(3) "123"
-string(1) "o"
-string(4) " 123"
-string(4) "123 "
-string(4) "    123"
-string(4) "
-123"
-string(4) " 123"
-string(30) "                           123"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 17 --
-string(11) "20000000000"
-string(1) "o"
-string(11) "20000000000"
-string(1) "o"
-string(12) " 20000000000"
-string(12) "20000000000 "
-string(12) "   20000000000"
-string(12) "
-20000000000"
-string(11) "20000000000"
-string(30) "                   20000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 18 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : octal formats with integer values ***
 
 -- Iteration 1 --
index 0b2cc9ca46dcf2437fe392a174894005c6004514..e566997cec62b82f0e5d3fe9467c2a27d5548946 100644 (file)
@@ -53,281 +53,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : octal formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(22) "1777777777777777777777"
-string(1) "o"
-string(22) "1777777777777777777777"
-string(1) "o"
-string(23) " 1777777777777777777777"
-string(23) "1777777777777777777777 "
-string(23) "   1777777777777777777777"
-string(23) "
-1777777777777777777777"
-string(22) "1777777777777777777777"
-string(30) "        1777777777777777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(22) "1777777777760000000000"
-string(1) "o"
-string(22) "1777777777760000000000"
-string(1) "o"
-string(23) " 1777777777760000000000"
-string(23) "1777777777760000000000 "
-string(23) "   1777777777760000000000"
-string(23) "
-1777777777760000000000"
-string(22) "1777777777760000000000"
-string(30) "        1777777777760000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(22) "1777777777760000000001"
-string(1) "o"
-string(22) "1777777777760000000001"
-string(1) "o"
-string(23) " 1777777777760000000001"
-string(23) "1777777777760000000001 "
-string(23) "   1777777777760000000001"
-string(23) "
-1777777777760000000001"
-string(22) "1777777777760000000001"
-string(30) "        1777777777760000000001"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(11) "17777777770"
-string(1) "o"
-string(11) "17777777770"
-string(1) "o"
-string(12) " 17777777770"
-string(12) "17777777770 "
-string(12) "   17777777770"
-string(12) "
-17777777770"
-string(11) "17777777770"
-string(30) "                   17777777770"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(5) "11073"
-string(1) "o"
-string(5) "11073"
-string(1) "o"
-string(6) " 11073"
-string(6) "11073 "
-string(6) "    11073"
-string(6) "
-11073"
-string(5) "11073"
-string(30) "                         11073"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(5) "11253"
-string(1) "o"
-string(5) "11253"
-string(1) "o"
-string(6) " 11253"
-string(6) "11253 "
-string(6) "    11253"
-string(6) "
-11253"
-string(5) "11253"
-string(30) "                         11253"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(4) "7777"
-string(1) "o"
-string(4) "7777"
-string(1) "o"
-string(5) " 7777"
-string(5) "7777 "
-string(5) "    7777"
-string(5) "
-7777"
-string(4) "7777"
-string(30) "                          7777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(3) "372"
-string(1) "o"
-string(3) "372"
-string(1) "o"
-string(4) " 372"
-string(4) "372 "
-string(4) "    372"
-string(4) "
-372"
-string(4) " 372"
-string(30) "                           372"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(22) "1777777777760000000000"
-string(1) "o"
-string(22) "1777777777760000000000"
-string(1) "o"
-string(23) " 1777777777760000000000"
-string(23) "1777777777760000000000 "
-string(23) "   1777777777760000000000"
-string(23) "
-1777777777760000000000"
-string(22) "1777777777760000000000"
-string(30) "        1777777777760000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 14 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 15 --
-string(3) "123"
-string(1) "o"
-string(3) "123"
-string(1) "o"
-string(4) " 123"
-string(4) "123 "
-string(4) "    123"
-string(4) "
-123"
-string(4) " 123"
-string(30) "                           123"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 17 --
-string(22) "1777777777760000000000"
-string(1) "o"
-string(22) "1777777777760000000000"
-string(1) "o"
-string(23) " 1777777777760000000000"
-string(23) "1777777777760000000000 "
-string(23) "   1777777777760000000000"
-string(23) "
-1777777777760000000000"
-string(22) "1777777777760000000000"
-string(30) "        1777777777760000000000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 18 --
-string(11) "17777777777"
-string(1) "o"
-string(11) "17777777777"
-string(1) "o"
-string(12) " 17777777777"
-string(12) "17777777777 "
-string(12) "   17777777777"
-string(12) "
-17777777777"
-string(11) "17777777777"
-string(30) "                   17777777777"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : octal formats with integer values ***
 
 -- Iteration 1 --
index b81fe88f1da72b2ae7bfff3682315b6c519c4817..1eb8d9de321a9b3c8e885482e9ea8e974957d9c5 100644 (file)
@@ -26,7 +26,7 @@ $float_values = array(
 // array of octal formats
 $octal_formats = array( 
   "%o", "%ho", "%lo", 
-  "%Lo", " %o", "%o ",                        
+  "%Lo", " %o", "%o ",
   "\t%o", "\n%o", "%4o",
   "%30o", "%[0-7]", "%*o"
 );
@@ -43,131 +43,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : octal formats with float values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(6) "303240"
-string(1) "o"
-string(6) "303240"
-string(1) "o"
-string(7) " 303240"
-string(7) "303240 "
-string(7) "    303240"
-string(7) "
-303240"
-string(6) "303240"
-string(30) "                        303240"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(11) "37774136700"
-string(1) "o"
-string(11) "37774136700"
-string(1) "o"
-string(12) " 37774136700"
-string(12) "37774136700 "
-string(12) "   37774136700"
-string(12) "
-37774136700"
-string(11) "37774136700"
-string(30) "                   37774136700"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(9) "575360400"
-string(1) "o"
-string(9) "575360400"
-string(1) "o"
-string(10) " 575360400"
-string(10) "575360400 "
-string(10) "   575360400"
-string(10) "
-575360400"
-string(9) "575360400"
-string(30) "                     575360400"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(11) "30431233000"
-string(1) "o"
-string(11) "30431233000"
-string(1) "o"
-string(12) " 30431233000"
-string(12) "30431233000 "
-string(12) "   30431233000"
-string(12) "
-30431233000"
-string(11) "30431233000"
-string(30) "                   30431233000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(7) "4002620"
-string(1) "o"
-string(7) "4002620"
-string(1) "o"
-string(8) " 4002620"
-string(8) "4002620 "
-string(8) "    4002620"
-string(8) "
-4002620"
-string(7) "4002620"
-string(30) "                       4002620"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : octal formats with float values ***
 
 -- Iteration 1 --
index 44e2b4f493132a9093382fe1d301c92b78e5ea33..1a14fbb931fd8e3cf8a062dc9ceade0c868bfc1d 100644 (file)
@@ -26,7 +26,7 @@ $float_values = array(
 // array of octal formats
 $octal_formats = array( 
   "%o", "%ho", "%lo", 
-  "%Lo", " %o", "%o ",                        
+  "%Lo", " %o", "%o ",
   "\t%o", "\n%o", "%4o",
   "%30o", "%[0-7]", "%*o"
 );
@@ -43,131 +43,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : octal formats with float values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(6) "303240"
-string(1) "o"
-string(6) "303240"
-string(1) "o"
-string(7) " 303240"
-string(7) "303240 "
-string(7) "    303240"
-string(7) "
-303240"
-string(6) "303240"
-string(30) "                        303240"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(22) "1777777777777774136700"
-string(1) "o"
-string(22) "1777777777777774136700"
-string(1) "o"
-string(23) " 1777777777777774136700"
-string(23) "1777777777777774136700 "
-string(23) "   1777777777777774136700"
-string(23) "
-1777777777777774136700"
-string(22) "1777777777777774136700"
-string(30) "        1777777777777774136700"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(9) "575360400"
-string(1) "o"
-string(9) "575360400"
-string(1) "o"
-string(10) " 575360400"
-string(10) "575360400 "
-string(10) "   575360400"
-string(10) "
-575360400"
-string(9) "575360400"
-string(30) "                     575360400"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(22) "1777777777770431233000"
-string(1) "o"
-string(22) "1777777777770431233000"
-string(1) "o"
-string(23) " 1777777777770431233000"
-string(23) "1777777777770431233000 "
-string(23) "   1777777777770431233000"
-string(23) "
-1777777777770431233000"
-string(22) "1777777777770431233000"
-string(30) "        1777777777770431233000"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(7) "4002620"
-string(1) "o"
-string(7) "4002620"
-string(1) "o"
-string(8) " 4002620"
-string(8) "4002620 "
-string(8) "    4002620"
-string(8) "
-4002620"
-string(7) "4002620"
-string(30) "                       4002620"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : octal formats with float values ***
 
 -- Iteration 1 --
index e901026c91521ba644e8b193dc2993d0024a77d4..d40445126cab2bc6dca2200bf79393fca2c9315e 100644 (file)
@@ -50,281 +50,7 @@ foreach($valid_ints as $int_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : integer formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(2) "-1"
-string(1) "d"
-string(2) "-1"
-string(1) "d"
-string(3) " -1"
-string(3) "-1 "
-string(3) "    -1"
-string(3) "
--1"
-string(4) "  -1"
-string(30) "                            -1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) "   -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) "                   -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(11) "-2147483647"
-string(1) "d"
-string(11) "-2147483647"
-string(1) "d"
-string(12) " -2147483647"
-string(12) "-2147483647 "
-string(12) "   -2147483647"
-string(12) "
--2147483647"
-string(11) "-2147483647"
-string(30) "                   -2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "d"
-string(10) "2147483640"
-string(1) "d"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) "   2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) "                    2147483640"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "d"
-string(4) "4667"
-string(1) "d"
-string(5) " 4667"
-string(5) "4667 "
-string(5) "    4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) "                          4667"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "d"
-string(4) "4779"
-string(1) "d"
-string(5) " 4779"
-string(5) "4779 "
-string(5) "    4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) "                          4779"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "d"
-string(4) "4095"
-string(1) "d"
-string(5) " 4095"
-string(5) "4095 "
-string(5) "    4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) "                          4095"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "d"
-string(3) "250"
-string(1) "d"
-string(4) " 250"
-string(4) "250 "
-string(4) "    250"
-string(4) "
-250"
-string(4) " 250"
-string(30) "                           250"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) "   -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) "                   -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "d"
-string(2) "83"
-string(1) "d"
-string(3) " 83"
-string(3) "83 "
-string(3) "    83"
-string(3) "
-83"
-string(4) "  83"
-string(30) "                            83"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 17 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) "   -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) "                   -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : integer formats with integer values ***
 
 -- Iteration 1 --
@@ -596,4 +322,4 @@ unicode(10) "2147483647"
 unicode(30) "                    2147483647"
 unicode(4) "0-9]"
 unicode(1) "d"
-Done
\ No newline at end of file
+Done
index 874c738e6b77ab93eaaed63df22e96d656745c4e..1a12289b5f1a020219ff38de9a283cc98ad8f2ae 100644 (file)
@@ -22,7 +22,7 @@ $resource_values = array (
 // array of octal formats
 $octal_formats = array( 
   "%o", "%ho", "%lo", 
-  "%Lo", " %o", "%o ",                        
+  "%Lo", " %o", "%o ",
   "\t%o", "\n%o", "%4o",
   "%30o", "%[0-7]", "%*o"
 );
@@ -46,39 +46,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : octal formats with resource values ***
 
--- Iteration 1 --
-string(%d) "%d"
-string(1) "o"
-string(%d) "%d"
-string(1) "o"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(%d) "%d"
-string(1) "o"
-string(%d) "%d"
-string(1) "o"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-7]"
-string(1) "o"
-Done
---UEXPECTF--
-*** Testing sprintf() : octal formats with resource values ***
-
 -- Iteration 1 --
 unicode(%d) "%d"
 unicode(1) "o"
index 86cb398753323c39e97ca5e1b0938d5834deb74c..2c72941947f9ad702090c360f55b15da7e531e90 100644 (file)
@@ -29,7 +29,7 @@ $array_values = array(
 // array of octal formats
 $octal_formats = array( 
   "%o", "%ho", "%lo", 
-  "%Lo", " %o", "%o ",                        
+  "%Lo", " %o", "%o ",
   "\t%o", "\n%o", "%4o",
   "%30o", "%[0-7]", "%*o"
 );
@@ -46,206 +46,7 @@ foreach($array_values as $array_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : octal formats with array values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : octal formats with array values ***
 
 -- Iteration 1 --
@@ -442,4 +243,4 @@ unicode(4) "   1"
 unicode(30) "                             1"
 unicode(4) "0-7]"
 unicode(1) "o"
-Done
\ No newline at end of file
+Done
index fb856b5252be6d822cc55ae9c6bde5565fd0bfb1..7785871c166e7c9f9c5d726fca12b73ee5ecb11d 100644 (file)
@@ -35,7 +35,7 @@ $string_values = array(
 // array of octal formats
 $octal_formats = array( 
   "%o", "%ho", "%lo", 
-  "%Lo", " %o", "%o ",                        
+  "%Lo", " %o", "%o ",
   "\t%o", "\n%o", "%4o",
   "%30o", "%[0-7]", "%*o"
 );
@@ -52,296 +52,7 @@ foreach($string_values as $string_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : octal formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 7 --
-string(3) "173"
-string(1) "o"
-string(3) "173"
-string(1) "o"
-string(4) " 173"
-string(4) "173 "
-string(4) "    173"
-string(4) "
-173"
-string(4) " 173"
-string(30) "                           173"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 8 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : octal formats with string values ***
 
 -- Iteration 1 --
@@ -628,4 +339,4 @@ unicode(4) "   0"
 unicode(30) "                             0"
 unicode(4) "0-7]"
 unicode(1) "o"
-Done
\ No newline at end of file
+Done
index ba806b3b6a71d96cb48cbd0883cacb095485a17f..e1468aad8a39045f3345d16a40b2154123c0d1e7 100644 (file)
@@ -20,7 +20,7 @@ $boolean_values = array(
 // array of octal formats
 $octal_formats = array( 
   "%o", "%ho", "%lo", 
-  "%Lo", " %o", "%o ",                        
+  "%Lo", " %o", "%o ",
   "\t%o", "\n%o", "%4o",
   "%30o", "%[0-7]", "%*o"
 );
@@ -37,71 +37,7 @@ foreach($boolean_values as $boolean_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : octal formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "o"
-string(1) "1"
-string(1) "o"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-7]"
-string(1) "o"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "o"
-string(1) "0"
-string(1) "o"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-7]"
-string(1) "o"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : octal formats with boolean values ***
 
 -- Iteration 1 --
@@ -163,4 +99,4 @@ unicode(4) "   0"
 unicode(30) "                             0"
 unicode(4) "0-7]"
 unicode(1) "o"
-Done
\ No newline at end of file
+Done
index d680ffe9ab4990f5d913bdcf822aa9150c7d3e98..c5bfb68e6616d0a0e68ec3e8c9201f06e4dd3b5d 100644 (file)
@@ -53,281 +53,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(8) "ffffffff"
-string(9) "ffffffffx"
-string(8) "ffffffff"
-string(1) "x"
-string(9) " ffffffff"
-string(9) "ffffffff "
-string(9) "    ffffffff"
-string(9) "
-ffffffff"
-string(8) "ffffffff"
-string(30) "                      ffffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(8) "80000000"
-string(9) "80000000x"
-string(8) "80000000"
-string(1) "x"
-string(9) " 80000000"
-string(9) "80000000 "
-string(9) "    80000000"
-string(9) "
-80000000"
-string(8) "80000000"
-string(30) "                      80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(8) "80000001"
-string(9) "80000001x"
-string(8) "80000001"
-string(1) "x"
-string(9) " 80000001"
-string(9) "80000001 "
-string(9) "    80000001"
-string(9) "
-80000001"
-string(8) "80000001"
-string(30) "                      80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(8) "7ffffff8"
-string(9) "7ffffff8x"
-string(8) "7ffffff8"
-string(1) "x"
-string(9) " 7ffffff8"
-string(9) "7ffffff8 "
-string(9) "    7ffffff8"
-string(9) "
-7ffffff8"
-string(8) "7ffffff8"
-string(30) "                      7ffffff8"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(4) "123b"
-string(5) "123bx"
-string(4) "123b"
-string(1) "x"
-string(5) " 123b"
-string(5) "123b "
-string(5) "    123b"
-string(5) "
-123b"
-string(4) "123b"
-string(30) "                          123b"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(4) "12ab"
-string(5) "12abx"
-string(4) "12ab"
-string(1) "x"
-string(5) " 12ab"
-string(5) "12ab "
-string(5) "    12ab"
-string(5) "
-12ab"
-string(4) "12ab"
-string(30) "                          12ab"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(3) "fff"
-string(4) "fffx"
-string(3) "fff"
-string(1) "x"
-string(4) " fff"
-string(4) "fff "
-string(4) "    fff"
-string(4) "
-fff"
-string(4) " fff"
-string(30) "                           fff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(2) "fa"
-string(3) "fax"
-string(2) "fa"
-string(1) "x"
-string(3) " fa"
-string(3) "fa "
-string(3) "    fa"
-string(3) "
-fa"
-string(4) "  fa"
-string(30) "                            fa"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(8) "80000000"
-string(9) "80000000x"
-string(8) "80000000"
-string(1) "x"
-string(9) " 80000000"
-string(9) "80000000 "
-string(9) "    80000000"
-string(9) "
-80000000"
-string(8) "80000000"
-string(30) "                      80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 13 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 14 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 15 --
-string(2) "53"
-string(3) "53x"
-string(2) "53"
-string(1) "x"
-string(3) " 53"
-string(3) "53 "
-string(3) "    53"
-string(3) "
-53"
-string(4) "  53"
-string(30) "                            53"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 16 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 17 --
-string(8) "80000000"
-string(9) "80000000x"
-string(8) "80000000"
-string(1) "x"
-string(9) " 80000000"
-string(9) "80000000 "
-string(9) "    80000000"
-string(9) "
-80000000"
-string(8) "80000000"
-string(30) "                      80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 18 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : hexa formats with integer values ***
 
 -- Iteration 1 --
index 14eacb33bc2f46acbb7a12410b36ab8e62316786..baa85c5711ab5d6f659d55d65908bfb6de7d1363 100644 (file)
@@ -53,281 +53,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(16) "ffffffffffffffff"
-string(17) "ffffffffffffffffx"
-string(16) "ffffffffffffffff"
-string(1) "x"
-string(17) " ffffffffffffffff"
-string(17) "ffffffffffffffff "
-string(17) "   ffffffffffffffff"
-string(17) "
-ffffffffffffffff"
-string(16) "ffffffffffffffff"
-string(30) "              ffffffffffffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(16) "ffffffff80000000"
-string(17) "ffffffff80000000x"
-string(16) "ffffffff80000000"
-string(1) "x"
-string(17) " ffffffff80000000"
-string(17) "ffffffff80000000 "
-string(17) "   ffffffff80000000"
-string(17) "
-ffffffff80000000"
-string(16) "ffffffff80000000"
-string(30) "              ffffffff80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(16) "ffffffff80000001"
-string(17) "ffffffff80000001x"
-string(16) "ffffffff80000001"
-string(1) "x"
-string(17) " ffffffff80000001"
-string(17) "ffffffff80000001 "
-string(17) "   ffffffff80000001"
-string(17) "
-ffffffff80000001"
-string(16) "ffffffff80000001"
-string(30) "              ffffffff80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(8) "7ffffff8"
-string(9) "7ffffff8x"
-string(8) "7ffffff8"
-string(1) "x"
-string(9) " 7ffffff8"
-string(9) "7ffffff8 "
-string(9) "    7ffffff8"
-string(9) "
-7ffffff8"
-string(8) "7ffffff8"
-string(30) "                      7ffffff8"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(4) "123b"
-string(5) "123bx"
-string(4) "123b"
-string(1) "x"
-string(5) " 123b"
-string(5) "123b "
-string(5) "    123b"
-string(5) "
-123b"
-string(4) "123b"
-string(30) "                          123b"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(4) "12ab"
-string(5) "12abx"
-string(4) "12ab"
-string(1) "x"
-string(5) " 12ab"
-string(5) "12ab "
-string(5) "    12ab"
-string(5) "
-12ab"
-string(4) "12ab"
-string(30) "                          12ab"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(3) "fff"
-string(4) "fffx"
-string(3) "fff"
-string(1) "x"
-string(4) " fff"
-string(4) "fff "
-string(4) "    fff"
-string(4) "
-fff"
-string(4) " fff"
-string(30) "                           fff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(2) "fa"
-string(3) "fax"
-string(2) "fa"
-string(1) "x"
-string(3) " fa"
-string(3) "fa "
-string(3) "    fa"
-string(3) "
-fa"
-string(4) "  fa"
-string(30) "                            fa"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(16) "ffffffff80000000"
-string(17) "ffffffff80000000x"
-string(16) "ffffffff80000000"
-string(1) "x"
-string(17) " ffffffff80000000"
-string(17) "ffffffff80000000 "
-string(17) "   ffffffff80000000"
-string(17) "
-ffffffff80000000"
-string(16) "ffffffff80000000"
-string(30) "              ffffffff80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 13 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 14 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 15 --
-string(2) "53"
-string(3) "53x"
-string(2) "53"
-string(1) "x"
-string(3) " 53"
-string(3) "53 "
-string(3) "    53"
-string(3) "
-53"
-string(4) "  53"
-string(30) "                            53"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 16 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 17 --
-string(16) "ffffffff80000000"
-string(17) "ffffffff80000000x"
-string(16) "ffffffff80000000"
-string(1) "x"
-string(17) " ffffffff80000000"
-string(17) "ffffffff80000000 "
-string(17) "   ffffffff80000000"
-string(17) "
-ffffffff80000000"
-string(16) "ffffffff80000000"
-string(30) "              ffffffff80000000"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 18 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : hexa formats with integer values ***
 
 -- Iteration 1 --
index 4526901a13ae4861547df24615dd0af45397112a..abf2b067a16dc2a3762db0a4e6660507964d8e42 100644 (file)
@@ -48,190 +48,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with float values ***
-
--- Iteration 1 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(8) "80000001"
-string(9) "80000001x"
-string(8) "80000001"
-string(1) "x"
-string(9) " 80000001"
-string(9) "80000001 "
-string(9) "    80000001"
-string(9) "
-80000001"
-string(8) "80000001"
-string(30) "                      80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(5) "186a0"
-string(6) "186a0x"
-string(5) "186a0"
-string(1) "x"
-string(6) " 186a0"
-string(6) "186a0 "
-string(6) "    186a0"
-string(6) "
-186a0"
-string(5) "186a0"
-string(30) "                         186a0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(8) "fff0bdc0"
-string(9) "fff0bdc0x"
-string(8) "fff0bdc0"
-string(1) "x"
-string(9) " fff0bdc0"
-string(9) "fff0bdc0 "
-string(9) "    fff0bdc0"
-string(9) "
-fff0bdc0"
-string(8) "fff0bdc0"
-string(30) "                      fff0bdc0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(7) "5f5e100"
-string(8) "5f5e100x"
-string(7) "5f5e100"
-string(1) "x"
-string(8) " 5f5e100"
-string(8) "5f5e100 "
-string(8) "    5f5e100"
-string(8) "
-5f5e100"
-string(7) "5f5e100"
-string(30) "                       5f5e100"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(8) "c4653600"
-string(9) "c4653600x"
-string(8) "c4653600"
-string(1) "x"
-string(9) " c4653600"
-string(9) "c4653600 "
-string(9) "    c4653600"
-string(9) "
-c4653600"
-string(8) "c4653600"
-string(30) "                      c4653600"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "a"
-string(2) "ax"
-string(1) "a"
-string(1) "x"
-string(2) " a"
-string(2) "a "
-string(2) "    a"
-string(2) "
-a"
-string(4) "   a"
-string(30) "                             a"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(6) "100590"
-string(7) "100590x"
-string(6) "100590"
-string(1) "x"
-string(7) " 100590"
-string(7) "100590 "
-string(7) "    100590"
-string(7) "
-100590"
-string(6) "100590"
-string(30) "                        100590"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : hexa formats with float values ***
 
 -- Iteration 1 --
index 1bba0f5005961b4ddd8dc5a469263954435a1a77..654a1271aedfda2d2a46821ebc3a393a2f30006a 100644 (file)
@@ -48,190 +48,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with float values ***
-
--- Iteration 1 --
-string(8) "7fffffff"
-string(9) "7fffffffx"
-string(8) "7fffffff"
-string(1) "x"
-string(9) " 7fffffff"
-string(9) "7fffffff "
-string(9) "    7fffffff"
-string(9) "
-7fffffff"
-string(8) "7fffffff"
-string(30) "                      7fffffff"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(9) "800000001"
-string(10) "800000001x"
-string(9) "800000001"
-string(1) "x"
-string(10) " 800000001"
-string(10) "800000001 "
-string(10) "   800000001"
-string(10) "
-800000001"
-string(9) "800000001"
-string(30) "                     800000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(8) "80000001"
-string(9) "80000001x"
-string(8) "80000001"
-string(1) "x"
-string(9) " 80000001"
-string(9) "80000001 "
-string(9) "    80000001"
-string(9) "
-80000001"
-string(8) "80000001"
-string(30) "                      80000001"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(5) "186a0"
-string(6) "186a0x"
-string(5) "186a0"
-string(1) "x"
-string(6) " 186a0"
-string(6) "186a0 "
-string(6) "    186a0"
-string(6) "
-186a0"
-string(5) "186a0"
-string(30) "                         186a0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(16) "fffffffffff0bdc0"
-string(17) "fffffffffff0bdc0x"
-string(16) "fffffffffff0bdc0"
-string(1) "x"
-string(17) " fffffffffff0bdc0"
-string(17) "fffffffffff0bdc0 "
-string(17) "   fffffffffff0bdc0"
-string(17) "
-fffffffffff0bdc0"
-string(16) "fffffffffff0bdc0"
-string(30) "              fffffffffff0bdc0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(7) "5f5e100"
-string(8) "5f5e100x"
-string(7) "5f5e100"
-string(1) "x"
-string(8) " 5f5e100"
-string(8) "5f5e100 "
-string(8) "    5f5e100"
-string(8) "
-5f5e100"
-string(7) "5f5e100"
-string(30) "                       5f5e100"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(16) "ffffffffc4653600"
-string(17) "ffffffffc4653600x"
-string(16) "ffffffffc4653600"
-string(1) "x"
-string(17) " ffffffffc4653600"
-string(17) "ffffffffc4653600 "
-string(17) "   ffffffffc4653600"
-string(17) "
-ffffffffc4653600"
-string(16) "ffffffffc4653600"
-string(30) "              ffffffffc4653600"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "a"
-string(2) "ax"
-string(1) "a"
-string(1) "x"
-string(2) " a"
-string(2) "a "
-string(2) "    a"
-string(2) "
-a"
-string(4) "   a"
-string(30) "                             a"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(6) "100590"
-string(7) "100590x"
-string(6) "100590"
-string(1) "x"
-string(7) " 100590"
-string(7) "100590 "
-string(7) "    100590"
-string(7) "
-100590"
-string(6) "100590"
-string(30) "                        100590"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : hexa formats with float values ***
 
 -- Iteration 1 --
index 0041bdb67e9005f3d1e18fa6c9753b1ed6c7c1b0..e3947dc556844517594734e40defa1e8f2f2d40d 100644 (file)
@@ -42,40 +42,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : hexa formats with resource values ***
 
--- Iteration 1 --
-string(%d) "%d"
-string(%d) "%dx"
-string(%d) "%d"
-string(1) "x"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "   %d"
-string(%d) "                             %d"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(%d) "%d"
-string(%d) "%dx"
-string(%d) "%d"
-string(1) "x"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "   %d"
-string(%d) "                             %d"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
-*** Testing sprintf() : hexa formats with resource values ***
-
 -- Iteration 1 --
 unicode(%d) "%d"
 unicode(%d) "%dx"
index 6c82bf16f26fa46b5f15cd60bb2adb266ca2ed54..2e2108983a8d8f8bd2d1613c1633a2d864b6ab11 100644 (file)
@@ -48,190 +48,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : hexa formats with array values ***
 
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
-*** Testing sprintf() : hexa formats with array values ***
-
 -- Iteration 1 --
 unicode(1) "0"
 unicode(2) "0x"
@@ -411,4 +227,4 @@ unicode(4) "   1"
 unicode(30) "                             1"
 unicode(10) "0-9A-Fa-f]"
 unicode(1) "x"
-Done
\ No newline at end of file
+Done
index eddb7915569d592bace4b653d9e2c41b1160989d..dc0e6b8ea26a53c6fe922dfddbfda4595093ea54 100644 (file)
@@ -51,281 +51,7 @@ foreach($string_values as $string_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 5 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 6 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 7 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 8 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 9 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 10 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 11 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 12 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 13 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 14 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 15 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 16 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 17 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 18 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : hexa formats with string values ***
 
 -- Iteration 1 --
@@ -597,4 +323,4 @@ unicode(4) "   0"
 unicode(30) "                             0"
 unicode(10) "0-9A-Fa-f]"
 unicode(1) "x"
-Done
\ No newline at end of file
+Done
index 9118b33d3ba27fed28ff29ac25a7f46afd062d3b..5f6ca613cc04a266d928f2176e5c35ab1165410a 100644 (file)
@@ -37,71 +37,7 @@ foreach($boolean_values as $boolean_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : hexa formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 2 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 3 --
-string(1) "1"
-string(2) "1x"
-string(1) "1"
-string(1) "x"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-
--- Iteration 4 --
-string(1) "0"
-string(2) "0x"
-string(1) "0"
-string(1) "x"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(10) "0-9A-Fa-f]"
-string(1) "x"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : hexa formats with boolean values ***
 
 -- Iteration 1 --
@@ -163,4 +99,4 @@ unicode(4) "   0"
 unicode(30) "                             0"
 unicode(10) "0-9A-Fa-f]"
 unicode(1) "x"
-Done
\ No newline at end of file
+Done
index fba8c46852188fc979a7ff5101d7bf2e69e10a88..dbfdb9f3188d0baa518c1ddd371ebca08fa44441 100644 (file)
@@ -48,190 +48,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : integer formats with float values ***
-
--- Iteration 1 --
-string(11) "-2147483648"
-string(1) "d"
-string(11) "-2147483648"
-string(1) "d"
-string(12) " -2147483648"
-string(12) "-2147483648 "
-string(12) "   -2147483648"
-string(12) "
--2147483648"
-string(11) "-2147483648"
-string(30) "                   -2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(10) "2147483647"
-string(1) "d"
-string(10) "2147483647"
-string(1) "d"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(11) "-2147483647"
-string(1) "d"
-string(11) "-2147483647"
-string(1) "d"
-string(12) " -2147483647"
-string(12) "-2147483647 "
-string(12) "   -2147483647"
-string(12) "
--2147483647"
-string(11) "-2147483647"
-string(30) "                   -2147483647"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "d"
-string(6) "100000"
-string(1) "d"
-string(7) " 100000"
-string(7) "100000 "
-string(7) "    100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) "                        100000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(8) "-1000000"
-string(1) "d"
-string(8) "-1000000"
-string(1) "d"
-string(9) " -1000000"
-string(9) "-1000000 "
-string(9) "    -1000000"
-string(9) "
--1000000"
-string(8) "-1000000"
-string(30) "                      -1000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(9) "100000000"
-string(1) "d"
-string(9) "100000000"
-string(1) "d"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) "   100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) "                     100000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(11) "-1000000000"
-string(1) "d"
-string(11) "-1000000000"
-string(1) "d"
-string(12) " -1000000000"
-string(12) "-1000000000 "
-string(12) "   -1000000000"
-string(12) "
--1000000000"
-string(11) "-1000000000"
-string(30) "                   -1000000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(2) "10"
-string(1) "d"
-string(2) "10"
-string(1) "d"
-string(3) " 10"
-string(3) "10 "
-string(3) "    10"
-string(3) "
-10"
-string(4) "  10"
-string(30) "                            10"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(7) "1050000"
-string(1) "d"
-string(7) "1050000"
-string(1) "d"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) "    1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) "                       1050000"
-string(4) "0-9]"
-string(1) "d"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : integer formats with float values ***
 
 -- Iteration 1 --
index 41276a6959b47eb50a39fb9167a0fc0ad59a3e81..24e0067cc7f416815061902f19fa00124d375882 100644 (file)
@@ -54,281 +54,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(10) "4294967295"
-string(1) "u"
-string(10) "4294967295"
-string(1) "u"
-string(11) " 4294967295"
-string(11) "4294967295 "
-string(11) "   4294967295"
-string(11) "
-4294967295"
-string(10) "4294967295"
-string(30) "                    4294967295"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(10) "2147483648"
-string(1) "u"
-string(10) "2147483648"
-string(1) "u"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) "   2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) "                    2147483648"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(10) "2147483649"
-string(1) "u"
-string(10) "2147483649"
-string(1) "u"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) "   2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) "                    2147483649"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "u"
-string(10) "2147483640"
-string(1) "u"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) "   2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) "                    2147483640"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "u"
-string(4) "4667"
-string(1) "u"
-string(5) " 4667"
-string(5) "4667 "
-string(5) "    4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) "                          4667"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "u"
-string(4) "4779"
-string(1) "u"
-string(5) " 4779"
-string(5) "4779 "
-string(5) "    4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) "                          4779"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "u"
-string(4) "4095"
-string(1) "u"
-string(5) " 4095"
-string(5) "4095 "
-string(5) "    4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) "                          4095"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "u"
-string(3) "250"
-string(1) "u"
-string(4) " 250"
-string(4) "250 "
-string(4) "    250"
-string(4) "
-250"
-string(4) " 250"
-string(30) "                           250"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(10) "2147483648"
-string(1) "u"
-string(10) "2147483648"
-string(1) "u"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) "   2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) "                    2147483648"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "u"
-string(2) "83"
-string(1) "u"
-string(3) " 83"
-string(3) "83 "
-string(3) "    83"
-string(3) "
-83"
-string(4) "  83"
-string(30) "                            83"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(10) "2147483648"
-string(1) "u"
-string(10) "2147483648"
-string(1) "u"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) "   2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) "                    2147483648"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with integer values ***
 
 -- Iteration 1 --
index fb8df235437c8818f20a754942dca962b25039c3..5d6fce9bac021500ca5f4392638c07e2781cf2eb 100644 (file)
@@ -54,281 +54,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with integer values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(20) "18446744073709551615"
-string(1) "u"
-string(20) "18446744073709551615"
-string(1) "u"
-string(21) " 18446744073709551615"
-string(21) "18446744073709551615 "
-string(21) "   18446744073709551615"
-string(21) "
-18446744073709551615"
-string(20) "18446744073709551615"
-string(30) "          18446744073709551615"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(20) "18446744071562067968"
-string(1) "u"
-string(20) "18446744071562067968"
-string(1) "u"
-string(21) " 18446744071562067968"
-string(21) "18446744071562067968 "
-string(21) "   18446744071562067968"
-string(21) "
-18446744071562067968"
-string(20) "18446744071562067968"
-string(30) "          18446744071562067968"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(20) "18446744071562067969"
-string(1) "u"
-string(20) "18446744071562067969"
-string(1) "u"
-string(21) " 18446744071562067969"
-string(21) "18446744071562067969 "
-string(21) "   18446744071562067969"
-string(21) "
-18446744071562067969"
-string(20) "18446744071562067969"
-string(30) "          18446744071562067969"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(10) "2147483640"
-string(1) "u"
-string(10) "2147483640"
-string(1) "u"
-string(11) " 2147483640"
-string(11) "2147483640 "
-string(11) "   2147483640"
-string(11) "
-2147483640"
-string(10) "2147483640"
-string(30) "                    2147483640"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(4) "4667"
-string(1) "u"
-string(4) "4667"
-string(1) "u"
-string(5) " 4667"
-string(5) "4667 "
-string(5) "    4667"
-string(5) "
-4667"
-string(4) "4667"
-string(30) "                          4667"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(4) "4779"
-string(1) "u"
-string(4) "4779"
-string(1) "u"
-string(5) " 4779"
-string(5) "4779 "
-string(5) "    4779"
-string(5) "
-4779"
-string(4) "4779"
-string(30) "                          4779"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(4) "4095"
-string(1) "u"
-string(4) "4095"
-string(1) "u"
-string(5) " 4095"
-string(5) "4095 "
-string(5) "    4095"
-string(5) "
-4095"
-string(4) "4095"
-string(30) "                          4095"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(3) "250"
-string(1) "u"
-string(3) "250"
-string(1) "u"
-string(4) " 250"
-string(4) "250 "
-string(4) "    250"
-string(4) "
-250"
-string(4) " 250"
-string(30) "                           250"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(20) "18446744071562067968"
-string(1) "u"
-string(20) "18446744071562067968"
-string(1) "u"
-string(21) " 18446744071562067968"
-string(21) "18446744071562067968 "
-string(21) "   18446744071562067968"
-string(21) "
-18446744071562067968"
-string(20) "18446744071562067968"
-string(30) "          18446744071562067968"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(2) "83"
-string(1) "u"
-string(2) "83"
-string(1) "u"
-string(3) " 83"
-string(3) "83 "
-string(3) "    83"
-string(3) "
-83"
-string(4) "  83"
-string(30) "                            83"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(20) "18446744071562067968"
-string(1) "u"
-string(20) "18446744071562067968"
-string(1) "u"
-string(21) " 18446744071562067968"
-string(21) "18446744071562067968 "
-string(21) "   18446744071562067968"
-string(21) "
-18446744071562067968"
-string(20) "18446744071562067968"
-string(30) "          18446744071562067968"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with integer values ***
 
 -- Iteration 1 --
index fdbd193d23c241ba432674fe090d6ef680129849..62ca7dcc83806f2979b7a88409460d5a6cd70949 100644 (file)
@@ -52,265 +52,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with float values ***
-
--- Iteration 1 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(10) "2147483649"
-string(1) "u"
-string(10) "2147483649"
-string(1) "u"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) "   2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) "                    2147483649"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) "    100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) "                        100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(6) "500000"
-string(1) "u"
-string(6) "500000"
-string(1) "u"
-string(7) " 500000"
-string(7) "500000 "
-string(7) "    500000"
-string(7) "
-500000"
-string(6) "500000"
-string(30) "                        500000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(10) "4294867296"
-string(1) "u"
-string(10) "4294867296"
-string(1) "u"
-string(11) " 4294867296"
-string(11) "4294867296 "
-string(11) "   4294867296"
-string(11) "
-4294867296"
-string(10) "4294867296"
-string(30) "                    4294867296"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(10) "4294867296"
-string(1) "u"
-string(10) "4294867296"
-string(1) "u"
-string(11) " 4294867296"
-string(11) "4294867296 "
-string(11) "   4294867296"
-string(11) "
-4294867296"
-string(10) "4294867296"
-string(30) "                    4294867296"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) "    100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) "                        100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(9) "100000000"
-string(1) "u"
-string(9) "100000000"
-string(1) "u"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) "   100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) "                     100000000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(10) "3294967296"
-string(1) "u"
-string(10) "3294967296"
-string(1) "u"
-string(11) " 3294967296"
-string(11) "3294967296 "
-string(11) "   3294967296"
-string(11) "
-3294967296"
-string(10) "3294967296"
-string(30) "                    3294967296"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(2) "10"
-string(1) "u"
-string(2) "10"
-string(1) "u"
-string(3) " 10"
-string(3) "10 "
-string(3) "    10"
-string(3) "
-10"
-string(4) "  10"
-string(30) "                            10"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(7) "1050000"
-string(1) "u"
-string(7) "1050000"
-string(1) "u"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) "    1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) "                       1050000"
-string(4) "0-9]"
-string(1) "u"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with float values ***
 
 -- Iteration 1 --
index df713c87d1c89d92ea785f4b108bb9ca563c22e6..651da4cecb0d650eb2bc943a018ecb90af08be6c 100644 (file)
@@ -52,265 +52,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with float values ***
-
--- Iteration 1 --
-string(10) "2147483647"
-string(1) "u"
-string(10) "2147483647"
-string(1) "u"
-string(11) " 2147483647"
-string(11) "2147483647 "
-string(11) "   2147483647"
-string(11) "
-2147483647"
-string(10) "2147483647"
-string(30) "                    2147483647"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(11) "34359738369"
-string(1) "u"
-string(11) "34359738369"
-string(1) "u"
-string(12) " 34359738369"
-string(12) "34359738369 "
-string(12) "   34359738369"
-string(12) "
-34359738369"
-string(11) "34359738369"
-string(30) "                   34359738369"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(10) "2147483649"
-string(1) "u"
-string(10) "2147483649"
-string(1) "u"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) "   2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) "                    2147483649"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) "    100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) "                        100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(6) "500000"
-string(1) "u"
-string(6) "500000"
-string(1) "u"
-string(7) " 500000"
-string(7) "500000 "
-string(7) "    500000"
-string(7) "
-500000"
-string(6) "500000"
-string(30) "                        500000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(20) "18446744073709451616"
-string(1) "u"
-string(20) "18446744073709451616"
-string(1) "u"
-string(21) " 18446744073709451616"
-string(21) "18446744073709451616 "
-string(21) "   18446744073709451616"
-string(21) "
-18446744073709451616"
-string(20) "18446744073709451616"
-string(30) "          18446744073709451616"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(20) "18446744073709451616"
-string(1) "u"
-string(20) "18446744073709451616"
-string(1) "u"
-string(21) " 18446744073709451616"
-string(21) "18446744073709451616 "
-string(21) "   18446744073709451616"
-string(21) "
-18446744073709451616"
-string(20) "18446744073709451616"
-string(30) "          18446744073709451616"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(6) "100000"
-string(1) "u"
-string(6) "100000"
-string(1) "u"
-string(7) " 100000"
-string(7) "100000 "
-string(7) "    100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) "                        100000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(9) "100000000"
-string(1) "u"
-string(9) "100000000"
-string(1) "u"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) "   100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) "                     100000000"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(20) "18446744072709551616"
-string(1) "u"
-string(20) "18446744072709551616"
-string(1) "u"
-string(21) " 18446744072709551616"
-string(21) "18446744072709551616 "
-string(21) "   18446744072709551616"
-string(21) "
-18446744072709551616"
-string(20) "18446744072709551616"
-string(30) "          18446744072709551616"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(2) "10"
-string(1) "u"
-string(2) "10"
-string(1) "u"
-string(3) " 10"
-string(3) "10 "
-string(3) "    10"
-string(3) "
-10"
-string(4) "  10"
-string(30) "                            10"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(7) "1050000"
-string(1) "u"
-string(7) "1050000"
-string(1) "u"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) "    1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) "                       1050000"
-string(4) "0-9]"
-string(1) "u"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with float values ***
 
 -- Iteration 1 --
index 46fefb6d4c423859eed9d05bde9864497b4ebd8d..30ff6c4616bc9f9c8e6dc10f6b8d2fbd173b9f16 100644 (file)
@@ -47,39 +47,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : unsigned formats with resource values ***
 
--- Iteration 1 --
-string(%d) "%d"
-string(1) "u"
-string(%d) "%d"
-string(1) "u"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(%d) "%d"
-string(1) "u"
-string(%d) "%d"
-string(1) "u"
-string(%d) " %d"
-string(%d) "%d "
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "u"
-Done
---UEXPECTF--
-*** Testing sprintf() : unsigned formats with resource values ***
-
 -- Iteration 1 --
 unicode(%d) "%d"
 unicode(1) "u"
index 15b217420eb34b66b0e8c40ddc27562d3beeb7d9..2dcddeca3a1731119374a2aa1ed7328071f723b1 100644 (file)
@@ -47,221 +47,7 @@ foreach($array_values as $array_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with array values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with array values ***
 
 -- Iteration 1 --
@@ -473,4 +259,4 @@ unicode(4) "   1"
 unicode(30) "                             1"
 unicode(4) "0-9]"
 unicode(1) "u"
-Done
\ No newline at end of file
+Done
index 411fe10e73565d836ab28ee216b38fe034a0e3f5..9a5509bda8deb2c1208bb2b6f6cc5468ef52346d 100644 (file)
@@ -56,311 +56,7 @@ foreach($string_values as $string_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(10) "4294967173"
-string(1) "u"
-string(10) "4294967173"
-string(1) "u"
-string(11) " 4294967173"
-string(11) "4294967173 "
-string(11) "   4294967173"
-string(11) "
-4294967173"
-string(10) "4294967173"
-string(30) "                    4294967173"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(3) "123"
-string(1) "u"
-string(3) "123"
-string(1) "u"
-string(4) " 123"
-string(4) "123 "
-string(4) "    123"
-string(4) "
-123"
-string(4) " 123"
-string(30) "                           123"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 20 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with string values ***
 
 -- Iteration 1 --
index c4ae408e667be307e0640088f453df9024e88e28..0896ed53f711d68677aebda0e087dc088e6f375d 100644 (file)
@@ -56,311 +56,7 @@ foreach($string_values as $string_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 7 --
-string(20) "18446744073709551493"
-string(1) "u"
-string(20) "18446744073709551493"
-string(1) "u"
-string(21) " 18446744073709551493"
-string(21) "18446744073709551493 "
-string(21) "   18446744073709551493"
-string(21) "
-18446744073709551493"
-string(20) "18446744073709551493"
-string(30) "          18446744073709551493"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 8 --
-string(3) "123"
-string(1) "u"
-string(3) "123"
-string(1) "u"
-string(4) " 123"
-string(4) "123 "
-string(4) "    123"
-string(4) "
-123"
-string(4) " 123"
-string(30) "                           123"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 9 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 20 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with string values ***
 
 -- Iteration 1 --
index 6e02dc66a0f0efe11c8147ed172bfb5f16eaff51..5d3bf466e67da854078281d86b1ce91f195b1b5d 100644 (file)
@@ -37,71 +37,7 @@ foreach($boolean_values as $boolean_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : unsigned formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "u"
-string(1) "1"
-string(1) "u"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "u"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "u"
-string(1) "0"
-string(1) "u"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "u"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : unsigned formats with boolean values ***
 
 -- Iteration 1 --
@@ -163,4 +99,4 @@ unicode(4) "   0"
 unicode(30) "                             0"
 unicode(4) "0-9]"
 unicode(1) "u"
-Done
\ No newline at end of file
+Done
index 1a8293b676cc450c81699971f4db5733ea8f7320..33d137f6faee63b1a516ef3d6603df37c7d55b3b 100644 (file)
@@ -51,281 +51,7 @@ foreach($integer_values as $integer_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with integer values ***
-
--- Iteration 1 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(12) "-1.000000e+0"
-string(1) "e"
-string(12) "-1.000000e+0"
-string(1) "e"
-string(13) " -1.000000e+0"
-string(13) "-1.000000e+0 "
-string(13) "   -1.000000e+0"
-string(13) "
--1.000000e+0"
-string(12) "-1.000000e+0"
-string(30) "                  -1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) "   -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) "                  -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) "   -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) "                  -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) "   2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) "                   2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) "   2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) "                   2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(11) "4.667000e+3"
-string(1) "e"
-string(11) "4.667000e+3"
-string(1) "e"
-string(12) " 4.667000e+3"
-string(12) "4.667000e+3 "
-string(12) "   4.667000e+3"
-string(12) "
-4.667000e+3"
-string(11) "4.667000e+3"
-string(30) "                   4.667000e+3"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "4.779000e+3"
-string(1) "e"
-string(11) "4.779000e+3"
-string(1) "e"
-string(12) " 4.779000e+3"
-string(12) "4.779000e+3 "
-string(12) "   4.779000e+3"
-string(12) "
-4.779000e+3"
-string(11) "4.779000e+3"
-string(30) "                   4.779000e+3"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "4.095000e+3"
-string(1) "e"
-string(11) "4.095000e+3"
-string(1) "e"
-string(12) " 4.095000e+3"
-string(12) "4.095000e+3 "
-string(12) "   4.095000e+3"
-string(12) "
-4.095000e+3"
-string(11) "4.095000e+3"
-string(30) "                   4.095000e+3"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(11) "2.500000e+2"
-string(1) "e"
-string(11) "2.500000e+2"
-string(1) "e"
-string(12) " 2.500000e+2"
-string(12) "2.500000e+2 "
-string(12) "   2.500000e+2"
-string(12) "
-2.500000e+2"
-string(11) "2.500000e+2"
-string(30) "                   2.500000e+2"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) "   -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) "                  -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) "   2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) "                   2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) "   2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) "                   2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(11) "8.300000e+1"
-string(1) "e"
-string(11) "8.300000e+1"
-string(1) "e"
-string(12) " 8.300000e+1"
-string(12) "8.300000e+1 "
-string(12) "   8.300000e+1"
-string(12) "
-8.300000e+1"
-string(11) "8.300000e+1"
-string(30) "                   8.300000e+1"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 16 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 17 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) "   -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) "                  -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 18 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) "   2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) "                   2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : scientific formats with integer values ***
 
 -- Iteration 1 --
@@ -597,4 +323,4 @@ unicode(11) "2.147484e+9"
 unicode(30) "                   2.147484e+9"
 unicode(4) "0-1]"
 unicode(1) "e"
-Done
\ No newline at end of file
+Done
index cf6b1cb48f79c41572bf7c3f9a19049a67849830..a7d878b49a3f92911717cda4b5f08873b461a467 100644 (file)
@@ -53,296 +53,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with float values ***
-
--- Iteration 1 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) "   -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) "                  -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) "   2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) "                   2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) "   -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) "                  -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(12) "3.435974e+10"
-string(1) "e"
-string(12) "3.435974e+10"
-string(1) "e"
-string(13) " 3.435974e+10"
-string(13) "3.435974e+10 "
-string(13) "   3.435974e+10"
-string(13) "
-3.435974e+10"
-string(12) "3.435974e+10"
-string(30) "                  3.435974e+10"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(11) "2.147484e+9"
-string(1) "e"
-string(11) "2.147484e+9"
-string(1) "e"
-string(12) " 2.147484e+9"
-string(12) "2.147484e+9 "
-string(12) "   2.147484e+9"
-string(12) "
-2.147484e+9"
-string(11) "2.147484e+9"
-string(30) "                   2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(12) "-2.147484e+9"
-string(1) "e"
-string(12) "-2.147484e+9"
-string(1) "e"
-string(13) " -2.147484e+9"
-string(13) "-2.147484e+9 "
-string(13) "   -2.147484e+9"
-string(13) "
--2.147484e+9"
-string(12) "-2.147484e+9"
-string(30) "                  -2.147484e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(12) "-1.000000e-1"
-string(1) "e"
-string(12) "-1.000000e-1"
-string(1) "e"
-string(13) " -1.000000e-1"
-string(13) "-1.000000e-1 "
-string(13) "   -1.000000e-1"
-string(13) "
--1.000000e-1"
-string(12) "-1.000000e-1"
-string(30) "                  -1.000000e-1"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "1.000000e+5"
-string(1) "e"
-string(11) "1.000000e+5"
-string(1) "e"
-string(12) " 1.000000e+5"
-string(12) "1.000000e+5 "
-string(12) "   1.000000e+5"
-string(12) "
-1.000000e+5"
-string(11) "1.000000e+5"
-string(30) "                   1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(12) "-1.000000e+5"
-string(1) "e"
-string(12) "-1.000000e+5"
-string(1) "e"
-string(13) " -1.000000e+5"
-string(13) "-1.000000e+5 "
-string(13) "   -1.000000e+5"
-string(13) "
--1.000000e+5"
-string(12) "-1.000000e+5"
-string(30) "                  -1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(12) "-1.000000e+5"
-string(1) "e"
-string(12) "-1.000000e+5"
-string(1) "e"
-string(13) " -1.000000e+5"
-string(13) "-1.000000e+5 "
-string(13) "   -1.000000e+5"
-string(13) "
--1.000000e+5"
-string(12) "-1.000000e+5"
-string(30) "                  -1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "1.000000e+5"
-string(1) "e"
-string(11) "1.000000e+5"
-string(1) "e"
-string(12) " 1.000000e+5"
-string(12) "1.000000e+5 "
-string(12) "   1.000000e+5"
-string(12) "
-1.000000e+5"
-string(11) "1.000000e+5"
-string(30) "                   1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "1.000000e+5"
-string(1) "e"
-string(11) "1.000000e+5"
-string(1) "e"
-string(12) " 1.000000e+5"
-string(12) "1.000000e+5 "
-string(12) "   1.000000e+5"
-string(12) "
-1.000000e+5"
-string(11) "1.000000e+5"
-string(30) "                   1.000000e+5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(12) "-1.000000e-5"
-string(1) "e"
-string(12) "-1.000000e-5"
-string(1) "e"
-string(13) " -1.000000e-5"
-string(13) "-1.000000e-5 "
-string(13) "   -1.000000e-5"
-string(13) "
--1.000000e-5"
-string(12) "-1.000000e-5"
-string(30) "                  -1.000000e-5"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 16 --
-string(11) "1.000000e+8"
-string(1) "e"
-string(11) "1.000000e+8"
-string(1) "e"
-string(12) " 1.000000e+8"
-string(12) "1.000000e+8 "
-string(12) "   1.000000e+8"
-string(12) "
-1.000000e+8"
-string(11) "1.000000e+8"
-string(30) "                   1.000000e+8"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 17 --
-string(12) "-1.000000e+9"
-string(1) "e"
-string(12) "-1.000000e+9"
-string(1) "e"
-string(13) " -1.000000e+9"
-string(13) "-1.000000e+9 "
-string(13) "   -1.000000e+9"
-string(13) "
--1.000000e+9"
-string(12) "-1.000000e+9"
-string(30) "                  -1.000000e+9"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 18 --
-string(11) "1.000000e+1"
-string(1) "e"
-string(11) "1.000000e+1"
-string(1) "e"
-string(12) " 1.000000e+1"
-string(12) "1.000000e+1 "
-string(12) "   1.000000e+1"
-string(12) "
-1.000000e+1"
-string(11) "1.000000e+1"
-string(30) "                   1.000000e+1"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 19 --
-string(11) "1.050000e+6"
-string(1) "e"
-string(11) "1.050000e+6"
-string(1) "e"
-string(12) " 1.050000e+6"
-string(12) "1.050000e+6 "
-string(12) "   1.050000e+6"
-string(12) "
-1.050000e+6"
-string(11) "1.050000e+6"
-string(30) "                   1.050000e+6"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : scientific formats with float values ***
 
 -- Iteration 1 --
@@ -629,4 +340,4 @@ unicode(11) "1.050000e+6"
 unicode(30) "                   1.050000e+6"
 unicode(4) "0-1]"
 unicode(1) "e"
-Done
\ No newline at end of file
+Done
index 0acc5a8d2c070b5015fc3742ef67bdb542bcfac4..949f448fa2960a16b1235ff80943984a2d15267f 100644 (file)
@@ -47,39 +47,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : scientific formats with resource values ***
 
--- Iteration 1 --
-string(%d) "%f"
-string(1) "e"
-string(%d) "%f"
-string(1) "e"
-string(%d) " %f"
-string(%d) "%f "
-string(%d) "   %f"
-string(%d) "
-%f"
-string(%d) "%f"
-string(%d) "%s%f"
-string(%d) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(%d) "%f"
-string(1) "e"
-string(%d) "%f"
-string(1) "e"
-string(%d) " %f"
-string(%d) "%f "
-string(%d) "   %f"
-string(%d) "
-%f"
-string(%d) "%f"
-string(%d) "%s%f"
-string(%d) "0-1]"
-string(1) "e"
-Done
---UEXPECTF--
-*** Testing sprintf() : scientific formats with resource values ***
-
 -- Iteration 1 --
 unicode(%d) "%f"
 unicode(1) "e"
index e5c75c2cac8b2b60d5eab54ab667fa7cddb19b0d..dac4775afb7728c997a63dbbd36471e10d6a0b45 100644 (file)
@@ -48,236 +48,7 @@ foreach($array_values as $array_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with array values ***
-
--- Iteration 1 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : scientific formats with array values ***
 
 -- Iteration 1 --
@@ -504,4 +275,4 @@ unicode(11) "1.000000e+0"
 unicode(30) "                   1.000000e+0"
 unicode(4) "0-1]"
 unicode(1) "e"
-Done
\ No newline at end of file
+Done
index 119fc7e88e2e07b2d87e2d9199a98fc8daa78e89..194e1c69d4fef7069ff269a8f68bfd263e3a2b71 100644 (file)
@@ -48,190 +48,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : integer formats with float values ***
-
--- Iteration 1 --
-string(10) "2147483648"
-string(1) "d"
-string(10) "2147483648"
-string(1) "d"
-string(11) " 2147483648"
-string(11) "2147483648 "
-string(11) "   2147483648"
-string(11) "
-2147483648"
-string(10) "2147483648"
-string(30) "                    2147483648"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(11) "34359738369"
-string(1) "d"
-string(11) "34359738369"
-string(1) "d"
-string(12) " 34359738369"
-string(12) "34359738369 "
-string(12) "   34359738369"
-string(12) "
-34359738369"
-string(11) "34359738369"
-string(30) "                   34359738369"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(10) "2147483649"
-string(1) "d"
-string(10) "2147483649"
-string(1) "d"
-string(11) " 2147483649"
-string(11) "2147483649 "
-string(11) "   2147483649"
-string(11) "
-2147483649"
-string(10) "2147483649"
-string(30) "                    2147483649"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(6) "100000"
-string(1) "d"
-string(6) "100000"
-string(1) "d"
-string(7) " 100000"
-string(7) "100000 "
-string(7) "    100000"
-string(7) "
-100000"
-string(6) "100000"
-string(30) "                        100000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(8) "-1000000"
-string(1) "d"
-string(8) "-1000000"
-string(1) "d"
-string(9) " -1000000"
-string(9) "-1000000 "
-string(9) "    -1000000"
-string(9) "
--1000000"
-string(8) "-1000000"
-string(30) "                      -1000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(9) "100000000"
-string(1) "d"
-string(9) "100000000"
-string(1) "d"
-string(10) " 100000000"
-string(10) "100000000 "
-string(10) "   100000000"
-string(10) "
-100000000"
-string(9) "100000000"
-string(30) "                     100000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(11) "-1000000000"
-string(1) "d"
-string(11) "-1000000000"
-string(1) "d"
-string(12) " -1000000000"
-string(12) "-1000000000 "
-string(12) "   -1000000000"
-string(12) "
--1000000000"
-string(11) "-1000000000"
-string(30) "                   -1000000000"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(2) "10"
-string(1) "d"
-string(2) "10"
-string(1) "d"
-string(3) " 10"
-string(3) "10 "
-string(3) "    10"
-string(3) "
-10"
-string(4) "  10"
-string(30) "                            10"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(7) "1050000"
-string(1) "d"
-string(7) "1050000"
-string(1) "d"
-string(8) " 1050000"
-string(8) "1050000 "
-string(8) "    1050000"
-string(8) "
-1050000"
-string(7) "1050000"
-string(30) "                       1050000"
-string(4) "0-9]"
-string(1) "d"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : integer formats with float values ***
 
 -- Iteration 1 --
index afcdb1a9a5e854db449deb5707fe2af4db0ccae8..68f6f6f2dc07125ffc8b2e01564c85d61b52f6c7 100644 (file)
@@ -49,31 +49,6 @@ echo "Done";
 --EXPECTF--
 *** Testing sprintf() : integer formats with resource values ***
 
--- Iteration 1 --
-string(%d) "%d"
-string(1) "d"
-string(%d) " %d"
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(%d) "%d"
-string(1) "d"
-string(%d) " %d"
-string(%d) "   %d"
-string(%d) "
-%d"
-string(%d) "%s%d"
-string(%d) "0-9]"
-string(1) "d"
-Done
---UEXPECTF--
-*** Testing sprintf() : integer formats with resource values ***
-
 -- Iteration 1 --
 unicode(%d) "%d"
 unicode(1) "d"
index f3319f08c8d47f651f56c6a304bf429a31ee1864..9c5514dd2c32d90de3676133ffbc87da9f083443 100644 (file)
@@ -53,296 +53,7 @@ foreach($string_values as $string_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with string values ***
-
--- Iteration 1 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 5 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 6 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 7 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 8 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 9 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 10 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 11 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 12 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 13 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 14 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 15 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 16 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 17 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 18 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 19 --
-string(12) "3.333333e+29"
-string(1) "e"
-string(12) "3.333333e+29"
-string(1) "e"
-string(13) " 3.333333e+29"
-string(13) "3.333333e+29 "
-string(13) "   3.333333e+29"
-string(13) "
-3.333333e+29"
-string(12) "3.333333e+29"
-string(30) "                  3.333333e+29"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : scientific formats with string values ***
 
 -- Iteration 1 --
@@ -629,4 +340,4 @@ unicode(12) "3.333333e+29"
 unicode(30) "                  3.333333e+29"
 unicode(4) "0-1]"
 unicode(1) "e"
-Done
\ No newline at end of file
+Done
index 04091fd4336c87a39daa2f500d64631f581a9056..762a9228a6302e0bdb66dbf13b0d61c088f851ae 100644 (file)
@@ -37,71 +37,7 @@ foreach($boolean_values as $boolean_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : scientific formats with boolean values ***
-
--- Iteration 1 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 2 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 3 --
-string(11) "1.000000e+0"
-string(1) "e"
-string(11) "1.000000e+0"
-string(1) "e"
-string(12) " 1.000000e+0"
-string(12) "1.000000e+0 "
-string(12) "   1.000000e+0"
-string(12) "
-1.000000e+0"
-string(11) "1.000000e+0"
-string(30) "                   1.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-
--- Iteration 4 --
-string(11) "0.000000e+0"
-string(1) "e"
-string(11) "0.000000e+0"
-string(1) "e"
-string(12) " 0.000000e+0"
-string(12) "0.000000e+0 "
-string(12) "   0.000000e+0"
-string(12) "
-0.000000e+0"
-string(11) "0.000000e+0"
-string(30) "                   0.000000e+0"
-string(4) "0-1]"
-string(1) "e"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : scientific formats with boolean values ***
 
 -- Iteration 1 --
@@ -163,4 +99,4 @@ unicode(11) "0.000000e+0"
 unicode(30) "                   0.000000e+0"
 unicode(4) "0-1]"
 unicode(1) "e"
-Done
\ No newline at end of file
+Done
index c68b2f3e611e53a9c0d243e51a3b5e40574402bf..e44a6fa4f1eaa2f73f09426ddc1ba46d16d72541 100644 (file)
@@ -36,33 +36,7 @@ var_dump(sprintf("%s", $tempstring, $tempstring, $tempstring));
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : with  typical format strings ***
-
--- Testing for '%%%.2f' as the format parameter --
-string(15) "%12345678900.00"
-
--- Testing for '%%' as the format parameter --
-string(1) "%"
-
--- Testing for precision value more than maximum --
-string(52) "12345678900.0000000000000000000000000000000000000000"
-
--- Testing for invalid width(-15) specifier --
-string(3) "15s"
-
--- Testing for '%X' as the format parameter --
-string(1) "C"
-
--- Testing for multiple format parameters --
-string(39) "12345  abcdefghjklmnpqrstuvwxyz  12345
-"
-
--- Testing for excess of mixed type arguments  --
-string(24) "abcdefghjklmnpqrstuvwxyz"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : with  typical format strings ***
 
 -- Testing for '%%%.2f' as the format parameter --
@@ -86,4 +60,4 @@ unicode(39) "12345  abcdefghjklmnpqrstuvwxyz  12345
 
 -- Testing for excess of mixed type arguments  --
 unicode(24) "abcdefghjklmnpqrstuvwxyz"
-Done
\ No newline at end of file
+Done
index fb858c4832caf9bd580841cff2019aebade353a0..106a3f5a7e1e87c4f0f050dc005a42bc61e7f002 100644 (file)
@@ -32,44 +32,7 @@ foreach($formats as $format) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : with  white spaces in format strings ***
-string(4) "1234"
-string(4) "1234"
-string(4) "1234"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "1234.000000"
-string(11) "10011010010"
-string(11) "10011010010"
-string(11) "10011010010"
-string(1) "Ò"
-string(1) "Ò"
-string(1) "Ò"
-string(11) "1.234000e+3"
-string(11) "1.234000e+3"
-string(11) "1.234000e+3"
-string(4) "1234"
-string(4) "1234"
-string(4) "1234"
-string(4) "2322"
-string(4) "2322"
-string(4) "2322"
-string(3) "4d2"
-string(3) "4d2"
-string(3) "4d2"
-string(3) "4D2"
-string(3) "4D2"
-string(3) "4D2"
-string(11) "1.234000E+3"
-string(11) "1.234000E+3"
-string(11) "1.234000E+3"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : with  white spaces in format strings ***
 unicode(4) "1234"
 unicode(4) "1234"
@@ -104,4 +67,4 @@ unicode(3) "4D2"
 unicode(11) "1.234000E+3"
 unicode(11) "1.234000E+3"
 unicode(11) "1.234000E+3"
-Done
\ No newline at end of file
+Done
index 0b9fc045ca7fc033742116111aec1162a632da6f..044047bc133c843fecba52fc7951f59cb9cb97f0 100644 (file)
@@ -48,236 +48,7 @@ foreach($array_types as $arr) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : integer formats with arrays ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 13 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 14 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 15 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : integer formats with arrays ***
 
 -- Iteration 1 --
@@ -504,4 +275,4 @@ unicode(4) "   1"
 unicode(30) "                             1"
 unicode(4) "0-9]"
 unicode(1) "d"
-Done
\ No newline at end of file
+Done
index 3f5cbda2f53118690473572996b88a9ed33a5b7d..22f1c56339957ac0b4b92bbda9a8828586903feb 100644 (file)
@@ -37,71 +37,7 @@ foreach($boolean_values as $boolean_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : integer formats with boolean values ***
-
--- Iteration 1 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : integer formats with boolean values ***
 
 -- Iteration 1 --
@@ -163,4 +99,4 @@ unicode(4) "   0"
 unicode(30) "                             0"
 unicode(4) "0-9]"
 unicode(1) "d"
-Done
\ No newline at end of file
+Done
index e4323dc57d4b45c651a59c3aa991af794e938a27..df980047e8faa7cee2a5ce339862d71d222f941f 100644 (file)
@@ -54,326 +54,7 @@ foreach($string_values as $string_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : integer formats with string values ***
-
--- Iteration 1 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 2 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 3 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 4 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 5 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 6 --
-string(1) "1"
-string(1) "d"
-string(1) "1"
-string(1) "d"
-string(2) " 1"
-string(2) "1 "
-string(2) "    1"
-string(2) "
-1"
-string(4) "   1"
-string(30) "                             1"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 7 --
-string(4) "-123"
-string(1) "d"
-string(4) "-123"
-string(1) "d"
-string(5) " -123"
-string(5) "-123 "
-string(5) "    -123"
-string(5) "
--123"
-string(4) "-123"
-string(30) "                          -123"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 8 --
-string(3) "123"
-string(1) "d"
-string(3) "123"
-string(1) "d"
-string(4) " 123"
-string(4) "123 "
-string(4) "    123"
-string(4) "
-123"
-string(4) " 123"
-string(30) "                           123"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 9 --
-string(3) "123"
-string(1) "d"
-string(3) "123"
-string(1) "d"
-string(4) " 123"
-string(4) "123 "
-string(4) "    123"
-string(4) "
-123"
-string(4) " 123"
-string(30) "                           123"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 10 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 11 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 12 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 13 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 14 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 15 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 16 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 17 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 18 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 19 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 20 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-
--- Iteration 21 --
-string(1) "0"
-string(1) "d"
-string(1) "0"
-string(1) "d"
-string(2) " 0"
-string(2) "0 "
-string(2) "    0"
-string(2) "
-0"
-string(4) "   0"
-string(30) "                             0"
-string(4) "0-9]"
-string(1) "d"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : integer formats with string values ***
 
 -- Iteration 1 --
@@ -690,4 +371,4 @@ unicode(4) "   0"
 unicode(30) "                             0"
 unicode(4) "0-9]"
 unicode(1) "d"
-Done
\ No newline at end of file
+Done
index a16036594327957dab4b17d52d86a04c60100920..dd6bc77ccb2cea3b01633a6df5ae2adb99f61d47 100644 (file)
@@ -64,461 +64,7 @@ foreach($float_values as $float_value) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing sprintf() : float formats with float values ***
-
--- Iteration 1 --
-string(18) "-2147483649.000000"
-string(1) "f"
-string(18) "-2147483649.000000"
-string(1) "f"
-string(19) " -2147483649.000000"
-string(19) "-2147483649.000000 "
-string(19) "   -2147483649.000000"
-string(19) "
--2147483649.000000"
-string(18) "-2147483649.000000"
-string(30) "            -2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 2 --
-string(17) "2147483648.000000"
-string(1) "f"
-string(17) "2147483648.000000"
-string(1) "f"
-string(18) " 2147483648.000000"
-string(18) "2147483648.000000 "
-string(18) "   2147483648.000000"
-string(18) "
-2147483648.000000"
-string(17) "2147483648.000000"
-string(30) "             2147483648.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 3 --
-string(18) "-2147483649.000000"
-string(1) "f"
-string(18) "-2147483649.000000"
-string(1) "f"
-string(19) " -2147483649.000000"
-string(19) "-2147483649.000000 "
-string(19) "   -2147483649.000000"
-string(19) "
--2147483649.000000"
-string(18) "-2147483649.000000"
-string(30) "            -2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 4 --
-string(18) "34359738369.000000"
-string(1) "f"
-string(18) "34359738369.000000"
-string(1) "f"
-string(19) " 34359738369.000000"
-string(19) "34359738369.000000 "
-string(19) "   34359738369.000000"
-string(19) "
-34359738369.000000"
-string(18) "34359738369.000000"
-string(30) "            34359738369.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 5 --
-string(17) "2147483649.000000"
-string(1) "f"
-string(17) "2147483649.000000"
-string(1) "f"
-string(18) " 2147483649.000000"
-string(18) "2147483649.000000 "
-string(18) "   2147483649.000000"
-string(18) "
-2147483649.000000"
-string(17) "2147483649.000000"
-string(30) "             2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 6 --
-string(18) "-2147483649.000000"
-string(1) "f"
-string(18) "-2147483649.000000"
-string(1) "f"
-string(19) " -2147483649.000000"
-string(19) "-2147483649.000000 "
-string(19) "   -2147483649.000000"
-string(19) "
--2147483649.000000"
-string(18) "-2147483649.000000"
-string(30) "            -2147483649.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 7 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 8 --
-string(9) "-0.100000"
-string(1) "f"
-string(9) "-0.100000"
-string(1) "f"
-string(10) " -0.100000"
-string(10) "-0.100000 "
-string(10) "   -0.100000"
-string(10) "
--0.100000"
-string(9) "-0.100000"
-string(30) "                     -0.100000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 9 --
-string(9) "10.000000"
-string(1) "f"
-string(9) "10.000000"
-string(1) "f"
-string(10) " 10.000000"
-string(10) "10.000000 "
-string(10) "   10.000000"
-string(10) "
-10.000000"
-string(9) "10.000000"
-string(30) "                     10.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 10 --
-string(14) "1050000.000000"
-string(1) "f"
-string(14) "1050000.000000"
-string(1) "f"
-string(15) " 1050000.000000"
-string(15) "1050000.000000 "
-string(15) "   1050000.000000"
-string(15) "
-1050000.000000"
-string(14) "1050000.000000"
-string(30) "                1050000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 11 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) "   100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) "                 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 12 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) "   -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) "                -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 13 --
-string(8) "0.000010"
-string(1) "f"
-string(8) "0.000010"
-string(1) "f"
-string(9) " 0.000010"
-string(9) "0.000010 "
-string(9) "    0.000010"
-string(9) "
-0.000010"
-string(8) "0.000010"
-string(30) "                      0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 14 --
-string(9) "-0.000010"
-string(1) "f"
-string(9) "-0.000010"
-string(1) "f"
-string(10) " -0.000010"
-string(10) "-0.000010 "
-string(10) "   -0.000010"
-string(10) "
--0.000010"
-string(9) "-0.000010"
-string(30) "                     -0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 15 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) "   100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) "                 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 16 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) "   -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) "                -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 17 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) "   100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) "                 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 18 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) "   -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) "                -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 19 --
-string(13) "100000.000000"
-string(1) "f"
-string(13) "100000.000000"
-string(1) "f"
-string(14) " 100000.000000"
-string(14) "100000.000000 "
-string(14) "   100000.000000"
-string(14) "
-100000.000000"
-string(13) "100000.000000"
-string(30) "                 100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 20 --
-string(14) "-100000.000000"
-string(1) "f"
-string(14) "-100000.000000"
-string(1) "f"
-string(15) " -100000.000000"
-string(15) "-100000.000000 "
-string(15) "   -100000.000000"
-string(15) "
--100000.000000"
-string(14) "-100000.000000"
-string(30) "                -100000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 21 --
-string(8) "0.000010"
-string(1) "f"
-string(8) "0.000010"
-string(1) "f"
-string(9) " 0.000010"
-string(9) "0.000010 "
-string(9) "    0.000010"
-string(9) "
-0.000010"
-string(8) "0.000010"
-string(30) "                      0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 22 --
-string(9) "-0.000010"
-string(1) "f"
-string(9) "-0.000010"
-string(1) "f"
-string(10) " -0.000010"
-string(10) "-0.000010 "
-string(10) "   -0.000010"
-string(10) "
--0.000010"
-string(9) "-0.000010"
-string(30) "                     -0.000010"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 23 --
-string(14) "5000000.000000"
-string(1) "f"
-string(14) "5000000.000000"
-string(1) "f"
-string(15) " 5000000.000000"
-string(15) "5000000.000000 "
-string(15) "   5000000.000000"
-string(15) "
-5000000.000000"
-string(14) "5000000.000000"
-string(30) "                5000000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 24 --
-string(15) "-5000000.000000"
-string(1) "f"
-string(15) "-5000000.000000"
-string(1) "f"
-string(16) " -5000000.000000"
-string(16) "-5000000.000000 "
-string(16) "   -5000000.000000"
-string(16) "
--5000000.000000"
-string(15) "-5000000.000000"
-string(30) "               -5000000.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 25 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 26 --
-string(9) "-0.000000"
-string(1) "f"
-string(9) "-0.000000"
-string(1) "f"
-string(10) " -0.000000"
-string(10) "-0.000000 "
-string(10) "   -0.000000"
-string(10) "
--0.000000"
-string(9) "-0.000000"
-string(30) "                     -0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 27 --
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(51) " 5000000000000000069686058479707049565356032.000000"
-string(51) "5000000000000000069686058479707049565356032.000000 "
-string(51) "   5000000000000000069686058479707049565356032.000000"
-string(51) "
-5000000000000000069686058479707049565356032.000000"
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(50) "5000000000000000069686058479707049565356032.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 28 --
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(1) "f"
-string(52) " -5000000000000000069686058479707049565356032.000000"
-string(52) "-5000000000000000069686058479707049565356032.000000 "
-string(52) "   -5000000000000000069686058479707049565356032.000000"
-string(52) "
--5000000000000000069686058479707049565356032.000000"
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(51) "-5000000000000000069686058479707049565356032.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 29 --
-string(8) "0.000000"
-string(1) "f"
-string(8) "0.000000"
-string(1) "f"
-string(9) " 0.000000"
-string(9) "0.000000 "
-string(9) "    0.000000"
-string(9) "
-0.000000"
-string(8) "0.000000"
-string(30) "                      0.000000"
-string(4) "0-9]"
-string(1) "f"
-
--- Iteration 30 --
-string(9) "-0.000000"
-string(1) "f"
-string(9) "-0.000000"
-string(1) "f"
-string(10) " -0.000000"
-string(10) "-0.000000 "
-string(10) "   -0.000000"
-string(10) "
--0.000000"
-string(9) "-0.000000"
-string(30) "                     -0.000000"
-string(4) "0-9]"
-string(1) "f"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing sprintf() : float formats with float values ***
 
 -- Iteration 1 --
@@ -970,4 +516,4 @@ unicode(9) "-0.000000"
 unicode(30) "                     -0.000000"
 unicode(4) "0-9]"
 unicode(1) "f"
-Done
\ No newline at end of file
+Done
index ceb18d8b8d2a9efc51198add03b778f69a943bb3..61d143e128dad9ac9850565262e82c2c65558a8f 100644 (file)
@@ -47,59 +47,7 @@ var_dump($Data = str_ireplace("\n", "<br>", $Data));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: str_ireplace() expects at least 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: str_ireplace() expects at least 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: str_ireplace() expects at least 3 parameters, 2 given in %s on line %d
-NULL
-string(0) ""
-string(8) "aaaaaaaT"
-string(8) "aaaaaaaT"
-int(7)
-string(15) "aaaaaaaaaaaaaaT"
-string(15) "aaaaaaaaaaaaaaT"
-int(7)
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-int(7)
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-int(7)
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-array(2) {
-  [0]=>
-  string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-  [1]=>
-  string(36) "aabbbbbbaabbbasdabbbbbbahsdbbbbbbbbb"
-}
-array(2) {
-  ["key"]=>
-  string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-  ["test"]=>
-  string(36) "aabbbbbbaabbbasdabbbbbbahsdbbbbbbbbb"
-}
-array(2) {
-  ["key"]=>
-  string(22) "aaaaaaaaaaaaaaaaaaaaaT"
-  ["test"]=>
-  string(36) "aabbbbbbaabbbasdabbbbbbahsdbbbbbbbbb"
-}
-string(143) "Change tracking and management software designed to watch
-       for abnormal system behavior.
-Suggest features, report bugs, or ask
-       questions here."
-string(152) "Change tracking and management software designed to watch<br>     for abnormal system behavior.<br>Suggest features, report bugs, or ask<br>      questions here."
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: str_ireplace() expects at least 3 parameters, 0 given in %s on line %d
 NULL
 
index e31da107307249ff05941ed0b618c7ceb68edc8f..fce3f1fbc8c50af23f56fbc8dedd581849587353 100644 (file)
Binary files a/ext/standard/tests/strings/str_pad.phpt and b/ext/standard/tests/strings/str_pad.phpt differ
index a0d685c9cc93156a3501c4df02f821cd2308498f..c786c7dba163af0eb8cb14389a83f9b3854dad74 100644 (file)
Binary files a/ext/standard/tests/strings/str_repeat.phpt and b/ext/standard/tests/strings/str_repeat.phpt differ
index 3169a6552e9791bfa1a57b4c67695a218790ae9b..7f88d45f576d68b146e7e328b880f0dc7601c333 100644 (file)
@@ -238,725 +238,7 @@ var_dump( str_replace(1,2,3,$var,5) );
 echo "Done\n";
 
 ?>
---EXPECTF--    
-*** Testing str_replace() on basic operations ***
-string(0) ""
-string(4) "tbst"
-string(0) ""
-int(0)
-string(1) "q"
-int(1)
-string(0) ""
-int(0)
-string(%d) "Resource id #%d"
-int(1)
-
-*** Testing str_replace() with various search values ***
--- Iteration 0 --
-array(12) {
-  [0]=>
-  string(5) "FOUND"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(5) "FOUND"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(6) "-FOUND"
-  [5]=>
-  string(5) "FOUND"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(6) "-FOUND"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(5)
-
--- Iteration 1 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(2) "-1"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(2) "-1"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(0)
-
--- Iteration 2 --
-array(12) {
-  [0]=>
-  string(5) "FOUND"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(5) "FOUND"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(6) "-FOUND"
-  [5]=>
-  string(5) "FOUND"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(6) "-FOUND"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(5)
-
--- Iteration 3 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(5) "FOUND"
-  [4]=>
-  string(2) "-1"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(5) "FOUND"
-  [7]=>
-  string(2) "-1"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(2)
-
--- Iteration 4 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(5) "FOUND"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(5) "FOUND"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(2)
-
--- Iteration 5 --
-array(12) {
-  [0]=>
-  string(5) "FOUND"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(5) "FOUND"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(6) "-FOUND"
-  [5]=>
-  string(5) "FOUND"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(6) "-FOUND"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(5)
-
--- Iteration 6 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(5) "FOUND"
-  [4]=>
-  string(2) "-1"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(5) "FOUND"
-  [7]=>
-  string(2) "-1"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(2)
-
--- Iteration 7 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(5) "FOUND"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(5) "FOUND"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(2)
-
--- Iteration 8 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(2) "-1"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(2) "-1"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(0)
-
--- Iteration 9 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(2) "-1"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(2) "-1"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(0)
-
--- Iteration 10 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(2) "-1"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(2) "-1"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(5) "FOUND"
-  [11]=>
-  string(0) ""
-}
-int(1)
-
--- Iteration 11 --
-array(12) {
-  [0]=>
-  string(1) "1"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(1) "1"
-  [3]=>
-  string(1) "0"
-  [4]=>
-  string(2) "-1"
-  [5]=>
-  string(1) "1"
-  [6]=>
-  string(1) "0"
-  [7]=>
-  string(2) "-1"
-  [8]=>
-  string(0) ""
-  [9]=>
-  array(0) {
-  }
-  [10]=>
-  string(3) "php"
-  [11]=>
-  string(0) ""
-}
-int(0)
-
-*** Testing str_replace() with various subjects ***
---- Iteration 0 ---
--- String after replacing the search value is => --
-string(177) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!FOUND 
-           ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 1 ---
--- String after replacing the search value is => --
-string(177) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!FOUND 
-           ?FOUND chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 2 ---
--- String after replacing the search value is => --
-string(182) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: FOUND 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 3 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 4 ---
--- String after replacing the search value is => --
-string(182) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $FOUND: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 5 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 6 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 7 ---
--- String after replacing the search value is => --
-string(189) "Hello, world,0120333.3445FOUND67          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 8 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 9 ---
--- String after replacing the search value is => --
-string(193) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0FOUND \xXYZ   FOUND $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 10 ---
--- String after replacing the search value is => --
-string(193) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xFOUND  abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 11 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 12 ---
--- String after replacing the search value is => --
-string(192) "Hello, world,0120333.3445-1.234567          FOUND TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 13 ---
--- String after replacing the search value is => --
-string(207) "Hello, world,FOUND12FOUND333.3445-1.234567          NULL TRUE FALSE\0
-           \0FOUND«CD\0abcd \xXYZ        abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '4' times
-
---- Iteration 14 ---
--- String after replacing the search value is => --
-string(207) "Hello, world,FOUND12FOUND333.3445-1.234567          NULL TRUE FALSE\0
-           \0FOUND«CD\0abcd \xXYZ        abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(FOUND).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '4' times
-
---- Iteration 15 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 16 ---
--- String after replacing the search value is => --
-string(307) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE\0
-FOUND  FOUNDFOUNDFOUNDFOUND\00«CD\0abcdFOUND\xXYZ        abcdFOUND$$@#%^&*!~,.:;?:FOUND!!Hello,FOUNDWorldFOUND
-       FOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '29' times
-
---- Iteration 17 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSEFOUND
-           FOUND0«CDFOUNDabcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 18 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           FOUND«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 19 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00FOUNDD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 20 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           FOUND«CD\0abcd \xXYZ abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 21 ---
--- String after replacing the search value is => --
-string(194) "Hello, world,0120333FOUND445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 22 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0FOUND20333.3445-FOUND.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 23 ---
--- String after replacing the search value is => --
-string(192) "Hello, world,0120333.3445-1.234567          NULL FOUND FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 24 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0FOUND20333.3445-FOUND.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 25 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0FOUND20333.3445-FOUND.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(FOUND28).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 26 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 27 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FOUND\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 28 ---
--- String after replacing the search value is => --
-string(307) "Hello,FOUNDworld,0120333.3445-1.234567FOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDFOUNDNULLFOUNDTRUEFOUNDFALSE\0
-FOUND  FOUNDFOUNDFOUNDFOUND\00«CD\0abcdFOUND\xXYZ        abcdFOUND$$@#%^&*!~,.:;?:FOUND!!Hello,FOUNDWorldFOUND
-       FOUNDFOUNDFOUNDFOUND?Hello,FOUNDWorldFOUNDchr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '29' times
-
---- Iteration 29 ---
--- String after replacing the search value is => --
-string(186) "Hello, world,0120333.3445-1.234567FOUNDNULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '1' times
-
---- Iteration 30 ---
--- String after replacing the search value is => --
-string(199) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0aFOUNDcd \xXYZ        aFOUNDcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '2' times
-
---- Iteration 31 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 32 ---
--- String after replacing the search value is => --
-string(203) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
- FOUND    \00«CD\0abcd \xXYZFOUNDabcd $$@#%^&*!~,.:;?: !!Hello, World 
-FOUND    ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '3' times
-
---- Iteration 33 ---
--- String after replacing the search value is => --
-string(191) "Hello, world,0120333.3445-1.234567          NULL TRUE FALSE\0
-           \00«CD\0abcd \xXYZ    abcd $$@#%^&*!~,.:;?: !!Hello, World 
-           ?Hello, World chr(0).chr(128).chr(234).chr(65).chr(255).chr(256)"
--- search string has found '0' times
-
---- Iteration 34 ---
--- String after replacing the search value is => --
-string(5) "FOUND"
--- search string has found '1' times
-
-*** Testing Miscelleneous input data ***
-string(3) "qqq"
-int(5)
-array(3) {
-  [0]=>
-  string(3) "qqq"
-  [1]=>
-  string(0) ""
-  [2]=>
-  string(3) "ccc"
-}
-int(6)
-
--- Testing objects --
-string(12) "Hello, world"
-int(1)
-
--- Testing arrays --
-string(15) "multimultimulti"
-int(3)
-string(3) "qqq"
-int(3)
-array(2) {
-  [0]=>
-  string(3) "qqq"
-  [1]=>
-  string(3) "ccc"
-}
-int(6)
-
-Notice: Array to string conversion in %s on line %d
-array(2) {
-  [0]=>
-  string(15) "ArrayArrayArray"
-  [1]=>
-  string(3) "bbb"
-}
-int(3)
-array(2) {
-  [0]=>
-  string(3) "111"
-  [1]=>
-  string(3) "bbb"
-}
-int(3)
-array(2) {
-  [0]=>
-  string(4) "aaa3"
-  [1]=>
-  string(4) "2bbb"
-}
-int(1)
-
--- Testing Resources --
-string(%d) "Resource id #%d"
-int(0)
-string(%d) "Resource id #%d"
-int(0)
-
--- Testing a longer and heredoc string --
-string(623) "FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789
-@#$%^&**&^%$#@!~:())))((((&&&**%$###@@@!!!~~~~@###$%^&*
-FOUNDghijklmnopqrstuvwxyz0123456789FOUNDghijklmnopqrstuvwxyz0123456789"
-int(16)
-
--- Testing a heredoc null string --
-string(0) ""
-int(0)
-
--- Testing simple and complex syntax strings --
-string(5) "FOUND"
-string(5) "FOUND"
-
-Notice: Undefined variable: strS in %s on line %d
-string(0) ""
-string(5) "FOUND"
-string(5) "FOUND"
-
-*** Testing error conditions ***
-Warning: str_replace() expects at least 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at least 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at least 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at least 3 parameters, 2 given in %s on line %d
-NULL
-
-Warning: str_replace() expects at most 4 parameters, 5 given in %s on line %d
-NULL
-Done
---UEXPECTF--
+--EXPECTF--
 *** Testing str_replace() on basic operations ***
 unicode(0) ""
 unicode(4) "tbst"
@@ -1674,4 +956,3 @@ NULL
 Warning: str_replace() expects at most 4 parameters, 5 given in %s on line %d
 NULL
 Done
-
index cead24ca0237b85595fac87bdde23ee7bc2969bd..0f8d9067d26f114e50e9d7b2ee58da4c3a8ca2bc 100644 (file)
@@ -8,8 +8,5 @@ var_dump(str_shuffle($s));
 var_dump($s);
 ?>
 --EXPECTF--
-string(3) %s
-string(3) "123"
---UEXPECTF--
 unicode(3) "%s"
 unicode(3) "123"
index 9b00b8dcbfdc50fa33362d8aecdb7029887dfab6..1fcf3c7622fa611f31f900fd48b914b80a4f032b 100644 (file)
@@ -26,70 +26,7 @@ var_dump( str_split($str) );
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing str_split() : basic functionality ***
--- With all possible arguments --
-array(5) {
-  [0]=>
-  string(5) "This "
-  [1]=>
-  string(5) "is ba"
-  [2]=>
-  string(5) "sic t"
-  [3]=>
-  string(5) "estca"
-  [4]=>
-  string(2) "se"
-}
--- With split_length as default argument --
-array(22) {
-  [0]=>
-  string(1) "T"
-  [1]=>
-  string(1) "h"
-  [2]=>
-  string(1) "i"
-  [3]=>
-  string(1) "s"
-  [4]=>
-  string(1) " "
-  [5]=>
-  string(1) "i"
-  [6]=>
-  string(1) "s"
-  [7]=>
-  string(1) " "
-  [8]=>
-  string(1) "b"
-  [9]=>
-  string(1) "a"
-  [10]=>
-  string(1) "s"
-  [11]=>
-  string(1) "i"
-  [12]=>
-  string(1) "c"
-  [13]=>
-  string(1) " "
-  [14]=>
-  string(1) "t"
-  [15]=>
-  string(1) "e"
-  [16]=>
-  string(1) "s"
-  [17]=>
-  string(1) "t"
-  [18]=>
-  string(1) "c"
-  [19]=>
-  string(1) "a"
-  [20]=>
-  string(1) "s"
-  [21]=>
-  string(1) "e"
-}
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing str_split() : basic functionality ***
 -- With all possible arguments --
 array(5) {
index 161ce0c95edd3edb35c443c915ae6de7e5398da6..c7075ec0ce56cf0668b10f178032a30561ad245b 100644 (file)
@@ -36,14 +36,3 @@ NULL
 Warning: str_split() expects at most 2 parameters, 3 given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing str_split() : error conditions ***
--- Testing str_split() function with Zero arguments --
-
-Warning: str_split() expects at least 1 parameter, 0 given in %s on line %d
-NULL
--- Testing str_split() function with more than expected no. of arguments --
-
-Warning: str_split() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
index 177a88bcfb10b0e1016123825c61b5959fec6d5c..6443c8a1e8b94cdb5e62708ea073c6364ea5557e 100644 (file)
@@ -95,153 +95,6 @@ echo "Done";
 --EXPECTF--
 *** Testing str_split() : unexpected values for 'str' ***
 -- Iteration 1 --
-array(1) {
-  [0]=>
-  string(1) "0"
-}
--- Iteration 2 --
-array(1) {
-  [0]=>
-  string(1) "1"
-}
--- Iteration 3 --
-array(2) {
-  [0]=>
-  string(3) "123"
-  [1]=>
-  string(2) "45"
-}
--- Iteration 4 --
-array(2) {
-  [0]=>
-  string(3) "-23"
-  [1]=>
-  string(2) "45"
-}
--- Iteration 5 --
-array(2) {
-  [0]=>
-  string(3) "10."
-  [1]=>
-  string(1) "5"
-}
--- Iteration 6 --
-array(2) {
-  [0]=>
-  string(3) "-10"
-  [1]=>
-  string(2) ".5"
-}
--- Iteration 7 --
-array(4) {
-  [0]=>
-  string(3) "105"
-  [1]=>
-  string(3) "000"
-  [2]=>
-  string(3) "000"
-  [3]=>
-  string(3) "000"
-}
--- Iteration 8 --
-array(3) {
-  [0]=>
-  string(3) "1.0"
-  [1]=>
-  string(3) "6E-"
-  [2]=>
-  string(1) "9"
-}
--- Iteration 9 --
-array(1) {
-  [0]=>
-  string(3) "0.5"
-}
--- Iteration 10 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 16 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 17 --
-array(1) {
-  [0]=>
-  string(1) "1"
-}
--- Iteration 18 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 19 --
-array(1) {
-  [0]=>
-  string(1) "1"
-}
--- Iteration 20 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 21 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 22 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 23 --
-array(2) {
-  [0]=>
-  string(3) "obj"
-  [1]=>
-  string(3) "ect"
-}
--- Iteration 24 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 25 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 26 --
-
-Warning: str_split() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing str_split() : unexpected values for 'str' ***
--- Iteration 1 --
 array(1) {
   [0]=>
   unicode(1) "0"
index d6069858c95ff94314570a11fd0f67151997cd0b..7d787abf75a5185fb9d89bb1eff7ead1ad18aee2 100644 (file)
@@ -96,196 +96,6 @@ echo "Done";
 --EXPECTF--
 *** Testing str_split() : unexpected values for 'split_length' ***
 --Iteration 1 --
-array(3) {
-  [0]=>
-  string(10) "variation2"
-  [1]=>
-  string(10) ":split_len"
-  [2]=>
-  string(3) "gth"
-}
---Iteration 2 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 4 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 5 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 6 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 7 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 8 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 9 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 10 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 11 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 12 --
-array(23) {
-  [0]=>
-  string(1) "v"
-  [1]=>
-  string(1) "a"
-  [2]=>
-  string(1) "r"
-  [3]=>
-  string(1) "i"
-  [4]=>
-  string(1) "a"
-  [5]=>
-  string(1) "t"
-  [6]=>
-  string(1) "i"
-  [7]=>
-  string(1) "o"
-  [8]=>
-  string(1) "n"
-  [9]=>
-  string(1) "2"
-  [10]=>
-  string(1) ":"
-  [11]=>
-  string(1) "s"
-  [12]=>
-  string(1) "p"
-  [13]=>
-  string(1) "l"
-  [14]=>
-  string(1) "i"
-  [15]=>
-  string(1) "t"
-  [16]=>
-  string(1) "_"
-  [17]=>
-  string(1) "l"
-  [18]=>
-  string(1) "e"
-  [19]=>
-  string(1) "n"
-  [20]=>
-  string(1) "g"
-  [21]=>
-  string(1) "t"
-  [22]=>
-  string(1) "h"
-}
---Iteration 13 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 14 --
-array(23) {
-  [0]=>
-  string(1) "v"
-  [1]=>
-  string(1) "a"
-  [2]=>
-  string(1) "r"
-  [3]=>
-  string(1) "i"
-  [4]=>
-  string(1) "a"
-  [5]=>
-  string(1) "t"
-  [6]=>
-  string(1) "i"
-  [7]=>
-  string(1) "o"
-  [8]=>
-  string(1) "n"
-  [9]=>
-  string(1) "2"
-  [10]=>
-  string(1) ":"
-  [11]=>
-  string(1) "s"
-  [12]=>
-  string(1) "p"
-  [13]=>
-  string(1) "l"
-  [14]=>
-  string(1) "i"
-  [15]=>
-  string(1) "t"
-  [16]=>
-  string(1) "_"
-  [17]=>
-  string(1) "l"
-  [18]=>
-  string(1) "e"
-  [19]=>
-  string(1) "n"
-  [20]=>
-  string(1) "g"
-  [21]=>
-  string(1) "t"
-  [22]=>
-  string(1) "h"
-}
---Iteration 15 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 16 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 17 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 18 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 19 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 20 --
-
-Warning: str_split() expects parameter 2 to be long, object given in %s on line %d
-NULL
---Iteration 21 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 22 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 23 --
-
-Warning: str_split() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing str_split() : unexpected values for 'split_length' ***
---Iteration 1 --
 array(3) {
   [0]=>
   unicode(10) "variation2"
index 3d2ef97fa138b80fea5483faf760aa4a331741b0..4d465b7aaffd56f7b0f79f296841bf45621027ff 100644 (file)
@@ -97,201 +97,6 @@ echo "Done";
 --EXPECTF--
 *** Testing str_split() : unexpected values for 'split_length' ***
 --Iteration 1 --
-array(3) {
-  [0]=>
-  string(10) "variation2"
-  [1]=>
-  string(10) ":split_len"
-  [2]=>
-  string(3) "gth"
-}
---Iteration 2 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 3 --
-array(1) {
-  [0]=>
-  string(23) "variation2:split_length"
-}
---Iteration 4 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 5 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 6 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 7 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 8 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 9 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 10 --
-
-Warning: str_split() expects parameter 2 to be long, array given in %s on line %d
-NULL
---Iteration 11 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 12 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 13 --
-array(23) {
-  [0]=>
-  string(1) "v"
-  [1]=>
-  string(1) "a"
-  [2]=>
-  string(1) "r"
-  [3]=>
-  string(1) "i"
-  [4]=>
-  string(1) "a"
-  [5]=>
-  string(1) "t"
-  [6]=>
-  string(1) "i"
-  [7]=>
-  string(1) "o"
-  [8]=>
-  string(1) "n"
-  [9]=>
-  string(1) "2"
-  [10]=>
-  string(1) ":"
-  [11]=>
-  string(1) "s"
-  [12]=>
-  string(1) "p"
-  [13]=>
-  string(1) "l"
-  [14]=>
-  string(1) "i"
-  [15]=>
-  string(1) "t"
-  [16]=>
-  string(1) "_"
-  [17]=>
-  string(1) "l"
-  [18]=>
-  string(1) "e"
-  [19]=>
-  string(1) "n"
-  [20]=>
-  string(1) "g"
-  [21]=>
-  string(1) "t"
-  [22]=>
-  string(1) "h"
-}
---Iteration 14 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 15 --
-array(23) {
-  [0]=>
-  string(1) "v"
-  [1]=>
-  string(1) "a"
-  [2]=>
-  string(1) "r"
-  [3]=>
-  string(1) "i"
-  [4]=>
-  string(1) "a"
-  [5]=>
-  string(1) "t"
-  [6]=>
-  string(1) "i"
-  [7]=>
-  string(1) "o"
-  [8]=>
-  string(1) "n"
-  [9]=>
-  string(1) "2"
-  [10]=>
-  string(1) ":"
-  [11]=>
-  string(1) "s"
-  [12]=>
-  string(1) "p"
-  [13]=>
-  string(1) "l"
-  [14]=>
-  string(1) "i"
-  [15]=>
-  string(1) "t"
-  [16]=>
-  string(1) "_"
-  [17]=>
-  string(1) "l"
-  [18]=>
-  string(1) "e"
-  [19]=>
-  string(1) "n"
-  [20]=>
-  string(1) "g"
-  [21]=>
-  string(1) "t"
-  [22]=>
-  string(1) "h"
-}
---Iteration 16 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 17 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 18 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 19 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 20 --
-
-Warning: str_split() expects parameter 2 to be long, string given in %s on line %d
-NULL
---Iteration 21 --
-
-Warning: str_split() expects parameter 2 to be long, object given in %s on line %d
-NULL
---Iteration 22 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 23 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
---Iteration 24 --
-
-Warning: str_split() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing str_split() : unexpected values for 'split_length' ***
---Iteration 1 --
 array(3) {
   [0]=>
   unicode(10) "variation2"
index f630cb55026fde9f025e8ca5df566a3b49834cf2..236c5a4ce9cb6c683e70e89aaee25ee63bf6c1ea 100644 (file)
Binary files a/ext/standard/tests/strings/str_split_variation3.phpt and b/ext/standard/tests/strings/str_split_variation3.phpt differ
index 5096fe37ccd1a109266e925dd1ebce95b8e0be67..cd503269fbc59b95cb74c2740add124720ae3c8d 100644 (file)
@@ -43,158 +43,7 @@ for($count = 0; $count < count($values); $count++) {
 }
 echo "Done"
 ?>
---EXPECTF--
-*** Testing str_split() : single quoted strings for 'str' ***
--- Iteration 1 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 2 --
-array(1) {
-  [0]=>
-  string(1) " "
-}
--- Iteration 3 --
-array(1) {
-  [0]=>
-  string(4) "1234"
-}
--- Iteration 4 --
-array(3) {
-  [0]=>
-  string(5) "simpl"
-  [1]=>
-  string(5) "e str"
-  [2]=>
-  string(3) "ing"
-}
--- Iteration 5 --
-array(5) {
-  [0]=>
-  string(5) "It's "
-  [1]=>
-  string(5) "strin"
-  [2]=>
-  string(5) "g wit"
-  [3]=>
-  string(5) "h quo"
-  [4]=>
-  string(2) "te"
-}
--- Iteration 6 --
-array(8) {
-  [0]=>
-  string(5) "strin"
-  [1]=>
-  string(5) "g\tco"
-  [2]=>
-  string(5) "ntain"
-  [3]=>
-  string(5) "s\rwh"
-  [4]=>
-  string(5) "ite s"
-  [5]=>
-  string(5) "pace\"
-  [6]=>
-  string(5) "nchar"
-  [7]=>
-  string(1) "s"
-}
--- Iteration 7 --
-array(6) {
-  [0]=>
-  string(5) "conta"
-  [1]=>
-  string(5) "ining"
-  [2]=>
-  string(5) " @ # "
-  [3]=>
-  string(5) "$ % ^"
-  [4]=>
-  string(5) " & ch"
-  [5]=>
-  string(3) "ars"
-}
--- Iteration 8 --
-array(4) {
-  [0]=>
-  string(5) "with "
-  [1]=>
-  string(5) "1234 "
-  [2]=>
-  string(5) "numbe"
-  [3]=>
-  string(2) "rs"
-}
--- Iteration 9 --
-array(7) {
-  [0]=>
-  string(5) "with "
-  [1]=>
-  string(5) "\0 an"
-  [2]=>
-  string(5) "d ".c"
-  [3]=>
-  string(5) "hr(0)"
-  [4]=>
-  string(5) "."nul"
-  [5]=>
-  string(5) "l cha"
-  [6]=>
-  string(2) "rs"
-}
--- Iteration 10 --
-array(7) {
-  [0]=>
-  string(5) "with "
-  [1]=>
-  string(5) "   mu"
-  [2]=>
-  string(5) "ltipl"
-  [3]=>
-  string(5) "e    "
-  [4]=>
-  string(5) " spac"
-  [5]=>
-  string(5) "e cha"
-  [6]=>
-  string(1) "r"
-}
--- Iteration 11 --
-array(8) {
-  [0]=>
-  string(5) "Testi"
-  [1]=>
-  string(5) "ng in"
-  [2]=>
-  string(5) "valid"
-  [3]=>
-  string(5) " \k a"
-  [4]=>
-  string(5) "nd \m"
-  [5]=>
-  string(5) " esca"
-  [6]=>
-  string(5) "pe ch"
-  [7]=>
-  string(2) "ar"
-}
--- Iteration 12 --
-array(5) {
-  [0]=>
-  string(5) "to ch"
-  [1]=>
-  string(5) "eck w"
-  [2]=>
-  string(5) "ith \"
-  [3]=>
-  string(5) "n and"
-  [4]=>
-  string(3) " \t"
-}
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing str_split() : single quoted strings for 'str' ***
 -- Iteration 1 --
 array(1) {
index b47e46c46018c0df52d1ea322ad79e5a999cae82..1b00fa8630b3009177da9265d003c55664a46548 100644 (file)
@@ -86,96 +86,7 @@ foreach($heredoc_array as $str) {
  
 echo "Done"
 ?>
---EXPECTF--
-*** Testing str_split() : heredoc strings as 'str' argument ***
--- Iteration 1 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 2 --
-array(1) {
-  [0]=>
-  string(0) ""
-}
--- Iteration 3 --
-array(1) {
-  [0]=>
-  string(1) "a"
-}
--- Iteration 4 --
-array(3) {
-  [0]=>
-  string(10) "This is si"
-  [1]=>
-  string(10) "mple hered"
-  [2]=>
-  string(9) "oc string"
-}
--- Iteration 5 --
-array(6) {
-  [0]=>
-  string(10) "This is to"
-  [1]=>
-  string(10) " check str"
-  [2]=>
-  string(10) "_split
-fun"
-  [3]=>
-  string(10) "ction with"
-  [4]=>
-  string(10) " multiline"
-  [5]=>
-  string(8) "
-heredoc"
-}
--- Iteration 6 --
-array(4) {
-  [0]=>
-  string(10) "This check"
-  [1]=>
-  string(10) "s heredoc "
-  [2]=>
-  string(10) "with $, %,"
-  [3]=>
-  string(9) " &, chars"
-}
--- Iteration 7 --
-array(4) {
-  [0]=>
-  string(10) "This check"
-  [1]=>
-  string(10) "s         str_spl"
-  [2]=>
-  string(10) "it()
-Escap"
-  [3]=>
-  string(7) "e
-chars"
-}
--- Iteration 8 --
-array(8) {
-  [0]=>
-  string(10) ""To check "
-  [1]=>
-  string(10) "" in hered"
-  [2]=>
-  string(10) "oc"
-I'm su"
-  [3]=>
-  string(10) "re it'll w"
-  [4]=>
-  string(10) "ork also w"
-  [5]=>
-  string(10) "ith \
-whic"
-  [6]=>
-  string(10) "h is singl"
-  [7]=>
-  string(7) "e slash"
-}
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing str_split() : heredoc strings as 'str' argument ***
 -- Iteration 1 --
 array(1) {
index 9fea091a89d7967b0f151294c591cdd9b018b0ca..b44d33b6599be89d8e105ce460a4e69046751021 100644 (file)
@@ -45,129 +45,6 @@ echo "Done"
 *** Testing str_split() : different intger values for 'split_length' ***
 -- Iteration 1 --
 
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(42) {
-  [0]=>
-  string(1) "T"
-  [1]=>
-  string(1) "h"
-  [2]=>
-  string(1) "i"
-  [3]=>
-  string(1) "s"
-  [4]=>
-  string(1) " "
-  [5]=>
-  string(1) "i"
-  [6]=>
-  string(1) "s"
-  [7]=>
-  string(1) " "
-  [8]=>
-  string(1) "a"
-  [9]=>
-  string(1) " "
-  [10]=>
-  string(1) "s"
-  [11]=>
-  string(1) "t"
-  [12]=>
-  string(1) "r"
-  [13]=>
-  string(1) "i"
-  [14]=>
-  string(1) "n"
-  [15]=>
-  string(1) "g"
-  [16]=>
-  string(1) " "
-  [17]=>
-  string(1) "w"
-  [18]=>
-  string(1) "i"
-  [19]=>
-  string(1) "t"
-  [20]=>
-  string(1) "h"
-  [21]=>
-  string(1) " "
-  [22]=>
-  string(1) "1"
-  [23]=>
-  string(1) "2"
-  [24]=>
-  string(1) "3"
-  [25]=>
-  string(1) " "
-  [26]=>
-  string(1) "&"
-  [27]=>
-  string(1) " "
-  [28]=>
-  string(1) "e"
-  [29]=>
-  string(1) "s"
-  [30]=>
-  string(1) "c"
-  [31]=>
-  string(1) "a"
-  [32]=>
-  string(1) "p"
-  [33]=>
-  string(1) "e"
-  [34]=>
-  string(1) " "
-  [35]=>
-  string(1) "c"
-  [36]=>
-  string(1) "h"
-  [37]=>
-  string(1) "a"
-  [38]=>
-  string(1) "r"
-  [39]=>
-  string(1) " "
-  [40]=>
-  string(1) "\"
-  [41]=>
-  string(1) "t"
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
-  [0]=>
-  string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 5 --
-array(2) {
-  [0]=>
-  string(26) "This is a string with 123 "
-  [1]=>
-  string(16) "& escape char \t"
-}
--- Iteration 6 --
-array(1) {
-  [0]=>
-  string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 7 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' ***
--- Iteration 1 --
-
 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
 bool(false)
 -- Iteration 2 --
index a547f8500795ae63caf5cd533b1c0f3bbdf953ad..a3a6f757f2ed3b5115d53661001b6ccfe103506a 100644 (file)
@@ -45,130 +45,6 @@ echo "Done"
 *** Testing str_split() : different intger values for 'split_length' ***
 -- Iteration 1 --
 
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(42) {
-  [0]=>
-  string(1) "T"
-  [1]=>
-  string(1) "h"
-  [2]=>
-  string(1) "i"
-  [3]=>
-  string(1) "s"
-  [4]=>
-  string(1) " "
-  [5]=>
-  string(1) "i"
-  [6]=>
-  string(1) "s"
-  [7]=>
-  string(1) " "
-  [8]=>
-  string(1) "a"
-  [9]=>
-  string(1) " "
-  [10]=>
-  string(1) "s"
-  [11]=>
-  string(1) "t"
-  [12]=>
-  string(1) "r"
-  [13]=>
-  string(1) "i"
-  [14]=>
-  string(1) "n"
-  [15]=>
-  string(1) "g"
-  [16]=>
-  string(1) " "
-  [17]=>
-  string(1) "w"
-  [18]=>
-  string(1) "i"
-  [19]=>
-  string(1) "t"
-  [20]=>
-  string(1) "h"
-  [21]=>
-  string(1) " "
-  [22]=>
-  string(1) "1"
-  [23]=>
-  string(1) "2"
-  [24]=>
-  string(1) "3"
-  [25]=>
-  string(1) " "
-  [26]=>
-  string(1) "&"
-  [27]=>
-  string(1) " "
-  [28]=>
-  string(1) "e"
-  [29]=>
-  string(1) "s"
-  [30]=>
-  string(1) "c"
-  [31]=>
-  string(1) "a"
-  [32]=>
-  string(1) "p"
-  [33]=>
-  string(1) "e"
-  [34]=>
-  string(1) " "
-  [35]=>
-  string(1) "c"
-  [36]=>
-  string(1) "h"
-  [37]=>
-  string(1) "a"
-  [38]=>
-  string(1) "r"
-  [39]=>
-  string(1) " "
-  [40]=>
-  string(1) "\"
-  [41]=>
-  string(1) "t"
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
-  [0]=>
-  string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 5 --
-array(2) {
-  [0]=>
-  string(26) "This is a string with 123 "
-  [1]=>
-  string(16) "& escape char \t"
-}
--- Iteration 6 --
-array(1) {
-  [0]=>
-  string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 7 --
-array(1) {
-  [0]=>
-  string(42) "This is a string with 123 & escape char \t"
-}
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' ***
--- Iteration 1 --
-
 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
 bool(false)
 -- Iteration 2 --
index 1c21611baa25477ca4498fafe1152d76f58ee73b..75b187d6f9d31dc70262ef0fa3b7d9796d0f48bc 100644 (file)
@@ -47,105 +47,6 @@ echo "Done"
 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
 -- Iteration 1 --
 
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(30) {
-  [0]=>
-  string(1) "s"
-  [1]=>
-  string(1) "t"
-  [2]=>
-  string(1) "r"
-  [3]=>
-  string(1) "i"
-  [4]=>
-  string(1) "n"
-  [5]=>
-  string(1) "g"
-  [6]=>
-  string(1) " "
-  [7]=>
-  string(1) "w"
-  [8]=>
-  string(1) "i"
-  [9]=>
-  string(1) "t"
-  [10]=>
-  string(1) "h"
-  [11]=>
-  string(1) " "
-  [12]=>
-  string(1) "1"
-  [13]=>
-  string(1) "2"
-  [14]=>
-  string(1) "3"
-  [15]=>
-  string(1) ","
-  [16]=>
-  string(1) "e"
-  [17]=>
-  string(1) "s"
-  [18]=>
-  string(1) "c"
-  [19]=>
-  string(1) "a"
-  [20]=>
-  string(1) "p"
-  [21]=>
-  string(1) "e"
-  [22]=>
-  string(1) " "
-  [23]=>
-  string(1) "c"
-  [24]=>
-  string(1) "h"
-  [25]=>
-  string(1) "a"
-  [26]=>
-  string(1) "r"
-  [27]=>
-  string(1) " "
-  [28]=>
-  string(1) "  "
-  [29]=>
-  string(1) "."
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
-  [0]=>
-  string(30) "string with 123,escape char      ."
-}
--- Iteration 5 --
-array(2) {
-  [0]=>
-  string(26) "string with 123,escape cha"
-  [1]=>
-  string(4) "r         ."
-}
--- Iteration 6 --
-array(1) {
-  [0]=>
-  string(30) "string with 123,escape char      ."
-}
--- Iteration 7 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
--- Iteration 1 --
-
 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
 bool(false)
 -- Iteration 2 --
index 638af63421ec5ee2d29a1dbc80655fc423aef521..849974bdaf52416a800af6a4f6a80081a4ee27cb 100644 (file)
@@ -47,106 +47,6 @@ echo "Done"
 *** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
 -- Iteration 1 --
 
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 2 --
-array(30) {
-  [0]=>
-  string(1) "s"
-  [1]=>
-  string(1) "t"
-  [2]=>
-  string(1) "r"
-  [3]=>
-  string(1) "i"
-  [4]=>
-  string(1) "n"
-  [5]=>
-  string(1) "g"
-  [6]=>
-  string(1) " "
-  [7]=>
-  string(1) "w"
-  [8]=>
-  string(1) "i"
-  [9]=>
-  string(1) "t"
-  [10]=>
-  string(1) "h"
-  [11]=>
-  string(1) " "
-  [12]=>
-  string(1) "1"
-  [13]=>
-  string(1) "2"
-  [14]=>
-  string(1) "3"
-  [15]=>
-  string(1) ","
-  [16]=>
-  string(1) "e"
-  [17]=>
-  string(1) "s"
-  [18]=>
-  string(1) "c"
-  [19]=>
-  string(1) "a"
-  [20]=>
-  string(1) "p"
-  [21]=>
-  string(1) "e"
-  [22]=>
-  string(1) " "
-  [23]=>
-  string(1) "c"
-  [24]=>
-  string(1) "h"
-  [25]=>
-  string(1) "a"
-  [26]=>
-  string(1) "r"
-  [27]=>
-  string(1) " "
-  [28]=>
-  string(1) "  "
-  [29]=>
-  string(1) "."
-}
--- Iteration 3 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
--- Iteration 4 --
-array(1) {
-  [0]=>
-  string(30) "string with 123,escape char      ."
-}
--- Iteration 5 --
-array(2) {
-  [0]=>
-  string(26) "string with 123,escape cha"
-  [1]=>
-  string(4) "r         ."
-}
--- Iteration 6 --
-array(1) {
-  [0]=>
-  string(30) "string with 123,escape char      ."
-}
--- Iteration 7 --
-array(1) {
-  [0]=>
-  string(30) "string with 123,escape char      ."
-}
--- Iteration 8 --
-
-Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing str_split() : different intger values for 'split_length' with heredoc 'str' ***
--- Iteration 1 --
-
 Warning: str_split(): The length of each segment must be greater than zero in %s on line %d
 bool(false)
 -- Iteration 2 --
index af2aaf9069d730ace20e0faf7f43ef06c80541b6..28897d9cea514d09bea6eb2b38b7cafcd4da6da9 100644 (file)
@@ -45,209 +45,6 @@ var_dump(str_word_count("-foo-", 2, "-"));
 echo "Done\n";
 ?>
 --EXPECTF--
-array(6) {
-  [0]=>
-  string(5) "Hello"
-  [1]=>
-  string(6) "friend"
-  [2]=>
-  string(6) "you're"
-  [3]=>
-  string(7) "looking"
-  [4]=>
-  string(4) "good"
-  [5]=>
-  string(5) "today"
-}
-array(6) {
-  [0]=>
-  string(5) "Hello"
-  [6]=>
-  string(6) "friend"
-  [14]=>
-  string(6) "you're"
-  [27]=>
-  string(7) "looking"
-  [44]=>
-  string(4) "good"
-  [49]=>
-  string(5) "today"
-}
-int(6)
-
-Warning: str_word_count(): Invalid format value 3 in %s on line %d
-bool(false)
-
-Warning: str_word_count(): Invalid format value 123 in %s on line %d
-bool(false)
-
-Warning: str_word_count(): Invalid format value -1 in %s on line %d
-bool(false)
-
-Warning: str_word_count(): Invalid format value 99999999 in %s on line %d
-bool(false)
-
-Warning: str_word_count() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 2 to be long, string given in %s on line %d
-NULL
-string(55) "Hello friend, you're  
-    looking          good today!"
-int(5)
-int(6)
-int(5)
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), object given in %s on line %d
-NULL
-int(7)
-array(5) {
-  [0]=>
-  string(3) "F0o"
-  [1]=>
-  string(3) "B4r"
-  [2]=>
-  string(1) "s"
-  [3]=>
-  string(3) "bar"
-  [4]=>
-  string(3) "foo"
-}
-array(6) {
-  [0]=>
-  string(3) "F0o"
-  [1]=>
-  string(1) "B"
-  [2]=>
-  string(1) "r"
-  [3]=>
-  string(2) "1s"
-  [4]=>
-  string(3) "bar"
-  [5]=>
-  string(3) "foo"
-}
-array(5) {
-  [0]=>
-  string(3) "F0o"
-  [1]=>
-  string(3) "B4r"
-  [2]=>
-  string(2) "1s"
-  [3]=>
-  string(3) "bar"
-  [4]=>
-  string(3) "foo"
-}
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), object given in %s on line %d
-NULL
-array(7) {
-  [0]=>
-  string(1) "F"
-  [1]=>
-  string(1) "o"
-  [2]=>
-  string(1) "B"
-  [3]=>
-  string(1) "r"
-  [4]=>
-  string(1) "s"
-  [5]=>
-  string(3) "bar"
-  [6]=>
-  string(3) "foo"
-}
-array(5) {
-  [0]=>
-  string(3) "F0o"
-  [4]=>
-  string(3) "B4r"
-  [9]=>
-  string(1) "s"
-  [11]=>
-  string(3) "bar"
-  [15]=>
-  string(3) "foo"
-}
-array(6) {
-  [0]=>
-  string(3) "F0o"
-  [4]=>
-  string(1) "B"
-  [6]=>
-  string(1) "r"
-  [8]=>
-  string(2) "1s"
-  [11]=>
-  string(3) "bar"
-  [15]=>
-  string(3) "foo"
-}
-array(5) {
-  [0]=>
-  string(3) "F0o"
-  [4]=>
-  string(3) "B4r"
-  [8]=>
-  string(2) "1s"
-  [11]=>
-  string(3) "bar"
-  [15]=>
-  string(3) "foo"
-}
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: str_word_count() expects parameter 3 to be string (Unicode or binary), object given in %s on line %d
-NULL
-array(7) {
-  [0]=>
-  string(1) "F"
-  [2]=>
-  string(1) "o"
-  [4]=>
-  string(1) "B"
-  [6]=>
-  string(1) "r"
-  [9]=>
-  string(1) "s"
-  [11]=>
-  string(3) "bar"
-  [15]=>
-  string(3) "foo"
-}
-array(2) {
-  [0]=>
-  string(5) "foo'0"
-  [6]=>
-  string(8) "bar-0var"
-}
-array(1) {
-  [1]=>
-  string(4) "foo'"
-}
-array(1) {
-  [0]=>
-  string(5) "'foo'"
-}
-array(1) {
-  [1]=>
-  string(3) "foo"
-}
-array(1) {
-  [0]=>
-  string(5) "-foo-"
-}
-Done
---UEXPECTF--
 array(6) {
   [0]=>
   unicode(5) "Hello"
index 5f49fcfbf330d1367bb916ad4b04dbbacb48a958..e942a17385886c11c2f43ac45986afa4f44f86fb 100644 (file)
@@ -10,7 +10,7 @@ var_dump($a);
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 int(0)
 
 Warning: str_word_count(): Invalid format value -1 in %s on line %d
index e2da28eb55889c18ff22894708e1c6d15b5bf19d..44346d8de37d9b9caf08746741ca88fed90bf526 100644 (file)
Binary files a/ext/standard/tests/strings/strcmp.phpt and b/ext/standard/tests/strings/strcmp.phpt differ
index 73f0738bed21cf8f479171e621a2f146fa885ac5..0000a20d4a0b4277750cf4ed0ad6821896f7f3b2 100644 (file)
@@ -12,13 +12,6 @@ var_dump(strcspn($a,$b,9,6));
 var_dump(strcspn('a', 'B', 1, 2147483647));
 ?>
 --EXPECT--
-string(25) "22222222aaaa bbb1111 cccc"
-string(4) "1234"
-int(0)
-int(7)
-int(6)
-int(0)
---UEXPECT--
 unicode(25) "22222222aaaa bbb1111 cccc"
 unicode(4) "1234"
 int(0)
index a7735dd630a336ccd211206a9685ff3514f4e611..7ed9847edfe28f6954e3af1552b2c7c60045f1d7 100644 (file)
@@ -33,14 +33,7 @@ var_dump( strcspn($str, $mask) );
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strcspn() : basic functionality ***
-int(2)
-int(2)
-int(3)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strcspn() : basic functionality ***
 int(2)
 int(2)
index 39af8beccb70e9f359351b15c725f2986ba7a2bf..03b4f2d2cf668dde7090a8b4b5c8933d1b727639 100644 (file)
@@ -55,22 +55,3 @@ NULL
 Warning: strcspn() expects at least 2 parameters, 1 given in %s on line %d
 NULL
 Done
-
---UEXPECTF--
-*** Testing strcspn() : error conditions ***
-
--- Testing strcspn() function with Zero arguments --
-
-Warning: strcspn() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strcspn() function with more than expected no. of arguments --
-
-Warning: strcspn() expects at most 4 parameters, 5 given in %s on line %d
-NULL
-
--- Testing strcspn() function with less than expected no. of arguments --
-
-Warning: strcspn() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-Done
index 0b459b9cbced0156eff4ae9f4e8dd0694868f1dd..b0d76c3605ea8f949860137d9d761830cc824b94 100644 (file)
@@ -271,172 +271,3 @@ NULL
 Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing strcspn() : with unexpected values for str argument ***
-
--- Iteration with str value as "0"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "1"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "12345"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "-2345"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "10.5"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "-10.5"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "101234567000"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as "1.07654321E-9"
-int(0)
-int(1)
-int(1)
-
--- Iteration with str value as "0.5"
-int(0)
-int(1)
-int(1)
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "object"
-int(0)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "Resource id #5"
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
index 2465f70bf4bde38fa738d0aa988f7d801b4941d5..ce99ba5746ebe6a6375b0c6660fc72812d9f4234 100644 (file)
@@ -63,7 +63,7 @@ foreach($strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing strcspn() : with different mask strings and default start and len arguments ***
 
 -- Iteration 1 --
index a5fc9bb59da01e93002d5433efa7c52dcf17731a..89353ec5d3c4ba96dee42cbe355004565cbaa26c 100644 (file)
@@ -77,1235 +77,7 @@ foreach($strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strcspn() : with different start and default len values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 3 --
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 4 --
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 5 --
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(2)
-int(1)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-
--- Iteration 6 --
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-int(28)
-int(27)
-int(26)
-int(1)
-int(2)
-bool(false)
-int(28)
-int(5)
-int(4)
-int(3)
-int(1)
-int(0)
-bool(false)
-int(5)
-
--- Iteration 7 --
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(20)
-int(19)
-int(18)
-int(1)
-int(2)
-bool(false)
-int(20)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-
--- Iteration 8 --
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-
--- Iteration 9 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(12)
-int(11)
-int(10)
-int(1)
-int(2)
-bool(false)
-int(12)
-int(11)
-int(10)
-int(9)
-int(0)
-int(1)
-bool(false)
-int(11)
-
--- Iteration 10 --
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(16)
-int(15)
-int(14)
-int(1)
-int(2)
-bool(false)
-int(16)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-
--- Iteration 12 --
-int(0)
-int(5)
-int(4)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(0)
-int(5)
-int(4)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-int(13)
-int(12)
-int(11)
-int(1)
-int(2)
-bool(false)
-int(13)
-
--- Iteration 13 --
-int(0)
-int(12)
-int(11)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(0)
-int(12)
-int(11)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(3)
-int(2)
-int(1)
-int(1)
-int(2)
-bool(false)
-int(3)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-
--- Iteration 14 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-
--- Iteration 15 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-int(11)
-int(10)
-int(9)
-int(1)
-int(2)
-bool(false)
-int(11)
-
--- Iteration 16 --
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(14)
-int(13)
-int(12)
-int(1)
-int(2)
-bool(false)
-int(14)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-
--- Iteration 17 --
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(21)
-int(20)
-int(19)
-int(1)
-int(2)
-bool(false)
-int(21)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strcspn() : with different start and default len values ***
 
 -- Iteration 1 --
index 624f2a998a12cce2b4d950e1f19d1c47cfed1667..804cd3647aed3210f1a759c23104ad37830a6713 100644 (file)
@@ -79,2409 +79,7 @@ foreach($strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strcspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(18)
-int(19)
-int(0)
-int(0)
-int(1)
-int(2)
-int(17)
-int(18)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(18)
-int(19)
-int(0)
-int(0)
-int(1)
-int(2)
-int(17)
-int(18)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-int(0)
-int(1)
-int(2)
-int(15)
-int(15)
-int(0)
-int(0)
-int(1)
-int(2)
-int(14)
-int(14)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(18)
-int(19)
-int(0)
-int(0)
-int(1)
-int(2)
-int(17)
-int(18)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(19)
-int(20)
-int(0)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-int(0)
-int(1)
-int(2)
-int(15)
-int(15)
-int(0)
-int(0)
-int(1)
-int(2)
-int(14)
-int(14)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(16)
-int(16)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(9)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(11)
-int(11)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-
--- Iteration 10 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(9)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(9)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(2)
-int(9)
-int(10)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(9)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-
--- Iteration 11 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(11)
-int(12)
-int(0)
-int(0)
-int(1)
-int(2)
-int(10)
-int(11)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(12)
-int(13)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strcspn() : with different start and len values ***
 
 -- Iteration 1 --
index 6b3e4a37bcccb6b730fbc2b4ce180eab2e3db94e..1c8a2823a782afd7978a5e4bbc7d143ddc1e099e 100644 (file)
@@ -270,172 +270,3 @@ NULL
 Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing strcspn() : with diferent unexpected values of mask argument ***
-
--- Iteration with mask value as "0" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "12345" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "-2345" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "10.5" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "-10.5" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "101234567000" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1.07654321E-9" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "0.5" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "1" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "object" --
-int(1)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "" --
-int(10)
-int(9)
-int(9)
-
--- Iteration with mask value as "Resource id #5" --
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
index 1c735dccc79f7e29741e1b67a2377cf952b61482..be6408a039a177f5ae03d2826d90f8a87ecaf798 100644 (file)
@@ -123,149 +123,6 @@ int(0)
 
 -- Iteration with start value as "Array" --
 
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line 89
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "1" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "1" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "object" --
-
-Warning: strcspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "" --
-int(0)
-int(0)
-
--- Iteration with start value as "Resource id #%d" --
-
-Warning: strcspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-
-Warning: strcspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strcspn() : with unexpected values of start argument ***
-
--- Iteration with start value as "10.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "-10.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "1012345670" --
-bool(false)
-bool(false)
-
--- Iteration with start value as "1.07654321E-7" --
-int(0)
-int(0)
-
--- Iteration with start value as "0.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "Array" --
-
 Warning: strcspn() expects parameter 3 to be long, array given in %s on line %d
 NULL
 
index 9251497eb5e74caf6a0fb9287b2680ebc6dc763c..8e2fb67484338246a2f9a297314a9f3f89536be8 100644 (file)
@@ -160,103 +160,6 @@ int(0)
 
 -- Iteration with len value as "" --
 
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strcspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "object" --
-
-Warning: strcspn() expects parameter 4 to be long, object given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "Resource id #%d" --
-
-Warning: strcspn() expects parameter 4 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strcspn() : with unexpected values of len argument ***
-
--- Iteration with len value as "10.5" --
-int(0)
-
--- Iteration with len value as "-10.5" --
-int(0)
-
--- Iteration with len value as "101234567000" --
-int(0)
-
--- Iteration with len value as "1.07654321E-9" --
-int(0)
-
--- Iteration with len value as "0.5" --
-int(0)
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strcspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-
 Warning: strcspn() expects parameter 4 to be long, Unicode string given in %s on line %d
 NULL
 
index 1ad7df84ee5f7ca68073cd8e90482e33075492c0..c96bccc22639be416765114f4442bd48d137222a 100644 (file)
Binary files a/ext/standard/tests/strings/strcspn_variation5.phpt and b/ext/standard/tests/strings/strcspn_variation5.phpt differ
index 2da884bb873b5782f282202a9a4550791f99302c..04e788e923a02405e371f8639ad98530b92e7b0a 100644 (file)
@@ -88,95 +88,7 @@ foreach($heredoc_strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strcspn() : with different mask strings ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(2)
-int(2)
-int(0)
-int(2)
-int(2)
-int(2)
-int(2)
-int(2)
-int(2)
-int(2)
-
--- Iteration 3 --
-int(86)
-int(86)
-int(1)
-int(1)
-int(86)
-int(4)
-int(4)
-int(5)
-int(5)
-int(1)
-
--- Iteration 4 --
-int(24)
-int(24)
-int(2)
-int(2)
-int(5)
-int(24)
-int(24)
-int(5)
-int(5)
-int(5)
-
--- Iteration 5 --
-int(31)
-int(31)
-int(2)
-int(2)
-int(26)
-int(31)
-int(31)
-int(26)
-int(26)
-int(26)
-
--- Iteration 6 --
-int(5)
-int(5)
-int(2)
-int(2)
-int(25)
-int(25)
-int(25)
-int(25)
-int(25)
-int(25)
-
--- Iteration 7 --
-int(5)
-int(5)
-int(2)
-int(2)
-int(27)
-int(27)
-int(27)
-int(27)
-int(27)
-int(6)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strcspn() : with different mask strings ***
 
 -- Iteration 1 --
index 175dd0e274cb604da2f0aeac27ad3806a6a8a019..ce059969ce068d4bcde92d315702951fa1eee3d7 100644 (file)
@@ -103,515 +103,7 @@ foreach($heredoc_strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strcspn() : with different start values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-
--- Iteration 3 --
-int(86)
-int(85)
-int(84)
-int(1)
-int(2)
-bool(false)
-int(86)
-int(86)
-int(85)
-int(84)
-int(1)
-int(2)
-bool(false)
-int(86)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(86)
-int(85)
-int(84)
-int(1)
-int(2)
-bool(false)
-int(86)
-int(4)
-int(3)
-int(2)
-int(1)
-int(2)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(1)
-int(2)
-bool(false)
-int(4)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(1)
-int(0)
-int(5)
-int(1)
-int(2)
-bool(false)
-int(1)
-
--- Iteration 4 --
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(2)
-int(1)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(24)
-int(23)
-int(22)
-int(1)
-int(2)
-bool(false)
-int(24)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(1)
-int(2)
-bool(false)
-int(5)
-
--- Iteration 5 --
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(31)
-int(30)
-int(29)
-int(1)
-int(2)
-bool(false)
-int(31)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-int(26)
-int(25)
-int(24)
-int(1)
-int(2)
-bool(false)
-int(26)
-
--- Iteration 6 --
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-int(25)
-int(24)
-int(23)
-int(1)
-int(2)
-bool(false)
-int(25)
-
--- Iteration 7 --
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(5)
-int(4)
-int(3)
-int(0)
-int(1)
-bool(false)
-int(5)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(27)
-int(26)
-int(25)
-int(1)
-int(2)
-bool(false)
-int(27)
-int(6)
-int(5)
-int(4)
-int(1)
-int(2)
-bool(false)
-int(6)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strcspn() : with different start values ***
 
 -- Iteration 1 --
index eb0019409e51c6403d05e91d1d10ff500677a461..c2599295507cfc9cbcab03e578d9213de1d29227 100644 (file)
@@ -109,1789 +109,7 @@ foreach($heredoc_strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strcspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(84)
-int(85)
-int(0)
-int(0)
-int(1)
-int(2)
-int(83)
-int(84)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(84)
-int(85)
-int(0)
-int(0)
-int(1)
-int(2)
-int(83)
-int(84)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(84)
-int(85)
-int(0)
-int(0)
-int(1)
-int(2)
-int(83)
-int(84)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(85)
-int(86)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(2)
-int(21)
-int(22)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(29)
-int(30)
-int(0)
-int(0)
-int(1)
-int(2)
-int(28)
-int(29)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(29)
-int(30)
-int(0)
-int(0)
-int(1)
-int(2)
-int(28)
-int(29)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(24)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(29)
-int(30)
-int(0)
-int(0)
-int(1)
-int(2)
-int(28)
-int(29)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(30)
-int(31)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(24)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(24)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(26)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(2)
-int(23)
-int(24)
-int(0)
-int(0)
-int(1)
-int(2)
-int(22)
-int(23)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(25)
-int(26)
-int(0)
-int(0)
-int(1)
-int(2)
-int(24)
-int(25)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(26)
-int(27)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(1)
-int(2)
-int(5)
-int(5)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strcspn() : with different start and len values ***
 
 -- Iteration 1 --
index 9ed28979c53d330020caeb933953031485353bdd..4cc177412c1fbc3f2a0b0655628f819c7e340ad6 100644 (file)
Binary files a/ext/standard/tests/strings/strcspn_variation9.phpt and b/ext/standard/tests/strings/strcspn_variation9.phpt differ
index 4ccb558fad99cabc3fd8b713bf3fd50164287424..52bacfbeb00491e766b14c12af206d3b1511ad09 100644 (file)
@@ -8,8 +8,5 @@ var_dump(strstr($s, "nic"));
 var_dump(strrchr($s," nic"));
 ?>
 --EXPECTREGEX--
-string\(18\) \"nica\x00turska panica\"
-string\(7\) \" panica\"
---UEXPECTREGEX--
 unicode\(18\) \"nica\x00turska panica\"
 unicode\(7\) \" panica\"
index 42f7a81af9d5c2107882fbe5fc9d475769d17f38..a20646b4a6003dd20a8cc2d50804f151c6e75b3a 100644 (file)
@@ -42,38 +42,7 @@ foreach($string_array as $string)
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing strip_tags() : basic functionality ***
--- Iteration 1 --
-string(5) "hello"
--- Iteration 2 --
-string(5) "hello"
--- Iteration 3 --
-string(0) ""
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(0) ""
--- Iteration 6 --
-string(0) ""
--- Iteration 7 --
-string(0) ""
--- Iteration 8 --
-string(0) ""
--- Iteration 9 --
-string(12) " echo hello "
--- Iteration 10 --
-string(12) " echo hello "
--- Iteration 11 --
-string(10) "helloworld"
--- Iteration 12 --
-string(10) "helloworld"
--- Iteration 13 --
-string(0) ""
--- Iteration 14 --
-string(0) ""
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : basic functionality ***
 -- Iteration 1 --
 unicode(5) "hello"
index fb3e8839574a25e1807b1cc9d7bf532676182d97..2d91ba4d3b001f97e5d22a79cb8c1b37415317d8 100644 (file)
@@ -38,28 +38,7 @@ foreach($allowed_tags_array as $tags)
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing strip_tags() : basic functionality ***
--- Iteration 1 --
-string(33) "<html>helloworldOther text</html>"
--- Iteration 2 --
-string(33) "<html>helloworldOther text</html>"
--- Iteration 3 --
-string(27) "<p>hello</p>worldOther text"
--- Iteration 4 --
-string(27) "<p>hello</p>worldOther text"
--- Iteration 5 --
-string(44) "helloworld<a href="#fragment">Other text</a>"
--- Iteration 6 --
-string(44) "helloworld<a href="#fragment">Other text</a>"
--- Iteration 7 --
-string(20) "helloworldOther text"
--- Iteration 8 --
-string(20) "helloworldOther text"
--- Iteration 9 --
-string(64) "<html><p>hello</p>world<a href="#fragment">Other text</a></html>"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : basic functionality ***
 -- Iteration 1 --
 unicode(33) "<html>helloworldOther text</html>"
index 4fd8044031abf842446cdb87a14f53c02e190c82..c45cbb115a15c8b229eed60a1e42dd9fcb730c0b 100644 (file)
@@ -38,16 +38,3 @@ NULL
 Warning: strip_tags() expects at most 2 parameters, 3 given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing strip_tags() : error conditions ***
-
--- Testing strip_tags() function with Zero arguments --
-
-Warning: strip_tags() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing strip_tags() function with more than expected no. of arguments --
-
-Warning: strip_tags() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-Done
index e997051fc7d29edfbb0b529d19f447f5992a50e5..46a11c788ea07dc666687fb0541084fcafd6bae2 100644 (file)
@@ -93,73 +93,6 @@ echo "Done";
 --EXPECTF--
 *** Testing strip_tags() : 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) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(1) "1"
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(14) "Class A object"
--- Iteration 24 --
-string(0) ""
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
 unicode(1) "0"
 -- Iteration 2 --
 unicode(1) "1"
index ae06ecd4d67488c8d7d15d8d07df18b4dcd48cfc..8a94b0b8e3f67e6478ea60620a441da3894c2485 100644 (file)
@@ -38,22 +38,7 @@ foreach($single_quote_string as $string_value)
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(51) "<html> \$ -> This represents the dollar sign</html>"
--- Iteration 2 --
-string(63) "<html>\t\r\v The quick brown fo\fx jumped over the lazy dog</p>"
--- Iteration 3 --
-string(31) "<a>This is a hyper text tag</a>"
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(26) "<p>This is a paragraph</p>"
--- Iteration 6 --
-string(65) "<b>This is \ta text in bold letters\r\s\malong with slashes\n</b>"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
 unicode(51) "<html> \$ -> This represents the dollar sign</html>"
index 40f8bac884e182cddb16f285e7429d61c5aa39fc..eb64a300bf78ea755878bc7ddd367bb37ece47fc 100644 (file)
@@ -95,73 +95,6 @@ echo "Done";
 --EXPECTF--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
-string(10) "helloworld"
--- Iteration 2 --
-string(10) "helloworld"
--- Iteration 3 --
-string(10) "helloworld"
--- Iteration 4 --
-string(10) "helloworld"
--- Iteration 5 --
-string(10) "helloworld"
--- Iteration 6 --
-string(10) "helloworld"
--- Iteration 7 --
-string(10) "helloworld"
--- Iteration 8 --
-string(10) "helloworld"
--- Iteration 9 --
-string(10) "helloworld"
--- Iteration 10 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(10) "helloworld"
--- Iteration 16 --
-string(10) "helloworld"
--- Iteration 17 --
-string(10) "helloworld"
--- Iteration 18 --
-string(10) "helloworld"
--- Iteration 19 --
-string(10) "helloworld"
--- Iteration 20 --
-string(10) "helloworld"
--- Iteration 21 --
-string(10) "helloworld"
--- Iteration 22 --
-string(10) "helloworld"
--- Iteration 23 --
-string(10) "helloworld"
--- Iteration 24 --
-string(10) "helloworld"
--- Iteration 25 --
-string(10) "helloworld"
--- Iteration 26 --
-
-Warning: strip_tags() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
 unicode(10) "helloworld"
 -- Iteration 2 --
 unicode(10) "helloworld"
index 9e49276424c359a879280232fd4c6f79718b8fce..9e1a0e5b75434c3ee605a90e134aa6080c6be457 100644 (file)
@@ -93,73 +93,6 @@ echo "Done";
 --EXPECTF--
 *** Testing strip_tags() : 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) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(1) "1"
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(14) "Class A object"
--- Iteration 24 --
-string(0) ""
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-
-Warning: strip_tags() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
 unicode(1) "0"
 -- Iteration 2 --
 unicode(1) "1"
index d3fce45d397b386d866d118871917b97263dbe20..a77d231dc14f37933b3b001c1d4e0bf97139ea71 100644 (file)
@@ -45,34 +45,7 @@ foreach($strings as $string_value)
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(32) "hello              world... strip_tags_test"
--- Iteration 2 --
-string(34) "hello \t\tworld... strip_tags_test"
--- Iteration 3 --
-string(0) ""
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 6 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 7 --
-string(9) "HtMl text"
--- Iteration 8 --
-string(9) "HtMl text"
--- Iteration 9 --
-string(26) "I am not a valid html text"
--- Iteration 10 --
-string(26) "I am not a valid html text"
--- Iteration 11 --
-string(62) "I am a quoted (") string with special chars like $,\!,\@,\%,\&"
--- Iteration 12 --
-string(64) "I am a quoted (\") string with special chars like \$,\!,\@,\%,\&"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
 unicode(32) "hello             world... strip_tags_test"
index 5018f84feee2150aa273971ffd9078de570f88f3..52c19a78bd0ac9f3f12e554d77c78a5952f02dd9 100644 (file)
@@ -77,33 +77,7 @@ for($index =0; $index < count($res_heredoc_strings); $index ++) {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(0) ""
--- Iteration 2 --
-string(0) ""
--- Iteration 3 --
-string(67) "<html>hello world</html>
-13 &lt; 25
-
-This is a double quoted string"
--- Iteration 4 --
-string(44) "<html>hello
- world 
-1111            != 2222\v\v</html>
-"
--- Iteration 5 --
-string(56) "<html>11 < 12. 123 >22</html>
-string 1111     0000    = 0000
-"
--- Iteration 6 --
-string(150) "<html>This's a string with quotes:</html>
-"strings in double quote";
-'strings in single quote';
-<html>this\line is single quoted /with\slashes </html>"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
 unicode(0) ""
index 6db6408767b3a5a9d3418e773a4aeea29e93b7c8..d6243d18fd34b7f3922d7b762dc83eee291683b1 100644 (file)
@@ -34,18 +34,7 @@ foreach($strings as $value)
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(18) " I am html string "
--- Iteration 2 --
-string(18) " I am html string "
--- Iteration 3 --
-string(16) "I am html string"
--- Iteration 4 --
-string(23) "I am html string1000001"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
 unicode(18) " I am html string "
index a34536132d1b4b7c8a669db87ad60442d47b10c0..a0c2a2400fed9354fb91256a5dd062c454274a5f 100644 (file)
@@ -43,34 +43,7 @@ foreach($strings as $string_value)
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(43) "<abc>hello</abc>           world... strip_tags_test"
--- Iteration 2 --
-string(45) "<abc>hello</abc> \t\tworld... strip_tags_test"
--- Iteration 3 --
-string(0) ""
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 6 --
-string(18) "<htmL>hello</htmL>"
--- Iteration 7 --
-string(9) "HtMl text"
--- Iteration 8 --
-string(9) "HtMl text"
--- Iteration 9 --
-string(37) "<nnn>I am not a valid html text</nnn>"
--- Iteration 10 --
-string(37) "<nnn>I am not a valid html text</nnn>"
--- Iteration 11 --
-string(73) "<nnn>I am a quoted (") string with special chars like $,\!,\@,\%,\&</nnn>"
--- Iteration 12 --
-string(75) "<nnn>I am a quoted (\") string with special chars like \$,\!,\@,\%,\&</nnn>"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
 unicode(43) "<abc>hello</abc>          world... strip_tags_test"
index 29c0ed00206f8c9ee99b01206cae38ad3fb45689..494fb8ef58a01fc7571be4e470c7ca2145507214 100644 (file)
@@ -38,26 +38,7 @@ foreach($quotes as $string_value)
 }
 
 echo "Done";
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(33) "hello      world... strip_tags_test\v\f"
--- Iteration 2 --
-string(33) "hello      world... strip_tags_test\v\f"
--- Iteration 3 --
-string(33) "hello      world... strip_tags_test\v\f"
--- Iteration 4 --
-string(33) "hello      world... strip_tags_test\v\f"
--- Iteration 5 --
-string(33) "hello      world... strip_tags_test\v\f"
--- Iteration 6 --
-string(33) "hello      world... strip_tags_test\v\f"
--- Iteration 7 --
-string(46) "<html>hello</html>         world... strip_tags_test\v\f"
--- Iteration 8 --
-string(46) "<html>hello</html>         world... strip_tags_test\v\f"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
 unicode(33) "hello     world... strip_tags_test\v\f"
index d70ea893cff539c0686e1e18531ae1e26ba7efc4..2f6b41d89322b3b1e18fcbd4a18aae7471087f1e 100644 (file)
@@ -36,25 +36,7 @@ foreach($double_quote_string as $string_value)
 }
 
 echo "Done";
---EXPECTF--
-*** Testing strip_tags() : usage variations ***
--- Iteration 1 --
-string(50) "<html> $ -> This represents the dollar sign</html>"
--- Iteration 2 --
-string(59) "<html>     
-\v The quick brown fo\fx jumped over the lazy dog</p>"
--- Iteration 3 --
-string(31) "<a>This is a hyper text tag</a>"
--- Iteration 4 --
-string(0) ""
--- Iteration 5 --
-string(26) "<p>This is a paragraph</p>"
--- Iteration 6 --
-string(62) "<b>This is         a text in bold letters
-\s\malong with slashes
-</b>"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing strip_tags() : usage variations ***
 -- Iteration 1 --
 unicode(50) "<html> $ -> This represents the dollar sign</html>"
index 37b737edda5e32a5de7e429629b2abd58043dd74..a4a8b7c8f5acc1fad0a88763c0af2c3b4f5a2ddb 100644 (file)
@@ -36,23 +36,7 @@ var_dump( stripos('Hello, World', (unicode)"hello") );
 var_dump( stripos("Hello, World", "ooo") );
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: basic functionality ***
--- With default arguments --
-int(0)
-int(0)
-int(7)
-int(7)
-int(4)
-int(5)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: basic functionality ***
 -- With default arguments --
 int(0)
index 1115171b34100901167806e23b87fc7f5da29ed2..1484e2706b52436e8fe28ab391015223f939fc26 100644 (file)
@@ -33,24 +33,7 @@ var_dump( stripos("Hello, World", "o", 6) );
 var_dump( stripos("Hello, World", "o", 10) );
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: basic functionality ***
--- With all arguments --
-int(0)
-bool(false)
-int(7)
-int(7)
-int(0)
-int(0)
-bool(false)
-int(0)
-bool(false)
-int(4)
-int(8)
-int(8)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: basic functionality ***
 -- With all arguments --
 int(0)
index 71d93ef5a86610ff8df8220b850bab74cf4de7b2..ef6ad9e6ec2c221c22c99a02ec2756d1c34b3a10 100644 (file)
@@ -33,18 +33,3 @@ NULL
 Warning: stripos() expects at most 3 parameters, 4 given in %s on line %d
 NULL
 *** Done ***
---UEXPECTF--
-*** Testing stripos() function: error conditions ***
-
--- With Zero arguments --
-Warning: stripos() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
--- With less than expected number of arguments --
-Warning: stripos() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-
--- With more than expected number of arguments --
-Warning: stripos() expects at most 3 parameters, 4 given in %s on line %d
-NULL
-*** Done ***
index 374c3a0e017898da3039a1f4a936a07f62947f95..d96bcbed9497355ab3aedf51578bfc7277821032 100644 (file)
@@ -78,133 +78,7 @@ for($index=0; $index<count($needle); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: with double quoted strings ***
--- Iteration 1 --
-int(2)
-int(2)
--- Iteration 2 --
-int(2)
-int(2)
--- Iteration 3 --
-int(0)
-int(34)
--- Iteration 4 --
-int(0)
-int(34)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(7)
-int(7)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-int(7)
-int(9)
--- Iteration 11 --
-int(8)
-bool(false)
--- Iteration 12 --
-int(8)
-bool(false)
--- Iteration 13 --
-int(8)
-bool(false)
--- Iteration 14 --
-int(8)
-bool(false)
--- Iteration 15 --
-int(8)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(10)
-int(47)
--- Iteration 18 --
-int(12)
-bool(false)
--- Iteration 19 --
-int(11)
-bool(false)
--- Iteration 20 --
-int(13)
-bool(false)
--- Iteration 21 --
-int(14)
-bool(false)
--- Iteration 22 --
-int(16)
-bool(false)
--- Iteration 23 --
-int(17)
-bool(false)
--- Iteration 24 --
-int(20)
-bool(false)
--- Iteration 25 --
-int(22)
-bool(false)
--- Iteration 26 --
-int(23)
-bool(false)
--- Iteration 27 --
-int(25)
-bool(false)
--- Iteration 28 --
-bool(false)
-bool(false)
--- Iteration 29 --
-int(27)
-bool(false)
--- Iteration 30 --
-int(28)
-bool(false)
--- Iteration 31 --
-int(29)
-bool(false)
--- Iteration 32 --
-int(31)
-int(31)
--- Iteration 33 --
-int(30)
-bool(false)
--- Iteration 34 --
-int(33)
-int(33)
--- Iteration 35 --
-int(39)
-int(39)
--- Iteration 36 --
-int(15)
-int(48)
--- Iteration 37 --
-int(15)
-int(48)
--- Iteration 38 --
-int(51)
-int(51)
--- Iteration 39 --
-int(51)
-int(51)
--- Iteration 40 --
-bool(false)
-bool(false)
--- Iteration 41 --
-int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: with double quoted strings ***
 -- Iteration 1 --
 int(2)
index c8acf19e333c75f11a9380053a00ab191d2601af..ea29521100bd74321ea431adf192519e9578b466 100644 (file)
@@ -102,89 +102,6 @@ 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 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d
-bool(false)
-
--- Iteration 20 --
-bool(false)
-
--- Iteration 21 --
-bool(false)
-
--- Iteration 22 --
-bool(false)
-
--- Iteration 23 --
-bool(false)
-
--- Iteration 24 --
-%s
-
--- Iteration 25 --
-bool(false)
-
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for needle ***
-
--- Iteration 1 --
-bool(false)
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-bool(false)
-
 -- Iteration 4 --
 
 Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
index 3bc862fa5ede32515c8f2348ecd0ee587b816984..92aaeb37a94135c4b782bfe889a5a46780cda2f1 100644 (file)
@@ -92,127 +92,6 @@ echo "*** Done ***";
 *** Testing stripos() function with unexpected values for haystack and needle ***
 -- Iteration 1 --
 bool(false)
-bool(false)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-bool(false)
-bool(false)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-bool(false)
-bool(false)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 17 --
-bool(false)
-bool(false)
--- Iteration 18 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d
-bool(false)
-
-Notice: Object of class sample could not be converted to int in %s on line %d
-bool(false)
--- Iteration 20 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 21 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 22 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 23 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 24 --
-bool(false)
-bool(false)
--- Iteration 25 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 26 --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for haystack and needle ***
--- Iteration 1 --
-bool(false)
 int(1)
 -- Iteration 2 --
 bool(false)
index 4a62f099606c5fccec99ed9356b796ac134f9fb9..c29e3533a58532253616c6bfa902b0d85beadc74 100644 (file)
@@ -26,24 +26,7 @@ for($index = 0; $index < count($haystacks); $index++ ) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Test stripos() function: binary safe ***
-int(5)
-int(5)
-int(0)
-bool(false)
-int(11)
-int(11)
-int(0)
-bool(false)
-int(5)
-int(5)
-int(0)
-bool(false)
-int(5)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Test stripos() function: binary safe ***
 int(5)
 int(5)
index a9e7b64b73c929493c033bab7b085f5eaf0431bd..2e58e6b8f0a828f26f963436dfcd6c19de6284d6 100644 (file)
@@ -27,22 +27,7 @@ for($index = 0; $index < count($needles); $index++ ) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Test stripos() function: binary safe ***
-int(1)
-int(1)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(1)
-bool(false)
-int(0)
-bool(false)
-int(1)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Test stripos() function: binary safe ***
 int(1)
 int(1)
index 6ed60a56f34943042123575b252625164e579bd2..cf568a451f09fc43f56b18287bf8cdd35ed4b87c 100644 (file)
@@ -134,75 +134,6 @@ Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
 NULL
 -- Iteration 16 --
 
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 17 --
-
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 18 --
-int(6)
--- Iteration 19 --
-int(6)
--- Iteration 20 --
-
-Warning: stripos() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 21 --
-int(6)
--- Iteration 22 --
-int(6)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for haystack and needle ***
--- Iteration 1 --
-int(6)
--- Iteration 2 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 3 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 4 --
-int(6)
--- Iteration 5 --
-int(6)
--- Iteration 6 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 7 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 8 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 11 --
-int(6)
--- Iteration 12 --
-int(6)
--- Iteration 13 --
-int(6)
--- Iteration 14 --
-int(6)
--- Iteration 15 --
-
-Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
-NULL
--- Iteration 16 --
-
 Warning: stripos() expects parameter 3 to be long, Unicode string given in %s on line %d
 NULL
 -- Iteration 17 --
index 3f443899bda3043d45587997e2b8334e5514605b..16360f5c6dc90ebca6203a70b36dc10609562d4d 100644 (file)
@@ -150,89 +150,6 @@ Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
 NULL
 -- Iteration 20 --
 
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 21 --
-
-Warning: stripos() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-
-Warning: stripos() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing stripos() function with unexpected values for haystack, needle & offset ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 4 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 5 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 6 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 7 --
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: stripos() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-
-Warning: stripos() expects parameter 3 to be long, object given in %s on line %d
-NULL
--- Iteration 20 --
-
 Warning: stripos() expects parameter 3 to be long, Unicode string given in %s on line %d
 NULL
 -- Iteration 21 --
index 48ce5e968e1557fb3a017ee231110c2efc4d684d..85717161a5e63a259f87fc9c0a141ffa6058f4cf 100644 (file)
@@ -82,145 +82,7 @@ for($index=0; $index<count($needle); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: with single quoted strings ***
--- Iteration 1 --
-int(2)
-int(2)
--- Iteration 2 --
-int(2)
-int(2)
--- Iteration 3 --
-int(0)
-int(38)
--- Iteration 4 --
-int(0)
-int(38)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-int(6)
-int(6)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(8)
-int(8)
--- Iteration 9 --
-int(8)
-int(8)
--- Iteration 10 --
-bool(false)
-bool(false)
--- Iteration 11 --
-int(10)
-int(10)
--- Iteration 12 --
-bool(false)
-bool(false)
--- Iteration 13 --
-bool(false)
-bool(false)
--- Iteration 14 --
-bool(false)
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(14)
-int(51)
--- Iteration 18 --
-int(16)
-bool(false)
--- Iteration 19 --
-int(15)
-bool(false)
--- Iteration 20 --
-int(17)
-bool(false)
--- Iteration 21 --
-int(18)
-bool(false)
--- Iteration 22 --
-int(20)
-bool(false)
--- Iteration 23 --
-int(21)
-bool(false)
--- Iteration 24 --
-int(24)
-int(24)
--- Iteration 25 --
-int(26)
-int(26)
--- Iteration 26 --
-int(27)
-int(27)
--- Iteration 27 --
-int(28)
-int(28)
--- Iteration 28 --
-int(29)
-int(29)
--- Iteration 29 --
-bool(false)
-bool(false)
--- Iteration 30 --
-bool(false)
-bool(false)
--- Iteration 31 --
-int(31)
-int(31)
--- Iteration 32 --
-int(32)
-int(32)
--- Iteration 33 --
-int(33)
-int(33)
--- Iteration 34 --
-int(35)
-int(35)
--- Iteration 35 --
-int(34)
-int(34)
--- Iteration 36 --
-int(36)
-int(36)
--- Iteration 37 --
-int(37)
-int(37)
--- Iteration 38 --
-int(37)
-int(37)
--- Iteration 39 --
-int(43)
-int(43)
--- Iteration 40 --
-int(52)
-int(52)
--- Iteration 41 --
-int(19)
-bool(false)
--- Iteration 42 --
-int(58)
-int(58)
--- Iteration 43 --
-bool(false)
-bool(false)
--- Iteration 44 --
-int(26)
-bool(false)
--- Iteration 45 --
-int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: with single quoted strings ***
 -- Iteration 1 --
 int(2)
index 012dbf49304496f1c67a58cbee77f3edb7de21b6..3310ecd26f66f443353bc9bbde340f227ebf3659 100644 (file)
@@ -24,16 +24,7 @@ var_dump( stripos($multi_line_str, " ") );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing multi lines --
-int(14)
-int(23)
-int(23)
-bool(false)
-int(7)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: with heredoc strings ***
 -- With heredoc string containing multi lines --
 int(14)
index ee611dccb3703b3c77469a551c17843bc9137c09..babbc051bdf9113a7846cfbf978ab08bcb8fa70d 100644 (file)
@@ -26,18 +26,7 @@ var_dump( stripos($special_chars_str, "(special)") );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing special chars --
-int(0)
-bool(false)
-int(38)
-int(39)
-int(55)
-int(55)
-int(57)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: with heredoc strings ***
 -- With heredoc string containing special chars --
 int(0)
index 7d8f90b6f4f7b929dce44eee263c1251f2da433f..2b09e3734b219fd7c5016ddb7a53cbc877e0e2a3 100644 (file)
@@ -22,15 +22,7 @@ var_dump( stripos($control_char_str, "\t", 15) );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing escape characters --
-int(12)
-int(19)
-int(12)
-int(19)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: with heredoc strings ***
 -- With heredoc string containing escape characters --
 int(12)
index 7ed69cec2bcd1e66e5b0de6d935d9ea0e7515a09..b30be173ee51d98fe10a09e10fce20618c4b02ab 100644 (file)
@@ -23,15 +23,7 @@ var_dump( stripos($quote_char_str, 'things', 0) );
 var_dump( stripos($quote_char_str, "things", 20) );
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With heredoc string containing quote & slash chars --
-int(88)
-int(34)
-int(34)
-int(34)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: with heredoc strings ***
 -- With heredoc string containing quote & slash chars --
 int(88)
index fb5f42706c62d152d5ff7f968fddb5da17223349..a1658d9d8ce06e3ef0abe06373d94bb8517da199 100644 (file)
@@ -30,13 +30,3 @@ bool(false)
 bool(false)
 bool(false)
 *** Done ***
---UEXPECTF--
-*** Testing stripos() function: with heredoc strings ***
--- With empty heredoc string --
-bool(false)
-
-Warning: stripos(): Offset not contained in string in %s on line %d
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
index 1266427246362d6e4704b5134975e1f825e756e0..acbb0c77fc10b9fc93d88d2022e5c00ef7deb28f 100644 (file)
@@ -33,186 +33,7 @@ for($index = 0; $index < count($needles); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing stripos() function: variations with offset ***
-
--- Iteration 1 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 2 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 3 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 4 --
-int(0)
-int(2)
-int(2)
-int(4)
-int(4)
-int(6)
-int(6)
-int(8)
-int(8)
-int(10)
-int(10)
-int(12)
-int(12)
-int(14)
-int(14)
-int(16)
-int(16)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 5 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 6 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 7 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
--- Iteration 8 --
-int(1)
-int(1)
-int(3)
-int(3)
-int(5)
-int(5)
-int(7)
-int(7)
-int(9)
-int(9)
-int(11)
-int(11)
-int(13)
-int(13)
-int(15)
-int(15)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing stripos() function: variations with offset ***
 
 -- Iteration 1 --
index bfabd8cfef41805ed64932c64b5c3354793c22c8..1873ee30383fbc4520eeb371e197567dea82b426 100644 (file)
Binary files a/ext/standard/tests/strings/stripslashes_basic.phpt and b/ext/standard/tests/strings/stripslashes_basic.phpt differ
index 2ed74bc6a64ae6b3cccc1ef024e7ffd2f423e0a5..8905217ee813686eb4fb77e18e6c2226cd4429ff 100644 (file)
@@ -37,21 +37,6 @@ NULL
 
 -- Testing stripslashes() function with more than expected no. of arguments --
 
-Warning: Wrong parameter count for stripslashes() in %s on line %d
-NULL
-string(18) "\"hello\"\"world\""
-Done
-
---UEXPECTF--
-*** Testing stripslashes() : error conditions ***
-
--- Testing stripslashes() function with Zero arguments --
-
-Warning: Wrong parameter count for stripslashes() in %s on line %d
-NULL
-
--- Testing stripslashes() function with more than expected no. of arguments --
-
 Warning: Wrong parameter count for stripslashes() in %s on line %d
 NULL
 unicode(18) "\"hello\"\"world\""
index 4e56dcde2048f59ead1f6b36c003df79237db50f..15ee4abf4cdcd1b30b30552e4a753271c65ae15b 100644 (file)
@@ -104,78 +104,6 @@ Notice: Undefined variable: undefined_var in %s on line %d
 
 Notice: Undefined variable: unset_var in %s on line %d
 
---- Testing stripslashes() by supplying different values for 'str' argument ---
--- 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) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
--- Iteration 15 --
-string(1) "1"
--- Iteration 16 --
-string(0) ""
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(0) ""
--- Iteration 20 --
-string(0) ""
--- Iteration 21 --
-string(0) ""
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(6) "obj'ct"
--- Iteration 24 --
-string(%d) "Resource id #%d"
--- Iteration 25 --
-string(0) ""
--- Iteration 26 --
-string(0) ""
-Done
-
---UEXPECTF--
-*** Testing stripslashes() : with non-string type argument ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
 --- Testing stripslashes() by supplying different values for 'str' argument ---
 -- Iteration 1 --
 unicode(1) "0"
index 26527156bb154fbcc45f0a963e4283e1602ce168..5a3c23cd9c374c404c31e486fa19a1b6d3d00bb4 100644 (file)
Binary files a/ext/standard/tests/strings/stripslashes_variation2.phpt and b/ext/standard/tests/strings/stripslashes_variation2.phpt differ
index ddc8184f02614bc1b47c157cfd7023559e8fa981..fa1ed34a4bad53c35b9ec174b5ed62880cdb1d51 100644 (file)
@@ -59,71 +59,7 @@ foreach( $str_array as $str )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing stripslashes() : with strings containing newline and tab characters ***
-
--- Iteration 1 --
-string(1) "
-"
-
--- Iteration 2 --
-string(1) "n"
-
--- Iteration 3 --
-string(12) "Hello 
-world"
-
--- Iteration 4 --
-string(12) "Hello nworld"
-
--- Iteration 5 --
-string(1) "n"
-
--- Iteration 6 --
-string(1) "n"
-
--- Iteration 7 --
-string(12) "Hello nworld"
-
--- Iteration 8 --
-string(12) "Hello nworld"
-
--- Iteration 9 --
-string(71) "This is line 1 
-of 'heredoc' string
-This is line 2 
-of "heredoc" string"
-
--- Iteration 10 --
-string(1) "    "
-
--- Iteration 11 --
-string(1) "t"
-
--- Iteration 12 --
-string(12) "Hello      world"
-
--- Iteration 13 --
-string(12) "Hello tworld"
-
--- Iteration 14 --
-string(1) "t"
-
--- Iteration 15 --
-string(1) "t"
-
--- Iteration 16 --
-string(12) "Hello tworld"
-
--- Iteration 17 --
-string(12) "Hello tworld"
-
--- Iteration 18 --
-string(71) "This is line 1     of 'heredoc' string
-This is line 2         of "heredoc" string"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing stripslashes() : with strings containing newline and tab characters ***
 
 -- Iteration 1 --
@@ -185,4 +121,4 @@ unicode(12) "Hello tworld"
 -- Iteration 18 --
 unicode(71) "This is line 1    of 'heredoc' string
 This is line 2         of "heredoc" string"
-Done
\ No newline at end of file
+Done
index 8469f2b942a709aaf2c1bae9f3285a86bd114c96..fa67dbb21e3ff4ac44c03ea806870afeee30dc96 100644 (file)
@@ -38,101 +38,7 @@ foreach( $str_array as $arr )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing stripslashes() : with double dimensional arrays ***
-
--- Iteration 1 --
-array(2) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  array(0) {
-  }
-}
-
--- Iteration 2 --
-array(2) {
-  [0]=>
-  string(0) ""
-  [1]=>
-  array(1) {
-    [0]=>
-    string(0) ""
-  }
-}
-
--- Iteration 3 --
-array(3) {
-  [0]=>
-  string(4) "f'oo"
-  [1]=>
-  string(4) "b'ar"
-  [2]=>
-  array(2) {
-    [0]=>
-    string(4) "fo'o"
-    [1]=>
-    string(4) "b'ar"
-  }
-}
-
--- Iteration 4 --
-array(3) {
-  [0]=>
-  string(4) "f'oo"
-  [1]=>
-  string(4) "b'ar"
-  [2]=>
-  array(1) {
-    [0]=>
-    string(0) ""
-  }
-}
-
--- Iteration 5 --
-array(3) {
-  [0]=>
-  string(4) "f'oo"
-  [1]=>
-  string(4) "b'ar"
-  [2]=>
-  array(3) {
-    [0]=>
-    string(4) "fo'o"
-    [1]=>
-    string(4) "b'ar"
-    [2]=>
-    array(1) {
-      [0]=>
-      string(0) ""
-    }
-  }
-}
-
--- Iteration 6 --
-array(3) {
-  [0]=>
-  string(4) "f'oo"
-  [1]=>
-  string(4) "b'ar"
-  [2]=>
-  array(3) {
-    [0]=>
-    string(4) "fo'o"
-    [1]=>
-    string(4) "b'ar"
-    [2]=>
-    array(2) {
-      [0]=>
-      string(4) "fo'o"
-      [1]=>
-      string(4) "b'ar"
-    }
-  }
-}
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing stripslashes() : with double dimensional arrays ***
 
 -- Iteration 1 --
@@ -224,4 +130,4 @@ array(3) {
     }
   }
 }
-Done
\ No newline at end of file
+Done
index 6e7f78d332903ebed500c7a6e3c3e7834a8c0ff3..f336d3598f2934e5c4559b29bbe10732d1cd0af8 100644 (file)
@@ -30,30 +30,6 @@ Warning: stristr(): Empty delimiter in %s on line %d
 bool(false)
 bool(false)
 
-Notice: Array to string conversion in %s on line %d
-bool(false)
-string(11) "tEsT sTrInG"
-string(6) "sTrInG"
-string(6) "sTrInG"
-string(8) "T sTrInG"
-string(1) "G"
-string(32) "7272696018bdeb2c9a3f8d01fc2a9273"
-bool(false)
-bool(false)
-bool(false)
-string(32) "6ec19f52f0766c463f3bb240f4396913"
-string(7) " sTrInG"
-string(4) "tEsT"
---UEXPECTF--
-Warning: stristr() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: stristr(): Empty delimiter in %s on line %d
-bool(false)
-bool(false)
-
 Notice: Array to string conversion in %s on line %d
 bool(false)
 unicode(11) "tEsT sTrInG"
index 4a2b21caa48a35a38463419781f9ec012ebe9f68..34a1b08dc4af19c9dbc09a1d58e31ccdd3ef1489 100644 (file)
@@ -44,18 +44,3 @@ int\(0\)
 int\(-[1-9][0-9]*\)
 int\([1-9][0-9]*\)
 \*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Testing strncasecmp\(\) function: basic functionality \*\*\*
--- Testing strncasecmp\(\) with single quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncasecmp\(\) with double quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncasecmp\(\) with here-doc string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-\*\*\* Done \*\*\*
index 4d837d978ea9a77270804ecbc793df654149c78a..7b2d19e616f93e704069c5ed3f5ddfaf498f7c69 100644 (file)
@@ -50,25 +50,3 @@ NULL
 Warning: Length must be greater than or equal to 0 in %s on line %d
 bool(false)
 *** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: error conditions ***
-
--- Testing strncasecmp() function with Zero arguments --
-Warning: strncasecmp() expects exactly 3 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strncasecmp() function with less than expected number of arguments --
-Warning: strncasecmp() expects exactly 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: strncasecmp() expects exactly 3 parameters, 2 given in %s on line %d
-NULL
-
--- Testing strncasecmp() function with more than expected number of arguments --
-Warning: strncasecmp() expects exactly 3 parameters, 4 given in %s on line %d
-NULL
-
--- Testing strncasecmp() function with invalid argument --
-Warning: Length must be greater than or equal to 0 in %s on line %d
-bool(false)
-*** Done ***
index 9b30706c10dfffe1416de08e81d5e9e589d9179f..642a66a19edc408bcafa9dcf58ebf90e94b579d3 100644 (file)
@@ -23,117 +23,7 @@ for($ASCII = 97; $ASCII <= 122; $ASCII++) {
 }
 echo "*** Done ***\n";
 ?>
---EXPECTF--
-*** Test strncasecmp() function: with alphabets ***
--- Passing upper-case letters for 'str1' --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Passing lower-case letters for 'str1' --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Test strncasecmp() function: with alphabets ***
 -- Passing upper-case letters for 'str1' --
 int(0)
index 6e7d4f89c4eeb060530f3c27ad3e5f260a8506cf..c0157c9b73eb1b23d314898763799d83092b8ec2 100644 (file)
@@ -184,90 +184,3 @@ NULL
 -- Iteration 31 --
 int(-%d)
 *** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: with unexpected values for 'str1' ***
--- Iteration 1 --
-int(-%d)
--- Iteration 2 --
-int(-%d)
--- Iteration 3 --
-int(-%d)
--- Iteration 4 --
-int(-%d)
--- Iteration 5 --
-int(-%d)
--- Iteration 6 --
-int(-%d)
--- Iteration 7 --
-int(-%d)
--- Iteration 8 --
-int(-%d)
--- Iteration 9 --
-int(-%d)
--- Iteration 10 --
-int(-%d)
--- Iteration 11 --
-int(-%d)
--- Iteration 12 --
-int(-%d)
--- Iteration 13 --
-int(-%d)
--- Iteration 14 --
-int(-%d)
--- Iteration 15 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(-%d)
--- Iteration 21 --
-int(-%d)
--- Iteration 22 --
-int(-%d)
--- Iteration 23 --
-int(-%d)
--- Iteration 24 --
-int(-%d)
--- Iteration 25 --
-int(-%d)
--- Iteration 26 --
-int(-%d)
--- Iteration 27 --
-int(-%d)
--- Iteration 28 --
-int(-%d)
--- Iteration 29 --
-int(-%d)
--- Iteration 30 --
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(-%d)
-*** Done ***
index 966df2eb418842d5aa338f439c9ef709ec791996..d4991420f1eb9894ebe14f30ea2f8486e12a791a 100644 (file)
@@ -185,90 +185,3 @@ NULL
 -- Iteration 31 --
 int(%d)
 *** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: with unexpected values for 'str2' ***
--- Iteration 1 --
-int(%d)
--- Iteration 2 --
-int(%d)
--- Iteration 3 --
-int(%d)
--- Iteration 4 --
-int(%d)
--- Iteration 5 --
-int(%d)
--- Iteration 6 --
-int(%d)
--- Iteration 7 --
-int(%d)
--- Iteration 8 --
-int(%d)
--- Iteration 9 --
-int(%d)
--- Iteration 10 --
-int(%d)
--- Iteration 11 --
-int(%d)
--- Iteration 12 --
-int(%d)
--- Iteration 13 --
-int(%d)
--- Iteration 14 --
-int(%d)
--- Iteration 15 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(%d)
--- Iteration 21 --
-int(%d)
--- Iteration 22 --
-int(%d)
--- Iteration 23 --
-int(%d)
--- Iteration 24 --
-int(%d)
--- Iteration 25 --
-int(%d)
--- Iteration 26 --
-int(%d)
--- Iteration 27 --
-int(%d)
--- Iteration 28 --
-int(%d)
--- Iteration 29 --
-int(%d)
--- Iteration 30 --
-
-Warning: strncasecmp() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(%d)
-*** Done ***
index a51ca3769fd79db2541ce8d8f7ccc70752b1e21e..a6f8c1ebb8bcb64f9a3681a37c65700ad3da630d 100644 (file)
@@ -61,36 +61,3 @@ int\(-[1-9][0-9]*\)
 int\(-[1-9][0-9]*\)
 int\(0\)
 \*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncasecmp\(\) function: with double quoted strings \*\*\*
--- Iteration 1 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 2 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 3 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 4 --
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
--- Iteration 5 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
index ef2395358277346806a96def8e180d24acd4868b..f8e2704e25c7422e6e380b907fb9458cf45b743c 100644 (file)
@@ -20,24 +20,7 @@ for($len = strlen($str1); $len >= 0; $len--) {
 }
 echo "*** Done ***\n";
 ?>
---EXPECTF--    
-*** Test strncasecmp() function: with different lengths ***
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--   
+--EXPECT--
 *** Test strncasecmp() function: with different lengths ***
 int(0)
 int(0)
index ce1bd7e79c9474c101a95ada7dc8b53d558298aa..b1aa9f6a0607ce39dccb5c3606d4608e43111ac1 100644 (file)
@@ -185,90 +185,3 @@ NULL
 -- Iteration 31 --
 int(0)
 *** Done ***
---UEXPECTF--
-*** Testing strncasecmp() function: with unexpected values for 'str1' and 'str2' ***
--- 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 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(0)
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-int(0)
--- Iteration 23 --
-int(0)
--- Iteration 24 --
-int(0)
--- Iteration 25 --
-int(0)
--- Iteration 26 --
-int(0)
--- Iteration 27 --
-int(0)
--- Iteration 28 --
-int(0)
--- Iteration 29 --
-int(0)
--- Iteration 30 --
-
-Warning: strncasecmp() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(0)
-*** Done ***
index d7fa36da8d6aee7e439c3f82a21a10d7f8109074..5c51cdfd70674d84026df38827b9187154d3bce4 100644 (file)
@@ -142,75 +142,6 @@ int(0)
 int(0)
 -- Iteration 19 --
 
-Warning: strncasecmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: strncasecmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-int(0)
--- Iteration 23 --
-
-Warning: strncasecmp() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 24 --
-
-Warning: strncasecmp() expects parameter 3 to be long, object given in %s on line %d
-NULL
-*** Done ***
---UEXPECTF--
-*** Test strncasecmp() function: unexpected values for 'len' ***
--- 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 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 9 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 10 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strncasecmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 13 --
-int(0)
--- Iteration 14 --
-int(0)
--- Iteration 15 --
-int(0)
--- Iteration 16 --
-int(0)
--- Iteration 17 --
-int(0)
--- Iteration 18 --
-int(0)
--- Iteration 19 --
-
 Warning: strncasecmp() expects parameter 3 to be long, Unicode string given in %s on line %d
 NULL
 -- Iteration 20 --
index 302ab50a1b81827f6ed4eeecd5caef0a4a9b5f10..57ec2b23d8b8515a80971599e92060dab12fa682 100644 (file)
@@ -31,784 +31,7 @@ var_dump( strncasecmp($str1, $str2, 8) );  //comparing all the 8-bits; expected:
 
 echo "\n*** Done ***\n";
 ?>
---EXPECTF--
-*** Test strncasecmp() function: with binary inputs ***
-
--- Checking with all 256 characters given, in binary format --
--- Iteration 1 --
-int(0)
-int(0)
--- Iteration 2 --
-int(0)
-int(0)
--- Iteration 3 --
-int(0)
-int(0)
--- Iteration 4 --
-int(0)
-int(0)
--- Iteration 5 --
-int(0)
-int(0)
--- Iteration 6 --
-int(0)
-int(0)
--- Iteration 7 --
-int(0)
-int(0)
--- Iteration 8 --
-int(0)
-int(0)
--- Iteration 9 --
-int(0)
-int(0)
--- Iteration 10 --
-int(0)
-int(0)
--- Iteration 11 --
-int(0)
-int(0)
--- Iteration 12 --
-int(0)
-int(0)
--- Iteration 13 --
-int(0)
-int(0)
--- Iteration 14 --
-int(0)
-int(0)
--- Iteration 15 --
-int(0)
-int(0)
--- Iteration 16 --
-int(0)
-int(0)
--- Iteration 17 --
-int(0)
-int(0)
--- Iteration 18 --
-int(0)
-int(0)
--- Iteration 19 --
-int(0)
-int(0)
--- Iteration 20 --
-int(0)
-int(0)
--- Iteration 21 --
-int(0)
-int(0)
--- Iteration 22 --
-int(0)
-int(0)
--- Iteration 23 --
-int(0)
-int(0)
--- Iteration 24 --
-int(0)
-int(0)
--- Iteration 25 --
-int(0)
-int(0)
--- Iteration 26 --
-int(0)
-int(0)
--- Iteration 27 --
-int(0)
-int(0)
--- Iteration 28 --
-int(0)
-int(0)
--- Iteration 29 --
-int(0)
-int(0)
--- Iteration 30 --
-int(0)
-int(0)
--- Iteration 31 --
-int(0)
-int(0)
--- Iteration 32 --
-int(0)
-int(0)
--- Iteration 33 --
-int(0)
-int(0)
--- Iteration 34 --
-int(0)
-int(0)
--- Iteration 35 --
-int(0)
-int(0)
--- Iteration 36 --
-int(0)
-int(0)
--- Iteration 37 --
-int(0)
-int(0)
--- Iteration 38 --
-int(0)
-int(0)
--- Iteration 39 --
-int(0)
-int(0)
--- Iteration 40 --
-int(0)
-int(0)
--- Iteration 41 --
-int(0)
-int(0)
--- Iteration 42 --
-int(0)
-int(0)
--- Iteration 43 --
-int(0)
-int(0)
--- Iteration 44 --
-int(0)
-int(0)
--- Iteration 45 --
-int(0)
-int(0)
--- Iteration 46 --
-int(0)
-int(0)
--- Iteration 47 --
-int(0)
-int(0)
--- Iteration 48 --
-int(0)
-int(0)
--- Iteration 49 --
-int(0)
-int(0)
--- Iteration 50 --
-int(0)
-int(0)
--- Iteration 51 --
-int(0)
-int(0)
--- Iteration 52 --
-int(0)
-int(0)
--- Iteration 53 --
-int(0)
-int(0)
--- Iteration 54 --
-int(0)
-int(0)
--- Iteration 55 --
-int(0)
-int(0)
--- Iteration 56 --
-int(0)
-int(0)
--- Iteration 57 --
-int(0)
-int(0)
--- Iteration 58 --
-int(0)
-int(0)
--- Iteration 59 --
-int(0)
-int(0)
--- Iteration 60 --
-int(0)
-int(0)
--- Iteration 61 --
-int(0)
-int(0)
--- Iteration 62 --
-int(0)
-int(0)
--- Iteration 63 --
-int(0)
-int(0)
--- Iteration 64 --
-int(0)
-int(0)
--- Iteration 65 --
-int(0)
-int(0)
--- Iteration 66 --
-int(0)
-int(0)
--- Iteration 67 --
-int(0)
-int(0)
--- Iteration 68 --
-int(0)
-int(0)
--- Iteration 69 --
-int(0)
-int(0)
--- Iteration 70 --
-int(0)
-int(0)
--- Iteration 71 --
-int(0)
-int(0)
--- Iteration 72 --
-int(0)
-int(0)
--- Iteration 73 --
-int(0)
-int(0)
--- Iteration 74 --
-int(0)
-int(0)
--- Iteration 75 --
-int(0)
-int(0)
--- Iteration 76 --
-int(0)
-int(0)
--- Iteration 77 --
-int(0)
-int(0)
--- Iteration 78 --
-int(0)
-int(0)
--- Iteration 79 --
-int(0)
-int(0)
--- Iteration 80 --
-int(0)
-int(0)
--- Iteration 81 --
-int(0)
-int(0)
--- Iteration 82 --
-int(0)
-int(0)
--- Iteration 83 --
-int(0)
-int(0)
--- Iteration 84 --
-int(0)
-int(0)
--- Iteration 85 --
-int(0)
-int(0)
--- Iteration 86 --
-int(0)
-int(0)
--- Iteration 87 --
-int(0)
-int(0)
--- Iteration 88 --
-int(0)
-int(0)
--- Iteration 89 --
-int(0)
-int(0)
--- Iteration 90 --
-int(0)
-int(0)
--- Iteration 91 --
-int(0)
-int(0)
--- Iteration 92 --
-int(0)
-int(0)
--- Iteration 93 --
-int(0)
-int(0)
--- Iteration 94 --
-int(0)
-int(0)
--- Iteration 95 --
-int(0)
-int(0)
--- Iteration 96 --
-int(0)
-int(0)
--- Iteration 97 --
-int(0)
-int(0)
--- Iteration 98 --
-int(0)
-int(0)
--- Iteration 99 --
-int(0)
-int(0)
--- Iteration 100 --
-int(0)
-int(0)
--- Iteration 101 --
-int(0)
-int(0)
--- Iteration 102 --
-int(0)
-int(0)
--- Iteration 103 --
-int(0)
-int(0)
--- Iteration 104 --
-int(0)
-int(0)
--- Iteration 105 --
-int(0)
-int(0)
--- Iteration 106 --
-int(0)
-int(0)
--- Iteration 107 --
-int(0)
-int(0)
--- Iteration 108 --
-int(0)
-int(0)
--- Iteration 109 --
-int(0)
-int(0)
--- Iteration 110 --
-int(0)
-int(0)
--- Iteration 111 --
-int(0)
-int(0)
--- Iteration 112 --
-int(0)
-int(0)
--- Iteration 113 --
-int(0)
-int(0)
--- Iteration 114 --
-int(0)
-int(0)
--- Iteration 115 --
-int(0)
-int(0)
--- Iteration 116 --
-int(0)
-int(0)
--- Iteration 117 --
-int(0)
-int(0)
--- Iteration 118 --
-int(0)
-int(0)
--- Iteration 119 --
-int(0)
-int(0)
--- Iteration 120 --
-int(0)
-int(0)
--- Iteration 121 --
-int(0)
-int(0)
--- Iteration 122 --
-int(0)
-int(0)
--- Iteration 123 --
-int(0)
-int(0)
--- Iteration 124 --
-int(0)
-int(0)
--- Iteration 125 --
-int(0)
-int(0)
--- Iteration 126 --
-int(0)
-int(0)
--- Iteration 127 --
-int(0)
-int(0)
--- Iteration 128 --
-int(0)
-int(0)
--- Iteration 129 --
-int(0)
-int(0)
--- Iteration 130 --
-int(0)
-int(0)
--- Iteration 131 --
-int(0)
-int(0)
--- Iteration 132 --
-int(0)
-int(0)
--- Iteration 133 --
-int(0)
-int(0)
--- Iteration 134 --
-int(0)
-int(0)
--- Iteration 135 --
-int(0)
-int(0)
--- Iteration 136 --
-int(0)
-int(0)
--- Iteration 137 --
-int(0)
-int(0)
--- Iteration 138 --
-int(0)
-int(0)
--- Iteration 139 --
-int(0)
-int(0)
--- Iteration 140 --
-int(0)
-int(0)
--- Iteration 141 --
-int(0)
-int(0)
--- Iteration 142 --
-int(0)
-int(0)
--- Iteration 143 --
-int(0)
-int(0)
--- Iteration 144 --
-int(0)
-int(0)
--- Iteration 145 --
-int(0)
-int(0)
--- Iteration 146 --
-int(0)
-int(0)
--- Iteration 147 --
-int(0)
-int(0)
--- Iteration 148 --
-int(0)
-int(0)
--- Iteration 149 --
-int(0)
-int(0)
--- Iteration 150 --
-int(0)
-int(0)
--- Iteration 151 --
-int(0)
-int(0)
--- Iteration 152 --
-int(0)
-int(0)
--- Iteration 153 --
-int(0)
-int(0)
--- Iteration 154 --
-int(0)
-int(0)
--- Iteration 155 --
-int(0)
-int(0)
--- Iteration 156 --
-int(0)
-int(0)
--- Iteration 157 --
-int(0)
-int(0)
--- Iteration 158 --
-int(0)
-int(0)
--- Iteration 159 --
-int(0)
-int(0)
--- Iteration 160 --
-int(0)
-int(0)
--- Iteration 161 --
-int(0)
-int(0)
--- Iteration 162 --
-int(0)
-int(0)
--- Iteration 163 --
-int(0)
-int(0)
--- Iteration 164 --
-int(0)
-int(0)
--- Iteration 165 --
-int(0)
-int(0)
--- Iteration 166 --
-int(0)
-int(0)
--- Iteration 167 --
-int(0)
-int(0)
--- Iteration 168 --
-int(0)
-int(0)
--- Iteration 169 --
-int(0)
-int(0)
--- Iteration 170 --
-int(0)
-int(0)
--- Iteration 171 --
-int(0)
-int(0)
--- Iteration 172 --
-int(0)
-int(0)
--- Iteration 173 --
-int(0)
-int(0)
--- Iteration 174 --
-int(0)
-int(0)
--- Iteration 175 --
-int(0)
-int(0)
--- Iteration 176 --
-int(0)
-int(0)
--- Iteration 177 --
-int(0)
-int(0)
--- Iteration 178 --
-int(0)
-int(0)
--- Iteration 179 --
-int(0)
-int(0)
--- Iteration 180 --
-int(0)
-int(0)
--- Iteration 181 --
-int(0)
-int(0)
--- Iteration 182 --
-int(0)
-int(0)
--- Iteration 183 --
-int(0)
-int(0)
--- Iteration 184 --
-int(0)
-int(0)
--- Iteration 185 --
-int(0)
-int(0)
--- Iteration 186 --
-int(0)
-int(0)
--- Iteration 187 --
-int(0)
-int(0)
--- Iteration 188 --
-int(0)
-int(0)
--- Iteration 189 --
-int(0)
-int(0)
--- Iteration 190 --
-int(0)
-int(0)
--- Iteration 191 --
-int(0)
-int(0)
--- Iteration 192 --
-int(0)
-int(0)
--- Iteration 193 --
-int(0)
-int(0)
--- Iteration 194 --
-int(0)
-int(0)
--- Iteration 195 --
-int(0)
-int(0)
--- Iteration 196 --
-int(0)
-int(0)
--- Iteration 197 --
-int(0)
-int(0)
--- Iteration 198 --
-int(0)
-int(0)
--- Iteration 199 --
-int(0)
-int(0)
--- Iteration 200 --
-int(0)
-int(0)
--- Iteration 201 --
-int(0)
-int(0)
--- Iteration 202 --
-int(0)
-int(0)
--- Iteration 203 --
-int(0)
-int(0)
--- Iteration 204 --
-int(0)
-int(0)
--- Iteration 205 --
-int(0)
-int(0)
--- Iteration 206 --
-int(0)
-int(0)
--- Iteration 207 --
-int(0)
-int(0)
--- Iteration 208 --
-int(0)
-int(0)
--- Iteration 209 --
-int(0)
-int(0)
--- Iteration 210 --
-int(0)
-int(0)
--- Iteration 211 --
-int(0)
-int(0)
--- Iteration 212 --
-int(0)
-int(0)
--- Iteration 213 --
-int(0)
-int(0)
--- Iteration 214 --
-int(0)
-int(0)
--- Iteration 215 --
-int(0)
-int(0)
--- Iteration 216 --
-int(0)
-int(0)
--- Iteration 217 --
-int(0)
-int(0)
--- Iteration 218 --
-int(0)
-int(0)
--- Iteration 219 --
-int(0)
-int(0)
--- Iteration 220 --
-int(0)
-int(0)
--- Iteration 221 --
-int(0)
-int(0)
--- Iteration 222 --
-int(0)
-int(0)
--- Iteration 223 --
-int(0)
-int(0)
--- Iteration 224 --
-int(0)
-int(0)
--- Iteration 225 --
-int(0)
-int(0)
--- Iteration 226 --
-int(0)
-int(0)
--- Iteration 227 --
-int(0)
-int(0)
--- Iteration 228 --
-int(0)
-int(0)
--- Iteration 229 --
-int(0)
-int(0)
--- Iteration 230 --
-int(0)
-int(0)
--- Iteration 231 --
-int(0)
-int(0)
--- Iteration 232 --
-int(0)
-int(0)
--- Iteration 233 --
-int(0)
-int(0)
--- Iteration 234 --
-int(0)
-int(0)
--- Iteration 235 --
-int(0)
-int(0)
--- Iteration 236 --
-int(0)
-int(0)
--- Iteration 237 --
-int(0)
-int(0)
--- Iteration 238 --
-int(0)
-int(0)
--- Iteration 239 --
-int(0)
-int(0)
--- Iteration 240 --
-int(0)
-int(0)
--- Iteration 241 --
-int(0)
-int(0)
--- Iteration 242 --
-int(0)
-int(0)
--- Iteration 243 --
-int(0)
-int(0)
--- Iteration 244 --
-int(0)
-int(0)
--- Iteration 245 --
-int(0)
-int(0)
--- Iteration 246 --
-int(0)
-int(0)
--- Iteration 247 --
-int(0)
-int(0)
--- Iteration 248 --
-int(0)
-int(0)
--- Iteration 249 --
-int(0)
-int(0)
--- Iteration 250 --
-int(0)
-int(0)
--- Iteration 251 --
-int(0)
-int(0)
--- Iteration 252 --
-int(0)
-int(0)
--- Iteration 253 --
-int(0)
-int(0)
--- Iteration 254 --
-int(0)
-int(0)
--- Iteration 255 --
-int(0)
-int(0)
--- Iteration 256 --
-int(0)
-int(0)
-
--- Checking with out of character's range, given in binary format --
-int(1)
-
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Test strncasecmp() function: with binary inputs ***
 
 -- Checking with all 256 characters given, in binary format --
index 4b009a5aa2f1e4f3554c4ee6c9715289f7814e05..6622b907f6204927a3cec014f35ecc3577986af8 100644 (file)
@@ -22,13 +22,7 @@ var_dump( strncasecmp($str4, "Hello,world", 12) );
 
 echo "*** Done ***\n";
 ?>
---EXPECTF--
-*** Test strncasecmp() function: with null terminated strings and binary inputs ***
-int(5)
-int(0)
-int(-119)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Test strncasecmp() function: with null terminated strings and binary inputs ***
 int(1)
 int(0)
index 898f0f1ae9026d4d94dbbe0515737e405ec0e649..6011a7b0fd996a6320ca677b08b48f9ac4fc8dc6 100644 (file)
@@ -50,26 +50,3 @@ int\([1-9][0-9]*\)
 int\([1-9][0-9]*\)
 int\(0\)
 \*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncasecmp\(\) function: with single quoted strings \*\*\*
--- Iteration 1 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 2 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 3 --
-int\(0\)
-int\(0\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 4 --
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
index 904dac2c627e861f8bf592d1bb6dfbb22c611fac..b00a43dd158911548c192ddf427d05689f4d11ed 100644 (file)
@@ -73,24 +73,7 @@ for($index1 = 0; $index1 < count($strings); $index1++) {
 }
 echo "*** Done ***\n";
 ?>
---EXPECTF--
-*** Test strncasecmp() function: with here-doc strings ***
-int(0)
-int(63)
-int(0)
-int(84)
-int(0)
-int(-1)
-int(0)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Test strncasecmp() function: with here-doc strings ***
 int(0)
 int(1)
index 62f5a050be5e642611d1e8b6a63e3520c94418d7..317039859f6db3342aded7f868325034d537af60 100644 (file)
@@ -44,18 +44,3 @@ int\(0\)
 int\(-[1-9][0-9]*\)
 int\([1-9][0-9]*\)
 \*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Testing strncmp\(\) function: basic functionality \*\*\*
--- Testing strncmp\(\) with single quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncmp\(\) with double quoted string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Testing strncmp\(\) with here-doc string --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-\*\*\* Done \*\*\*
index 53e59e7400f34d63dd9bb9d5a825f1300989b1d2..8e4d2805eb69091491c43ae1d69e6153632396aa 100644 (file)
@@ -43,21 +43,3 @@ NULL
 Warning: Length must be greater than or equal to 0 in %s on line %d
 bool(false)
 *** Done ***
---UEXPECTF--
-*** Testing strncmp() function: error conditions ***
-
-Warning: strncmp() expects exactly 3 parameters, 0 given in %s on line %d
-NULL
-
-Warning: strncmp() expects exactly 3 parameters, 1 given in %s on line %d
-NULL
-
-Warning: strncmp() expects exactly 3 parameters, 2 given in %s on line %d
-NULL
-
-Warning: strncmp() expects exactly 3 parameters, 4 given in %s on line %d
-NULL
-
-Warning: Length must be greater than or equal to 0 in %s on line %d
-bool(false)
-*** Done ***
index 8927acb705f98a7c3dbdbdd6e3b22315a3619d4b..7e488fb1ba3171b777682bffa3572187dadfd3ae 100644 (file)
@@ -133,113 +133,3 @@ int\([1-9][0-9]*\)
 int\(0\)
 int\([1-9][0-9]*\)
 \*\*\* Done \*\*\*
---UEXPECTREGEX--       
-\*\*\* Test strncmp\(\) function: with alphabets \*\*\*
--- Passing upper-case letters for 'str1' --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-
--- Passing lower-case letters for 'str1' --
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-\*\*\* Done \*\*\*
index 601924db1b5acd9714a21b4e683d046e4d0b361d..9a2f3833ceca2b274b352c71d031a9f82e4f5431 100644 (file)
@@ -61,36 +61,3 @@ int\([1-9][0-9]*\)
 int\(-[1-9][0-9]*\)
 int\(0\)
 \*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncmp\(\) function: with double quoted strings \*\*\*
--- Iteration [1-9][0-9]* --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 2 --
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 3 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
--- Iteration 4 --
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
--- Iteration 5 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
index beec322f5a8956bff86aef78f305b7d8e6084d5d..c21f666135dbf722b836145330151cd582432bb9 100644 (file)
@@ -37,20 +37,3 @@ int\(0\)
 int\(0\)
 int\(0\)
 \*\*\* Done \*\*\*
---UEXPECTREGEX--       
-\*\*\* Test strncmp\(\) function: with different lengths \*\*\*
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-int\(0\)
-\*\*\* Done \*\*\*
index ae27fe2410c1fc01603e05fa71946b0ad98a9636..3af2a9ebdd86520964acaa9ad28bb0b9597bf136 100644 (file)
@@ -188,94 +188,3 @@ NULL
 -- Iteration 31 --
 int(0)
 *** Done ***
---UEXPECTF--
-*** Testing strncmp() function: by supplying all types for 'str1' and 'str2' ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
--- 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 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 16 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Notice: Array to string conversion in %s on line %d
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-int(0)
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-int(0)
--- Iteration 23 --
-int(0)
--- Iteration 24 --
-int(0)
--- Iteration 25 --
-int(0)
--- Iteration 26 --
-int(0)
--- Iteration 27 --
-int(0)
--- Iteration 28 --
-int(0)
--- Iteration 29 --
-int(0)
--- Iteration 30 --
-
-Warning: strncmp() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
--- Iteration 31 --
-int(0)
-*** Done ***
index b50dd9ba2b6055d22522d86881087f51d5c338b1..684cc654707c7e6ecb47a17d576caf12a2d3968e 100644 (file)
@@ -156,85 +156,6 @@ int(0)
 int(0)
 -- Iteration 22 --
 
-Warning: strncmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 23 --
-
-Warning: strncmp() expects parameter 3 to be long, string given in %s on line %d
-NULL
--- Iteration 24 --
-int(0)
--- Iteration 25 --
-int(0)
--- Iteration 26 --
-
-Warning: strncmp() expects parameter 3 to be long, resource given in %s on line %d
-NULL
--- Iteration 27 --
-
-Warning: strncmp() expects parameter 3 to be long, object given in %s on line %d
-NULL
-*** Done ***
---UEXPECTF--
-*** Test strncmp() function: by supplying all types for 'len' ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
--- 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 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 15 --
-
-Warning: strncmp() expects parameter 3 to be long, array given in %s on line %d
-NULL
--- Iteration 16 --
-int(0)
--- Iteration 17 --
-int(0)
--- Iteration 18 --
-int(0)
--- Iteration 19 --
-int(0)
--- Iteration 20 --
-int(0)
--- Iteration 21 --
-int(0)
--- Iteration 22 --
-
 Warning: strncmp() expects parameter 3 to be long, Unicode string given in %s on line %d
 NULL
 -- Iteration 23 --
index 834b7903db333b44b3676b1ad7c609457e4c16dd..a7719b63af40272f98b44c37a35b9d8a68289521 100644 (file)
@@ -809,780 +809,3 @@ int(0)
 int(1)
 
 *** Done ***
---UEXPECTF--
-*** Test strncmp() function: with binary inputs ***
-
--- Checking with all 256 characters given, in binary format --
--- Iteration 1 --
-int(0)
-int(0)
--- Iteration 2 --
-int(0)
-int(0)
--- Iteration 3 --
-int(0)
-int(0)
--- Iteration 4 --
-int(0)
-int(0)
--- Iteration 5 --
-int(0)
-int(0)
--- Iteration 6 --
-int(0)
-int(0)
--- Iteration 7 --
-int(0)
-int(0)
--- Iteration 8 --
-int(0)
-int(0)
--- Iteration 9 --
-int(0)
-int(0)
--- Iteration 10 --
-int(0)
-int(0)
--- Iteration 11 --
-int(0)
-int(0)
--- Iteration 12 --
-int(0)
-int(0)
--- Iteration 13 --
-int(0)
-int(0)
--- Iteration 14 --
-int(0)
-int(0)
--- Iteration 15 --
-int(0)
-int(0)
--- Iteration 16 --
-int(0)
-int(0)
--- Iteration 17 --
-int(0)
-int(0)
--- Iteration 18 --
-int(0)
-int(0)
--- Iteration 19 --
-int(0)
-int(0)
--- Iteration 20 --
-int(0)
-int(0)
--- Iteration 21 --
-int(0)
-int(0)
--- Iteration 22 --
-int(0)
-int(0)
--- Iteration 23 --
-int(0)
-int(0)
--- Iteration 24 --
-int(0)
-int(0)
--- Iteration 25 --
-int(0)
-int(0)
--- Iteration 26 --
-int(0)
-int(0)
--- Iteration 27 --
-int(0)
-int(0)
--- Iteration 28 --
-int(0)
-int(0)
--- Iteration 29 --
-int(0)
-int(0)
--- Iteration 30 --
-int(0)
-int(0)
--- Iteration 31 --
-int(0)
-int(0)
--- Iteration 32 --
-int(0)
-int(0)
--- Iteration 33 --
-int(0)
-int(0)
--- Iteration 34 --
-int(0)
-int(0)
--- Iteration 35 --
-int(0)
-int(0)
--- Iteration 36 --
-int(0)
-int(0)
--- Iteration 37 --
-int(0)
-int(0)
--- Iteration 38 --
-int(0)
-int(0)
--- Iteration 39 --
-int(0)
-int(0)
--- Iteration 40 --
-int(0)
-int(0)
--- Iteration 41 --
-int(0)
-int(0)
--- Iteration 42 --
-int(0)
-int(0)
--- Iteration 43 --
-int(0)
-int(0)
--- Iteration 44 --
-int(0)
-int(0)
--- Iteration 45 --
-int(0)
-int(0)
--- Iteration 46 --
-int(0)
-int(0)
--- Iteration 47 --
-int(0)
-int(0)
--- Iteration 48 --
-int(0)
-int(0)
--- Iteration 49 --
-int(0)
-int(0)
--- Iteration 50 --
-int(0)
-int(0)
--- Iteration 51 --
-int(0)
-int(0)
--- Iteration 52 --
-int(0)
-int(0)
--- Iteration 53 --
-int(0)
-int(0)
--- Iteration 54 --
-int(0)
-int(0)
--- Iteration 55 --
-int(0)
-int(0)
--- Iteration 56 --
-int(0)
-int(0)
--- Iteration 57 --
-int(0)
-int(0)
--- Iteration 58 --
-int(0)
-int(0)
--- Iteration 59 --
-int(0)
-int(0)
--- Iteration 60 --
-int(0)
-int(0)
--- Iteration 61 --
-int(0)
-int(0)
--- Iteration 62 --
-int(0)
-int(0)
--- Iteration 63 --
-int(0)
-int(0)
--- Iteration 64 --
-int(0)
-int(0)
--- Iteration 65 --
-int(0)
-int(0)
--- Iteration 66 --
-int(0)
-int(0)
--- Iteration 67 --
-int(0)
-int(0)
--- Iteration 68 --
-int(0)
-int(0)
--- Iteration 69 --
-int(0)
-int(0)
--- Iteration 70 --
-int(0)
-int(0)
--- Iteration 71 --
-int(0)
-int(0)
--- Iteration 72 --
-int(0)
-int(0)
--- Iteration 73 --
-int(0)
-int(0)
--- Iteration 74 --
-int(0)
-int(0)
--- Iteration 75 --
-int(0)
-int(0)
--- Iteration 76 --
-int(0)
-int(0)
--- Iteration 77 --
-int(0)
-int(0)
--- Iteration 78 --
-int(0)
-int(0)
--- Iteration 79 --
-int(0)
-int(0)
--- Iteration 80 --
-int(0)
-int(0)
--- Iteration 81 --
-int(0)
-int(0)
--- Iteration 82 --
-int(0)
-int(0)
--- Iteration 83 --
-int(0)
-int(0)
--- Iteration 84 --
-int(0)
-int(0)
--- Iteration 85 --
-int(0)
-int(0)
--- Iteration 86 --
-int(0)
-int(0)
--- Iteration 87 --
-int(0)
-int(0)
--- Iteration 88 --
-int(0)
-int(0)
--- Iteration 89 --
-int(0)
-int(0)
--- Iteration 90 --
-int(0)
-int(0)
--- Iteration 91 --
-int(0)
-int(0)
--- Iteration 92 --
-int(0)
-int(0)
--- Iteration 93 --
-int(0)
-int(0)
--- Iteration 94 --
-int(0)
-int(0)
--- Iteration 95 --
-int(0)
-int(0)
--- Iteration 96 --
-int(0)
-int(0)
--- Iteration 97 --
-int(0)
-int(0)
--- Iteration 98 --
-int(0)
-int(0)
--- Iteration 99 --
-int(0)
-int(0)
--- Iteration 100 --
-int(0)
-int(0)
--- Iteration 101 --
-int(0)
-int(0)
--- Iteration 102 --
-int(0)
-int(0)
--- Iteration 103 --
-int(0)
-int(0)
--- Iteration 104 --
-int(0)
-int(0)
--- Iteration 105 --
-int(0)
-int(0)
--- Iteration 106 --
-int(0)
-int(0)
--- Iteration 107 --
-int(0)
-int(0)
--- Iteration 108 --
-int(0)
-int(0)
--- Iteration 109 --
-int(0)
-int(0)
--- Iteration 110 --
-int(0)
-int(0)
--- Iteration 111 --
-int(0)
-int(0)
--- Iteration 112 --
-int(0)
-int(0)
--- Iteration 113 --
-int(0)
-int(0)
--- Iteration 114 --
-int(0)
-int(0)
--- Iteration 115 --
-int(0)
-int(0)
--- Iteration 116 --
-int(0)
-int(0)
--- Iteration 117 --
-int(0)
-int(0)
--- Iteration 118 --
-int(0)
-int(0)
--- Iteration 119 --
-int(0)
-int(0)
--- Iteration 120 --
-int(0)
-int(0)
--- Iteration 121 --
-int(0)
-int(0)
--- Iteration 122 --
-int(0)
-int(0)
--- Iteration 123 --
-int(0)
-int(0)
--- Iteration 124 --
-int(0)
-int(0)
--- Iteration 125 --
-int(0)
-int(0)
--- Iteration 126 --
-int(0)
-int(0)
--- Iteration 127 --
-int(0)
-int(0)
--- Iteration 128 --
-int(0)
-int(0)
--- Iteration 129 --
-int(0)
-int(0)
--- Iteration 130 --
-int(0)
-int(0)
--- Iteration 131 --
-int(0)
-int(0)
--- Iteration 132 --
-int(0)
-int(0)
--- Iteration 133 --
-int(0)
-int(0)
--- Iteration 134 --
-int(0)
-int(0)
--- Iteration 135 --
-int(0)
-int(0)
--- Iteration 136 --
-int(0)
-int(0)
--- Iteration 137 --
-int(0)
-int(0)
--- Iteration 138 --
-int(0)
-int(0)
--- Iteration 139 --
-int(0)
-int(0)
--- Iteration 140 --
-int(0)
-int(0)
--- Iteration 141 --
-int(0)
-int(0)
--- Iteration 142 --
-int(0)
-int(0)
--- Iteration 143 --
-int(0)
-int(0)
--- Iteration 144 --
-int(0)
-int(0)
--- Iteration 145 --
-int(0)
-int(0)
--- Iteration 146 --
-int(0)
-int(0)
--- Iteration 147 --
-int(0)
-int(0)
--- Iteration 148 --
-int(0)
-int(0)
--- Iteration 149 --
-int(0)
-int(0)
--- Iteration 150 --
-int(0)
-int(0)
--- Iteration 151 --
-int(0)
-int(0)
--- Iteration 152 --
-int(0)
-int(0)
--- Iteration 153 --
-int(0)
-int(0)
--- Iteration 154 --
-int(0)
-int(0)
--- Iteration 155 --
-int(0)
-int(0)
--- Iteration 156 --
-int(0)
-int(0)
--- Iteration 157 --
-int(0)
-int(0)
--- Iteration 158 --
-int(0)
-int(0)
--- Iteration 159 --
-int(0)
-int(0)
--- Iteration 160 --
-int(0)
-int(0)
--- Iteration 161 --
-int(0)
-int(0)
--- Iteration 162 --
-int(0)
-int(0)
--- Iteration 163 --
-int(0)
-int(0)
--- Iteration 164 --
-int(0)
-int(0)
--- Iteration 165 --
-int(0)
-int(0)
--- Iteration 166 --
-int(0)
-int(0)
--- Iteration 167 --
-int(0)
-int(0)
--- Iteration 168 --
-int(0)
-int(0)
--- Iteration 169 --
-int(0)
-int(0)
--- Iteration 170 --
-int(0)
-int(0)
--- Iteration 171 --
-int(0)
-int(0)
--- Iteration 172 --
-int(0)
-int(0)
--- Iteration 173 --
-int(0)
-int(0)
--- Iteration 174 --
-int(0)
-int(0)
--- Iteration 175 --
-int(0)
-int(0)
--- Iteration 176 --
-int(0)
-int(0)
--- Iteration 177 --
-int(0)
-int(0)
--- Iteration 178 --
-int(0)
-int(0)
--- Iteration 179 --
-int(0)
-int(0)
--- Iteration 180 --
-int(0)
-int(0)
--- Iteration 181 --
-int(0)
-int(0)
--- Iteration 182 --
-int(0)
-int(0)
--- Iteration 183 --
-int(0)
-int(0)
--- Iteration 184 --
-int(0)
-int(0)
--- Iteration 185 --
-int(0)
-int(0)
--- Iteration 186 --
-int(0)
-int(0)
--- Iteration 187 --
-int(0)
-int(0)
--- Iteration 188 --
-int(0)
-int(0)
--- Iteration 189 --
-int(0)
-int(0)
--- Iteration 190 --
-int(0)
-int(0)
--- Iteration 191 --
-int(0)
-int(0)
--- Iteration 192 --
-int(0)
-int(0)
--- Iteration 193 --
-int(0)
-int(0)
--- Iteration 194 --
-int(0)
-int(0)
--- Iteration 195 --
-int(0)
-int(0)
--- Iteration 196 --
-int(0)
-int(0)
--- Iteration 197 --
-int(0)
-int(0)
--- Iteration 198 --
-int(0)
-int(0)
--- Iteration 199 --
-int(0)
-int(0)
--- Iteration 200 --
-int(0)
-int(0)
--- Iteration 201 --
-int(0)
-int(0)
--- Iteration 202 --
-int(0)
-int(0)
--- Iteration 203 --
-int(0)
-int(0)
--- Iteration 204 --
-int(0)
-int(0)
--- Iteration 205 --
-int(0)
-int(0)
--- Iteration 206 --
-int(0)
-int(0)
--- Iteration 207 --
-int(0)
-int(0)
--- Iteration 208 --
-int(0)
-int(0)
--- Iteration 209 --
-int(0)
-int(0)
--- Iteration 210 --
-int(0)
-int(0)
--- Iteration 211 --
-int(0)
-int(0)
--- Iteration 212 --
-int(0)
-int(0)
--- Iteration 213 --
-int(0)
-int(0)
--- Iteration 214 --
-int(0)
-int(0)
--- Iteration 215 --
-int(0)
-int(0)
--- Iteration 216 --
-int(0)
-int(0)
--- Iteration 217 --
-int(0)
-int(0)
--- Iteration 218 --
-int(0)
-int(0)
--- Iteration 219 --
-int(0)
-int(0)
--- Iteration 220 --
-int(0)
-int(0)
--- Iteration 221 --
-int(0)
-int(0)
--- Iteration 222 --
-int(0)
-int(0)
--- Iteration 223 --
-int(0)
-int(0)
--- Iteration 224 --
-int(0)
-int(0)
--- Iteration 225 --
-int(0)
-int(0)
--- Iteration 226 --
-int(0)
-int(0)
--- Iteration 227 --
-int(0)
-int(0)
--- Iteration 228 --
-int(0)
-int(0)
--- Iteration 229 --
-int(0)
-int(0)
--- Iteration 230 --
-int(0)
-int(0)
--- Iteration 231 --
-int(0)
-int(0)
--- Iteration 232 --
-int(0)
-int(0)
--- Iteration 233 --
-int(0)
-int(0)
--- Iteration 234 --
-int(0)
-int(0)
--- Iteration 235 --
-int(0)
-int(0)
--- Iteration 236 --
-int(0)
-int(0)
--- Iteration 237 --
-int(0)
-int(0)
--- Iteration 238 --
-int(0)
-int(0)
--- Iteration 239 --
-int(0)
-int(0)
--- Iteration 240 --
-int(0)
-int(0)
--- Iteration 241 --
-int(0)
-int(0)
--- Iteration 242 --
-int(0)
-int(0)
--- Iteration 243 --
-int(0)
-int(0)
--- Iteration 244 --
-int(0)
-int(0)
--- Iteration 245 --
-int(0)
-int(0)
--- Iteration 246 --
-int(0)
-int(0)
--- Iteration 247 --
-int(0)
-int(0)
--- Iteration 248 --
-int(0)
-int(0)
--- Iteration 249 --
-int(0)
-int(0)
--- Iteration 250 --
-int(0)
-int(0)
--- Iteration 251 --
-int(0)
-int(0)
--- Iteration 252 --
-int(0)
-int(0)
--- Iteration 253 --
-int(0)
-int(0)
--- Iteration 254 --
-int(0)
-int(0)
--- Iteration 255 --
-int(0)
-int(0)
--- Iteration 256 --
-int(0)
-int(0)
-
--- Checking with out of character's range, given in binary format --
-int(1)
-
-*** Done ***
index c962cbb6d3ad8d3d56a5f0ed5347e870898b574c..1948a1e842b0da763a5448979da76b9fe772d2bf 100644 (file)
@@ -20,9 +20,5 @@ echo "*** Done ***\n";
 ?>
 --EXPECTF--
 *** Test strncmp() function: Checking with the null terminated strings ***
-int(5)
-*** Done ***
---UEXPECTF--
-*** Test strncmp() function: Checking with the null terminated strings ***
 int(1)
 *** Done ***
index 3159ee09132d4f69bce0869edbae13d668dbecdc..569307726ec4cfedc1bba87ec727258e7f117b2c 100644 (file)
@@ -45,29 +45,6 @@ int\(-[1-9][0-9]*\)
 int\(0\)
 int\(-[1-9][0-9]*\)
 -- Iteration 4 --
-int\(2\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(0\)
-\*\*\* Done \*\*\*
---UEXPECTREGEX--
-\*\*\* Test strncmp\(\) function: with different input strings \*\*\*
--- Iteration [1-9][0-9]* --
-int\(0\)
-int\(-[1-9][0-9]*\)
-int\([1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
--- Iteration 2 --
-int\([1-9][0-9]*\)
-int\(0\)
-int\([1-9][0-9]*\)
-int\([1-9][0-9]*\)
--- Iteration 3 --
-int\(-[1-9][0-9]*\)
-int\(-[1-9][0-9]*\)
-int\(0\)
-int\(-[1-9][0-9]*\)
--- Iteration 4 --
 int\([1-9][0-9]*\)
 int\(-[1-9][0-9]*\)
 int\([1-9][0-9]*\)
index fddc67271cb472b5788738a9722b2462f4b676f6..1c83e80f094fd1f7b442eaf633f1ff81ce5571de 100644 (file)
@@ -52,14 +52,7 @@ for($index1 = 0; $index1 < count($strings); $index1++) {
 }
 echo "*** Done ***\n";
 ?>
---EXPECTF--
-*** Test strncmp() function: with different input strings ***
-int(0)
-int(0)
-int(0)
-int(0)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Test strncmp() function: with different input strings ***
 int(0)
 int(0)
index 2ae50582a820a004cdf4a225c03674851b60c3c1..6d681f800d4c807773fe3f2b1a35eda66850a8e2 100644 (file)
Binary files a/ext/standard/tests/strings/strpos.phpt and b/ext/standard/tests/strings/strpos.phpt differ
index 2909eeab7d4bc7870a74c0b9484b472b5d96f36a..94eaae7a58863f0770ce5db2bb16ea6738005057 100644 (file)
@@ -12,15 +12,7 @@ var_dump(strrchr("test".chr(0)."string", "t"));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-bool(false)
-bool(false)
-bool(false)
-string(3) "abc"
-string(5) " test"
-string(5) "tring"
-Done
---UEXPECTF--
+--EXPECT--
 bool(false)
 bool(false)
 bool(false)
index 58321ac7c57820a35b86cd9cba27071882176039..0d8836c5010a61d46d72f0df2bb64ca5a009ebce 100644 (file)
@@ -37,25 +37,7 @@ var_dump( strrchr("Hello, World", "ooo") );
 var_dump( strrchr("Hello, World", "Zzzz") ); //non-existant needle in haystack
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: basic functionality ***
-string(12) "Hello, World"
-string(12) "Hello, World"
-string(12) "Hello, World"
-string(12) "Hello, World"
-bool(false)
-bool(false)
-string(5) "World"
-string(5) "World"
-string(7) ", World"
-string(7) ", World"
-string(12) "Hello, World"
-string(12) "Hello, World"
-string(4) "orld"
-string(4) "orld"
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: basic functionality ***
 unicode(12) "Hello, World"
 unicode(12) "Hello, World"
index 4f1e20b4619f976b045d54c89b0068aa88dbda76..aa0adf4b85d3cd25f0be090b49c5f3499f6361bd 100644 (file)
@@ -38,18 +38,3 @@ NULL
 Warning: strrchr() expects exactly 2 parameters, 3 given in %s on line %d
 NULL
 *** Done ***
---UEXPECTF--
-*** Testing strrchr() function: error conditions ***
-
--- Testing strrchr() function with Zero arguments --
-Warning: strrchr() expects exactly 2 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strrchr() function with less than expected no. of arguments --
-Warning: strrchr() expects exactly 2 parameters, 1 given in %s on line %d
-NULL
-
--- Testing strrchr() function with more than expected no. of arguments --
-Warning: strrchr() expects exactly 2 parameters, 3 given in %s on line %d
-NULL
-*** Done ***
index 0bc2fce0a7a3f4df98c4fc191690316adc344d7a..ecd21175851d65e1fb2f90abf88158a5eaf38b97 100644 (file)
Binary files a/ext/standard/tests/strings/strrchr_variation1.phpt and b/ext/standard/tests/strings/strrchr_variation1.phpt differ
index 0044f3b8cddc0fba712d9c445887c912c77e98e6..fd6494503b9fd475ba4c2648da8645919562b84e 100644 (file)
@@ -138,63 +138,6 @@ 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 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-%s
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrchr() function with unexpected inputs for needle ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-bool(false)
--- Iteration 4 --
 
 Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
 bool(false)
index 91047b01f0ba283ec0815a89cefdecbca0e7e035..05e8d2f7a39e74d9178389d2894ac54d9ccc01b8 100644 (file)
@@ -97,73 +97,6 @@ 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 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-%s
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrchr() function: with unexpected inputs for haystack and needle ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-bool(false)
--- Iteration 4 --
 
 Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
 bool(false)
index a84658ce30c69e8bafc2534457d7cc46501dbe84..898e3fe4d192a014ca27a6f991a83844bf23ea41 100644 (file)
Binary files a/ext/standard/tests/strings/strrchr_variation12.phpt and b/ext/standard/tests/strings/strrchr_variation12.phpt differ
index 2b558659e13e6df01790fd872cc239f092ade56d..b30b0800b1ec89abace784275743e7af2eeb09aa 100644 (file)
@@ -81,144 +81,7 @@ for($index=0; $index<count($needle); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: with various single quoted strings ***
--- Iteration 1 --
-string(22) "lo123456he \x234 \101 "
-
--- Iteration 2 --
-bool(false)
-
--- Iteration 3 --
-string(63) "Hello,\t\n\0\n  $&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 4 --
-string(14) "he \x234 \101 "
-
--- Iteration 5 --
-string(5) "\101 "
-
--- Iteration 6 --
-string(5) "\101 "
-
--- Iteration 7 --
-string(1) " "
-
--- Iteration 8 --
-string(5) "\101 "
-
--- Iteration 9 --
-string(5) "\101 "
-
--- Iteration 10 --
-bool(false)
-
--- Iteration 11 --
-string(5) "\101 "
-
--- Iteration 12 --
-bool(false)
-
--- Iteration 13 --
-bool(false)
-
--- Iteration 14 --
-bool(false)
-
--- Iteration 15 --
-bool(false)
-
--- Iteration 16 --
-bool(false)
-
--- Iteration 17 --
-string(1) " "
-
--- Iteration 18 --
-string(47) "$&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 19 --
-string(1) " "
-
--- Iteration 20 --
-string(46) "&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 21 --
-string(45) "!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 22 --
-string(43) "%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 23 --
-string(5) "\101 "
-
--- Iteration 24 --
-string(39) "()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 25 --
-string(37) "*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 26 --
-string(36) "+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 27 --
-string(35) "-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 28 --
-string(34) "./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 29 --
-string(34) "./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 30 --
-string(32) ":;<=>?@hello123456he \x234 \101 "
-
--- Iteration 31 --
-string(31) ";<=>?@hello123456he \x234 \101 "
-
--- Iteration 32 --
-string(30) "<=>?@hello123456he \x234 \101 "
-
--- Iteration 33 --
-string(28) ">?@hello123456he \x234 \101 "
-
--- Iteration 34 --
-string(29) "=>?@hello123456he \x234 \101 "
-
--- Iteration 35 --
-string(27) "?@hello123456he \x234 \101 "
-
--- Iteration 36 --
-string(26) "@hello123456he \x234 \101 "
-
--- Iteration 37 --
-string(26) "@hello123456he \x234 \101 "
-
--- Iteration 38 --
-string(2) "1 "
-
--- Iteration 39 --
-string(5) "\101 "
-
--- Iteration 40 --
-string(44) "#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 41 --
-string(5) "\101 "
-
--- Iteration 42 --
-bool(false)
-
--- Iteration 43 --
-string(7) "4 \101 "
-
--- Iteration 44 --
-string(37) "*+-./:;<=>?@hello123456he \x234 \101 "
-
--- Iteration 45 --
-string(63) "Hello,\t\n\0\n  $&!#%\o,()*+-./:;<=>?@hello123456he \x234 \101 "
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: with various single quoted strings ***
 -- Iteration 1 --
 unicode(22) "lo123456he \x234 \101 "
index 59e7345e7b19899d485339a9f34877ca2f15d7ed..e183957047e00c8666029f356947577d7bf6407d 100644 (file)
@@ -32,16 +32,7 @@ foreach($needles as $needle) {
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(19) "ing heredoc syntax."
-bool(false)
-string(8) " syntax."
-string(63) "Example of string
-spanning multiple lines
-using heredoc syntax."
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: with heredoc strings ***
 unicode(19) "ing heredoc syntax."
 bool(false)
index e75105ea575e0d8c83cd19cd64be7475d75f41d0..75d06976262d168bbd655c75a8ccf5daa8a4df5e 100644 (file)
@@ -38,25 +38,7 @@ foreach($needles as $needle) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(24) "!$#$^^&*(special)
-chars."
-string(31) "_")!#@@!$#$^^&*(special)
-chars."
-string(16) "(special)
-chars."
-string(21) "$^^&*(special)
-chars."
-string(16) "(special)
-chars."
-string(19) "^&*(special)
-chars."
-string(76) "Example of heredoc string contains
-$#%^*&*_("_")!#@@!$#$^^&*(special)
-chars."
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: with heredoc strings ***
 unicode(24) "!$#$^^&*(special)
 chars."
index 1cf8ec766954d92e005d4c5693a6e11d74a70b81..bc2f0f3e877a32eb182487099b8354069812e526 100644 (file)
@@ -37,32 +37,7 @@ foreach($needles as $needle) {
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(33) "    st
-
-ch
- using
-\escape \seque
-ce"
-string(9) "\seque
-ce"
-string(25) "
- using
-\escape \seque
-ce"
-string(9) "\seque
-ce"
-string(3) "
-ce"
-string(33) "    st
-
-ch
- using
-\escape \seque
-ce"
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: with heredoc strings ***
 unicode(33) "   st
 
index 34b411a2ae27b5410f08a4539090e9fec5a2d0c8..baa8a13e28a5471d1f3378ad531667598351718d 100644 (file)
@@ -37,19 +37,7 @@ foreach($needles as $needle) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-string(3) "te'"
-string(32) ""
-'things' 'in' 'single' 'quote'"
-bool(false)
-string(14) "ingle' 'quote'"
-string(6) "quote'"
-string(6) "quote'"
-string(32) ""
-'things' 'in' 'single' 'quote'"
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: with heredoc strings ***
 unicode(3) "te'"
 unicode(32) ""
index bc8ed4fcbaf33539bdf69f8972c02450c1a34083..7952772bb5f4700655a0ca891c29ed968f4a0b64 100644 (file)
@@ -33,18 +33,7 @@ foreach($needles as $needle) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: with heredoc strings ***
 bool(false)
 bool(false)
index 4360b939ff994355968c930c7c4bf2b4eeb308ed..19b00210d5aa9d7ce7aa80f610c8272825b0bf37 100644 (file)
@@ -29,15 +29,7 @@ foreach($needles as $needle) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrchr() function: with heredoc strings ***
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrchr() function: with heredoc strings ***
 bool(false)
 bool(false)
index 5b9bf801f42ad9dbb09829a168e03d30fca08d2f..cd3ad6060bc131fc982e71ff476b522fa0cc3eef 100644 (file)
@@ -132,71 +132,6 @@ echo "*** Done ***";
 --EXPECTF--
 *** Testing strrchr() function: with unexpected inputs for haystack ***
 -- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(4) "2345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(5) "-10.5"
--- Iteration 7 --
-string(12) "105000000000"
--- Iteration 8 --
-string(7) "1.06E-9"
--- Iteration 9 --
-string(2) ".5"
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(2) "ay"
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(2) "ay"
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(3) "ray"
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(1) "y"
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d%d
-string(2) "ay"
--- 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 --
-string(6) "object"
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-string(%d) "Resource id #5"
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrchr() function: with unexpected inputs for haystack ***
--- Iteration 1 --
 unicode(1) "0"
 -- Iteration 2 --
 unicode(1) "1"
index d145c3e706ea3ddb0c2f106d452c82a6a69258f9..b9a734b78252cb18b8bafae723aecdd7ca597e0e 100644 (file)
@@ -14,10 +14,6 @@ strrev() function
        var_dump(strrev(""));
 ?>
 --EXPECT--
-string(32) "ec6df70f2569891eae50321a9179eb82"
-string(0) ""
-string(0) ""
---UEXPECT--
 unicode(32) "ec6df70f2569891eae50321a9179eb82"
 unicode(0) ""
 unicode(0) ""
index f358af8fa5d2acb7073df34630f5b00ed36219fa..c17774007745e376e560678566b2e95ab9375351 100644 (file)
@@ -32,20 +32,7 @@ var_dump( strrev('Hello, World\n') );
 var_dump( strrev($heredoc) );
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrev() : basic functionality ***
-string(12) "dlroW ,olleH"
-string(12) "dlroW ,olleH"
-string(1) "H"
-string(1) "H"
-string(6) "HHHHHH"
-string(6) "HhhhhH"
-string(13) "
-dlroW ,olleH"
-string(14) "n\dlroW ,olleH"
-string(12) "dlrow ,olleH"
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrev() : basic functionality ***
 unicode(12) "dlroW ,olleH"
 unicode(12) "dlroW ,olleH"
index ad165d36b3b7c11e50f26e0aeda65c2cb20603a2..ef64e80afda59434d645ec1ef474da29390b15da 100644 (file)
@@ -25,13 +25,3 @@ NULL
 Warning: strrev() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 *** Done ***
---UEXPECTF--
-*** Testing strrev() : error conditions ***
--- Testing strrev() function with Zero arguments --
-Warning: strrev() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing strrev() function with more than expected no. of arguments --
-Warning: strrev() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-*** Done ***
index 0e860480da32640467d040dcc3787cb1a6daa098..f631c2861e3cd9b59f6d1b759920ee493df70ffc 100644 (file)
Binary files a/ext/standard/tests/strings/strrev_variation1.phpt and b/ext/standard/tests/strings/strrev_variation1.phpt differ
index df3c2453432b3cfd02c79a2e8c15908e93e6963a..eb05a958a0cc3e1a934c32bcf9618f3488f0dcf7 100644 (file)
Binary files a/ext/standard/tests/strings/strrev_variation2.phpt and b/ext/standard/tests/strings/strrev_variation2.phpt differ
index 23caac19de9d2da9afe135e96b1f87515433d97a..f8164e4f8463fb6534a379da848494340f75f0a9 100644 (file)
Binary files a/ext/standard/tests/strings/strrev_variation3.phpt and b/ext/standard/tests/strings/strrev_variation3.phpt differ
index 3a8a7a9f6303906472a6bbf7eceb119210675b7c..74130310bd034a8ca76c35fbfa4fce78168d8adc 100644 (file)
@@ -90,99 +90,6 @@ echo "*** Done ***";
 --EXPECTF--
 *** Testing strrev() : unexpected inputs for 'str' ***
 
--- Iterator 1 --
-string(1) "0"
-
--- Iterator 2 --
-string(1) "1"
-
--- Iterator 3 --
-string(5) "54321"
-
--- Iterator 4 --
-string(5) "5432-"
-
--- Iterator 5 --
-string(4) "5.01"
-
--- Iterator 6 --
-string(5) "5.01-"
-
--- Iterator 7 --
-string(12) "000000000501"
-
--- Iterator 8 --
-string(7) "9-E60.1"
-
--- Iterator 9 --
-string(3) "5.0"
-
--- Iterator 10 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 11 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 12 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 13 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 14 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iterator 15 --
-string(0) ""
-
--- Iterator 16 --
-string(0) ""
-
--- Iterator 17 --
-string(1) "1"
-
--- Iterator 18 --
-string(0) ""
-
--- Iterator 19 --
-string(1) "1"
-
--- Iterator 20 --
-string(0) ""
-
--- Iterator 21 --
-string(0) ""
-
--- Iterator 22 --
-string(0) ""
-
--- Iterator 23 --
-string(6) "tcejbo"
-
--- Iterator 24 --
-
-Warning: strrev() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
--- Iterator 25 --
-string(0) ""
-
--- Iterator 26 --
-string(0) ""
-*** Done ***
---UEXPECTF--
-*** Testing strrev() : unexpected inputs for 'str' ***
-
 -- Iterator 1 --
 unicode(1) "0"
 
index eb4e70bd354a9d361cd11b17b354bce2a6e39803..fa15e2fcacae7fc83ecc3ae09d5247b86a30c5f7 100644 (file)
@@ -30,4 +30,3 @@ bool(false)
 bool(false)
 bool(false)
 int(1)
-
index e3d44ae7d5cbaadc50fc9c7f2cd3609b22f4f72b..14cfccec968aee1af0280f526c237c599fc7c442 100644 (file)
@@ -15,7 +15,7 @@ var_dump(strripos(1024, "te", -PHP_INT_MAX-1));
 
 echo "Done\n";
 ?>
---EXPECTF--    
+--EXPECTF--
 Notice: strripos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
 
index 11b083b4d43985282aa62fa3bd83f99e41314635..9da3fb636a51563e28f70ec634656b65af308492 100644 (file)
@@ -34,22 +34,7 @@ var_dump( strrpos((unicode)"Hello, World", ",") );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrpos() function: basic functionality ***
--- With default arguments --
-int(0)
-bool(false)
-int(7)
-bool(false)
-int(8)
-int(5)
-int(0)
-int(0)
-int(0)
-int(8)
-int(5)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrpos() function: basic functionality ***
 -- With default arguments --
 int(0)
index 49f2177d04ea75e6f9f1ef759ee8a053589dedb2..ce1bcb7db49960119d1a84c90f84d266539ed46d 100644 (file)
@@ -44,23 +44,6 @@ int(0)
 int(0)
 bool(false)
 int(0)
-bool(false)
-int(8)
-int(8)
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: basic functionality ***
--- With all arguments --
-int(0)
-bool(false)
-int(7)
-int(7)
-int(0)
-int(0)
-bool(false)
-int(0)
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index 2b753c54c23daee890e04da3dd951689be704e30..3900ceaa5d7ceec890fef906e5f1ebcb491eebf8 100644 (file)
@@ -32,17 +32,3 @@ bool(false)
 Warning: strrpos() expects at most 3 parameters, 4 given in %s on line %d
 bool(false)
 *** Done ***
---UEXPECTF--
-*** Testing strrpos() function: error conditions ***
--- With Zero arguments --
-Warning: strrpos() expects at least 2 parameters, 0 given in %s on line %d
-bool(false)
-
--- With less than expected number of arguments --
-Warning: strrpos() expects at least 2 parameters, 1 given in %s on line %d
-bool(false)
-
--- With more than expected number of arguments --
-Warning: strrpos() expects at most 3 parameters, 4 given in %s on line %d
-bool(false)
-*** Done ***
index bfd7d9d84335f1fbba2cc1f2744533853956240a..2e89d7323a21e41b8f6f450f146b18e2b8953ef4 100644 (file)
@@ -178,114 +178,6 @@ bool(false)
 bool(false)
 -- Iteration 35 --
 int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with double quoted strings ***
--- Iteration 1 --
-int(28)
-int(28)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(9)
-int(9)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-int(9)
-int(9)
--- Iteration 11 --
-int(8)
-bool(false)
--- Iteration 12 --
-int(8)
-bool(false)
--- Iteration 13 --
-int(8)
-bool(false)
--- Iteration 14 --
-int(8)
-bool(false)
--- Iteration 15 --
-int(8)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(43)
-int(43)
--- Iteration 18 --
-int(12)
-bool(false)
--- Iteration 19 --
-int(11)
-bool(false)
--- Iteration 20 --
-int(13)
-bool(false)
--- Iteration 21 --
-int(14)
-bool(false)
--- Iteration 22 --
-int(17)
-bool(false)
--- Iteration 23 --
-int(20)
-bool(false)
--- Iteration 24 --
-int(22)
-bool(false)
--- Iteration 25 --
-int(21)
-bool(false)
--- Iteration 26 --
-int(23)
-bool(false)
--- Iteration 27 --
-int(24)
-bool(false)
--- Iteration 28 --
-bool(false)
-bool(false)
--- Iteration 29 --
-int(30)
-int(30)
--- Iteration 30 --
-int(39)
-int(39)
--- Iteration 31 --
-int(39)
-int(39)
--- Iteration 32 --
-int(42)
-int(42)
--- Iteration 33 --
-int(42)
-int(42)
--- Iteration 34 --
-bool(false)
-bool(false)
--- Iteration 35 --
-int(0)
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index 59689b709f3abfe6b3d4e14ed32d6df2c2fa5d6a..5c6d3542ab583eae9367227af8b6eb76d5e971c1 100644 (file)
@@ -100,63 +100,6 @@ 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 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-%s
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function with unexpected values for needle ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
-bool(false)
--- Iteration 3 --
-bool(false)
--- Iteration 4 --
 
 Warning: Needle argument codepoint value out of range (0 - 0x10FFFF) in %s on line %d
 bool(false)
index 698c1dbc5c5374ae30259ff9ace3f9250aa4fb24..6e84c7da911011c315bc664e1945a05d85b10445 100644 (file)
@@ -92,111 +92,6 @@ echo "*** Done ***";
 *** Testing strrpos() function with unexpected values for haystack and needle ***
 -- Iteration 1 --
 bool(false)
-bool(false)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-bool(false)
-bool(false)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-bool(false)
-bool(false)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
-
-Notice: Array to string conversion in %s on line %d%d
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-bool(false)
-bool(false)
--- Iteration 18 --
-bool(false)
-bool(false)
--- Iteration 19 --
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
-
-Notice: Object of class sample could not be converted to int in %s on line %d%d
-bool(false)
--- Iteration 20 --
-bool(false)
-bool(false)
--- Iteration 21 --
-bool(false)
-bool(false)
--- Iteration 22 --
-bool(false)
-bool(false)
--- Iteration 23 --
-bool(false)
-bool(false)
--- Iteration 24 --
-bool(false)
-bool(false)
--- Iteration 25 --
-bool(false)
-bool(false)
--- Iteration 26 --
-bool(false)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function with unexpected values for haystack and needle ***
--- Iteration 1 --
-bool(false)
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index e4ef82d84af844572d621e7ec2cfdf5978b6c186..187e3373f3d8a6912e60acdf05cdd4234665c653 100644 (file)
@@ -37,23 +37,6 @@ bool(false)
 int(11)
 int(11)
 int(2)
-bool(false)
-int(5)
-int(5)
-int(0)
-bool(false)
-int(5)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Test strrpos() function: binary safe ***
-int(5)
-int(5)
-int(0)
-bool(false)
-int(11)
-int(11)
-int(2)
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index 3e99d1d65df0a07f1e6cabd2635700b4924ea82b..d168e7a2e97156be77044102caaeff672ce68b82 100644 (file)
@@ -39,23 +39,6 @@ bool(false)
 int(12)
 int(12)
 bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-bool(false)
-int(1)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Test strrpos() function: binary safe ***
-int(1)
-int(1)
-int(0)
-bool(false)
-int(12)
-int(12)
-bool(false)
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index 7c1e1e5369c2beec51273c7269dcf7b8433adb04..8edddbf2bba0b8df44538b1c8c5a9ec777178ae3 100644 (file)
@@ -94,75 +94,6 @@ Notice: strrpos(): Offset is greater than the length of haystack string in %s on
 bool(false)
 -- Iteration 3 --
 
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 4 --
-int(6)
--- Iteration 5 --
-int(6)
--- Iteration 6 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 7 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 8 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 9 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 10 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 11 --
-int(6)
--- Iteration 12 --
-int(6)
--- Iteration 13 --
-int(6)
--- Iteration 14 --
-int(6)
--- Iteration 15 --
-
-Warning: strrpos() expects parameter 3 to be long, object given in %s on line %d%d
-bool(false)
--- Iteration 16 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 17 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 18 --
-int(6)
--- Iteration 19 --
-int(6)
--- Iteration 20 --
-
-Warning: strrpos() expects parameter 3 to be long, resource given in %s on line %d%d
-bool(false)
--- Iteration 21 --
-int(6)
--- Iteration 22 --
-int(6)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with unexpected values for offset ***
--- Iteration 1 --
-int(6)
--- Iteration 2 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
-bool(false)
--- Iteration 3 --
-
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
 -- Iteration 4 --
index e07610b84d9876bcd8171cbe6718b897b56311f6..72236e5d24d387c103531c6e02a064c2cd07a137 100644 (file)
@@ -91,89 +91,6 @@ echo "*** Done ***";
 -- Iteration 1 --
 bool(false)
 -- Iteration 2 --
-bool(false)
--- Iteration 3 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 4 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 5 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 6 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 7 --
-
-Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d%d
-bool(false)
--- Iteration 8 --
-bool(false)
--- Iteration 9 --
-bool(false)
--- Iteration 10 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 11 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 12 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 13 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 14 --
-
-Warning: strrpos() expects parameter 3 to be long, array given in %s on line %d%d
-bool(false)
--- Iteration 15 --
-bool(false)
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-bool(false)
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-
-Warning: strrpos() expects parameter 3 to be long, object given in %s on line %d%d
-bool(false)
--- Iteration 20 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 21 --
-
-Warning: strrpos() expects parameter 3 to be long, string given in %s on line %d%d
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-
-Warning: strrpos() expects parameter 3 to be long, resource given in %s on line %d%d
-bool(false)
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with unexpected values for haystack, needle & offset ***
--- Iteration 1 --
-bool(false)
--- Iteration 2 --
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index db19f8f4d7d99e680168d108b446702aef0ffed7..06322d89b74a703b7f1fbc69da66f4674c333f4f 100644 (file)
@@ -182,117 +182,6 @@ int(23)
 bool(false)
 -- Iteration 36 --
 int(0)
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: with single quoted strings ***
--- Iteration 1 --
-int(32)
-int(32)
--- Iteration 2 --
-bool(false)
-bool(false)
--- Iteration 3 --
-bool(false)
-bool(false)
--- Iteration 4 --
-bool(false)
-bool(false)
--- Iteration 5 --
-int(6)
-int(6)
--- Iteration 6 --
-bool(false)
-bool(false)
--- Iteration 7 --
-bool(false)
-bool(false)
--- Iteration 8 --
-int(12)
-int(12)
--- Iteration 9 --
-bool(false)
-bool(false)
--- Iteration 10 --
-bool(false)
-bool(false)
--- Iteration 11 --
-int(10)
-int(10)
--- Iteration 12 --
-bool(false)
-bool(false)
--- Iteration 13 --
-bool(false)
-bool(false)
--- Iteration 14 --
-bool(false)
-bool(false)
--- Iteration 15 --
-bool(false)
-bool(false)
--- Iteration 16 --
-bool(false)
-bool(false)
--- Iteration 17 --
-int(53)
-int(53)
--- Iteration 18 --
-int(16)
-bool(false)
--- Iteration 19 --
-int(15)
-bool(false)
--- Iteration 20 --
-int(17)
-bool(false)
--- Iteration 21 --
-int(18)
-bool(false)
--- Iteration 22 --
-int(21)
-int(21)
--- Iteration 23 --
-int(24)
-int(24)
--- Iteration 24 --
-int(26)
-int(26)
--- Iteration 25 --
-int(25)
-int(25)
--- Iteration 26 --
-int(27)
-int(27)
--- Iteration 27 --
-int(28)
-int(28)
--- Iteration 28 --
-bool(false)
-bool(false)
--- Iteration 29 --
-int(34)
-int(34)
--- Iteration 30 --
-int(43)
-int(43)
--- Iteration 31 --
-int(19)
-bool(false)
--- Iteration 32 --
-int(49)
-int(49)
--- Iteration 33 --
-bool(false)
-bool(false)
--- Iteration 34 --
-bool(false)
-bool(false)
--- Iteration 35 --
-int(23)
-bool(false)
--- Iteration 36 --
-int(0)
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index 99fa30af39ac36ee32b60aa4913ea2678c529b5f..286e5f6d7fb83087644698be1fdb3fbb20948e58 100644 (file)
@@ -26,16 +26,7 @@ var_dump( strrpos($multi_line_str, " ") );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing multi lines --
-int(44)
-int(44)
-int(44)
-bool(false)
-int(55)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrpos() function: with heredoc strings ***
 -- With heredoc string containing multi lines --
 int(44)
index 3a15a685e5487c0bd26203d2282bcc5619f69db4..2dee21b988604ee12b1fd1b83dd49752f10cc93f 100644 (file)
@@ -28,18 +28,7 @@ var_dump( strrpos($special_chars_str, "(special)") );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing special chars --
-int(0)
-bool(false)
-int(41)
-int(39)
-int(55)
-int(55)
-int(57)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrpos() function: with heredoc strings ***
 -- With heredoc string containing special chars --
 int(0)
index fd0ed62648b10d545f24f7e297da35b10271a44b..e0692dafc57830702a33c2f535d2d98eb9cb0d30 100644 (file)
@@ -24,15 +24,7 @@ var_dump( strrpos($control_char_str, "\t", 15) );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing escape characters --
-int(13)
-int(19)
-int(13)
-int(19)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrpos() function: with heredoc strings ***
 -- With heredoc string containing escape characters --
 int(13)
index 039bd9432c0998feedb51e02ba87ab821ef6a967..9466ddb77c17a41661a377dd307150a3b341d5a2 100644 (file)
@@ -25,15 +25,7 @@ var_dump( strrpos($quote_char_str, 'things', 0) );
 var_dump( strrpos($quote_char_str, "things", 20) );
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strrpos() function: with heredoc strings ***
--- With heredoc string containing quote & slash chars --
-int(88)
-int(59)
-int(59)
-int(59)
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strrpos() function: with heredoc strings ***
 -- With heredoc string containing quote & slash chars --
 int(88)
index 239dc246bc859a97f312b55c0136fdf2fe13d4d7..9c487d1e62e4c3a44cec26c54c18417a330014c1 100644 (file)
@@ -22,7 +22,7 @@ var_dump( strrpos($empty_string, NULL) );
 
 echo "*** Done ***";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing strrpos() function: with heredoc strings ***
 -- With empty heredoc string --
 bool(false)
index 32e5603e40d40567ea9ddea22c83b3c9d7986fa7..440dcd60d6a24b3dce59b6dc5a5128d8c6279e15 100644 (file)
@@ -51,39 +51,6 @@ bool(false)
 -- Iteration 12 --
 bool(false)
 -- Iteration 13 --
-bool(false)
--- Iteration 14 --
-bool(false)
--- Iteration 15 --
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strrpos() function: strings repetitive chars ***
--- Iteration 1 --
-int(4)
--- Iteration 2 --
-int(4)
--- Iteration 3 --
-int(4)
--- Iteration 4 --
-int(4)
--- Iteration 5 --
-int(4)
--- Iteration 6 --
-int(4)
--- 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 --
 
 Notice: strrpos(): Offset is greater than the length of haystack string in %s on line %d
 bool(false)
index ea73797779034f3d1852cbdc4e06ab86abd54429..cc73d8f26dbea3037c18e3d02b67dcd616b05912 100644 (file)
@@ -180,94 +180,3 @@ bool(false)
 -- Iteration 26 --
 bool(false)
 *** Done ***
---UEXPECTF--
-*** Testing strrpos() function with unexpected values for haystack ***
-
--- 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 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-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 --
-bool(false)
-
--- Iteration 25 --
-bool(false)
-
--- Iteration 26 --
-bool(false)
-*** Done ***
index 6780e1d3981c44a5b6bca3d3e7ccc456f1571d11..a2cc900ef565f9b54767545504723998f9526298 100644 (file)
@@ -11,12 +11,6 @@ var_dump(strspn($a,$b,2));
 var_dump(strspn($a,$b,2,3));
 ?>
 --EXPECT--
-string(25) "22222222aaaa bbb1111 cccc"
-string(4) "1234"
-int(8)
-int(6)
-int(3)
---UEXPECT--
 unicode(25) "22222222aaaa bbb1111 cccc"
 unicode(4) "1234"
 int(8)
index 7907a600af99a5f489702550a7731619048c208f..052b5413a801458d0b7f82662c72694a1bdab68d 100644 (file)
@@ -33,14 +33,7 @@ var_dump( strspn($str, $mask) );
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strspn() : basic functionality ***
-int(11)
-int(11)
-int(2)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strspn() : basic functionality ***
 int(11)
 int(11)
index 61374c41db42a7403730d2b6e613e959eb579f5b..e2311ba2c0947b702359e3ffc7c36a77599e2efa 100644 (file)
@@ -55,22 +55,3 @@ NULL
 Warning: strspn() expects at least 2 parameters, 1 given in %s on line %d
 NULL
 Done
-
---UEXPECTF--
-*** Testing strspn() : error conditions ***
-
--- Testing strspn() function with Zero arguments --
-
-Warning: strspn() expects at least 2 parameters, 0 given in %s on line %d
-NULL
-
--- Testing strspn() function with more than expected no. of arguments --
-
-Warning: strspn() expects at most 4 parameters, 5 given in %s on line %d
-NULL
-
--- Testing strspn() function with less than expected no. of arguments --
-
-Warning: strspn() expects at least 2 parameters, 1 given in %s on line %d
-NULL
-Done
index 3410ce581952cf5080156b80b38d1b3c3a4270e7..666da9e03a837fa59d40a85a7a7f43460e87cc52 100644 (file)
@@ -271,172 +271,3 @@ NULL
 Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing strspn() : with unexpected values for str argument ***
-
--- Iteration with str value as "0"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "1"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "12345"
-int(5)
-int(4)
-int(4)
-
--- Iteration with str value as "-2345"
-int(0)
-int(4)
-int(4)
-
--- Iteration with str value as "10.5"
-int(2)
-int(1)
-int(1)
-
--- Iteration with str value as "-10.5"
-int(0)
-int(2)
-int(2)
-
--- Iteration with str value as "101234567000"
-int(12)
-int(11)
-int(10)
-
--- Iteration with str value as "1.07654321E-9"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "0.5"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as "Array"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "1"
-int(1)
-int(0)
-int(0)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "object"
-int(2)
-int(1)
-int(1)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as ""
-int(0)
-bool(false)
-bool(false)
-
--- Iteration with str value as "Resource id #%d"
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
index 7d325a0f17dd299e2828abd386dd84c004c9db4e..28d7ad5cff0c6ead6b92431198653fc86d1eb835 100644 (file)
@@ -65,215 +65,7 @@ foreach($strings as $str)  {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strspn() : with different mask strings and default start and len arguments ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(1)
-int(2)
-int(0)
-int(1)
-int(1)
-int(1)
-int(0)
-int(1)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 10 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 12 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 13 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 14 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 15 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 16 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-
--- Iteration 17 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(4)
-int(0)
-int(4)
-int(4)
-int(0)
-int(4)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strspn() : with different mask strings and default start and len arguments ***
 
 -- Iteration 1 --
index 959c03e1c474a397512b48fc0954a8864b77063d..eb388f0871dd86a5f1ed62953e8365d163f8ac8b 100644 (file)
@@ -77,1235 +77,7 @@ foreach($strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strspn() : with different start and default len values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(1)
-int(1)
-bool(false)
-int(1)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(1)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(1)
-int(2)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-
--- Iteration 10 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 12 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 13 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(4)
-int(3)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 14 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 15 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 16 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-
--- Iteration 17 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(1)
-bool(false)
-int(4)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strspn() : with different start and default len values ***
 
 -- Iteration 1 --
index 15560f19401fb13bcd117ead68a04ce4e70909d7..833bb5ed8df472080062ca5c8f870b9fdc5e0f52 100644 (file)
@@ -79,2805 +79,7 @@ foreach($strings as $str) {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 8 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 9 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 10 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 11 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strspn() : with different start and len values ***
 
 -- Iteration 1 --
index 30219f7bc7e1bd8fddfec66237f87c6e5ea6b1a6..761086fae19c99fe390d8b26a81565f94cef2e8a 100644 (file)
@@ -270,172 +270,3 @@ NULL
 Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing strspn() : with diferent unexpected values of mask argument ***
-
--- Iteration with mask value as "0" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "12345" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "-2345" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "10.5" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "-10.5" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "101234567000" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1.07654321E-9" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "0.5" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "Array" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "1" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "object" --
-int(0)
-int(1)
-int(1)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "" --
-int(0)
-int(0)
-int(0)
-
--- Iteration with mask value as "Resource id #%d" --
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
index c04bf50a59587b9b90519942a42ce2012973069b..cecc549eb440260d1c5661660ca1f5ef089d1c67 100644 (file)
@@ -187,149 +187,6 @@ int(2)
 
 -- Iteration with start value as "" --
 
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "string" --
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
--- Iteration with start value as "object" --
-
-Warning: strspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, object given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "Resource id #%d" --
-
-Warning: strspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strspn() : with unexpected values of start argument ***
-
--- Iteration with start value as "10.5" --
-int(0)
-int(0)
-
--- Iteration with start value as "-10.5" --
-int(2)
-int(2)
-
--- Iteration with start value as "1012345670" --
-bool(false)
-bool(false)
-
--- Iteration with start value as "1.07654321E-7" --
-int(2)
-int(2)
-
--- Iteration with start value as "0.5" --
-int(2)
-int(2)
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "Array" --
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
-Warning: strspn() expects parameter 3 to be long, array given in %s on line %d
-NULL
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "1" --
-int(1)
-int(1)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "1" --
-int(1)
-int(1)
-
--- Iteration with start value as "" --
-int(2)
-int(2)
-
--- Iteration with start value as "" --
-
 Warning: strspn() expects parameter 3 to be long, Unicode string given in %s on line %d
 NULL
 
index c5a7ea1f4f098fe0d841aead135cb1c68b5b0aee..7dd600358dc2726b5c9344a04a2c56626a0838e3 100644 (file)
@@ -160,103 +160,6 @@ int(0)
 
 -- Iteration with len value as "" --
 
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "string" --
-
-Warning: strspn() expects parameter 4 to be long, string given in %s on line %d
-NULL
-
--- Iteration with len value as "object" --
-
-Warning: strspn() expects parameter 4 to be long, object given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "Resource id #%d" --
-
-Warning: strspn() expects parameter 4 to be long, resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strspn() : with unexpected values of len argument ***
-
--- Iteration with len value as "10.5" --
-int(2)
-
--- Iteration with len value as "-10.5" --
-int(0)
-
--- Iteration with len value as "1012345670" --
-int(2)
-
--- Iteration with len value as "1.07654321E-7" --
-int(0)
-
--- Iteration with len value as "0.5" --
-int(0)
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "Array" --
-
-Warning: strspn() expects parameter 4 to be long, array given in %s on line %d
-NULL
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(1)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "1" --
-int(1)
-
--- Iteration with len value as "" --
-int(0)
-
--- Iteration with len value as "" --
-
 Warning: strspn() expects parameter 4 to be long, Unicode string given in %s on line %d
 NULL
 
index 052920269ae898ff9ee6f00b406fde26b9b5031b..974a9f1790da6c2f058c372988ba50129bd95309 100644 (file)
Binary files a/ext/standard/tests/strings/strspn_variation5.phpt and b/ext/standard/tests/strings/strspn_variation5.phpt differ
index fd8b795e2125f258d93116cf5e7ce20c65d3a8e0..f8a450ef10c6f91d6df34df3fb6b594bff6fe0b1 100644 (file)
@@ -90,95 +90,7 @@ foreach($heredoc_strings as $str)  {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strspn() : with different mask strings ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(8)
-int(11)
-int(0)
-int(0)
-int(0)
-int(1)
-int(0)
-int(2)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(4)
-int(0)
-int(4)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strspn() : with different mask strings ***
 
 -- Iteration 1 --
index 327fdba7d3c0eac72c209c0043204042ac4c0856..065d75a69f8e9b641b50971885430fff5995b55b 100644 (file)
@@ -103,515 +103,7 @@ foreach($heredoc_strings as $str)  {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strspn() : with different start values ***
-
--- Iteration 1 --
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-bool(false)
-bool(false)
-int(0)
-int(0)
-bool(false)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(2)
-bool(false)
-int(2)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(8)
-int(7)
-int(6)
-int(0)
-int(0)
-bool(false)
-int(8)
-int(11)
-int(10)
-int(9)
-int(0)
-int(1)
-bool(false)
-int(11)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(1)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(4)
-int(3)
-int(2)
-int(0)
-int(0)
-bool(false)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(0)
-int(2)
-int(1)
-int(0)
-int(0)
-int(0)
-bool(false)
-int(2)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strspn() : with different start values ***
 
 -- Iteration 1 --
index f6593bbcc66b4fa5c04e5c7d4b6515a7473e98f6..7cc25a5f1561899dda04ab1ba43309292f49a374 100644 (file)
@@ -111,1789 +111,7 @@ foreach($heredoc_strings as $str)  {
 
 echo "Done"
 ?>
---EXPECTF--
-*** Testing strspn() : with different start and len values ***
-
--- Iteration 1 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 2 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(1)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-
--- Iteration 3 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(8)
-int(8)
-int(0)
-int(0)
-int(1)
-int(2)
-int(7)
-int(7)
-int(0)
-int(0)
-int(1)
-int(2)
-int(6)
-int(6)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(8)
-int(8)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-
--- Iteration 4 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(0)
-int(1)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 5 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 6 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-
--- Iteration 7 --
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(1)
-int(1)
-int(1)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-int(0)
-int(1)
-int(2)
-int(3)
-int(3)
-int(0)
-int(0)
-int(1)
-int(2)
-int(2)
-int(2)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-int(0)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-int(0)
-int(1)
-int(2)
-int(4)
-int(4)
-int(0)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strspn() : with different start and len values ***
 
 -- Iteration 1 --
index a7668c42ccd8c6e434427d3d96e683ed160e007b..65ebba95670d0e7105049be826c4dc4c2328c0e5 100644 (file)
Binary files a/ext/standard/tests/strings/strspn_variation9.phpt and b/ext/standard/tests/strings/strspn_variation9.phpt differ
index 8f432494203d1af59b9d80810e669b017d6c159b..a111c1d4dd70eed8f50102bf65349dca69f43ddd 100644 (file)
@@ -31,38 +31,7 @@ for( $i = 2; $i <=7; $i++ )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing strtok() : basic functionality ***
-
-The Input string is:
-"This testcase test strtok() function."
-
-The token string is:
-" ()."
-
---- Token 1 ---
-string(4) "This"
-
---- Token 2 ---
-string(8) "testcase"
-
---- Token 3 ---
-string(4) "test"
-
---- Token 4 ---
-string(6) "strtok"
-
---- Token 5 ---
-string(8) "function"
-
---- Token 6 ---
-bool(false)
-
---- Token 7 ---
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strtok() : basic functionality ***
 
 The Input string is:
@@ -91,4 +60,4 @@ bool(false)
 
 --- Token 7 ---
 bool(false)
-Done
\ No newline at end of file
+Done
index 3b5838542289dd92c2132c0018d14cf2e33a03ba..cd97feb70612cd88a04da2e6b9457df5c1a77edf 100644 (file)
@@ -45,25 +45,6 @@ NULL
 
 -- Testing strtok() function with more than expected no. of arguments --
 
-Warning: strtok() expects at most 2 parameters, 3 given in %s on line %d
-NULL
-string(13) "sample string"
-
--- Testing strtok() with less than expected no. of arguments --
-bool(false)
-string(10) "string val"
-Done
-
---UEXPECTF--
-*** Testing strtok() : error conditions ***
-
--- Testing strtok() function with Zero arguments --
-
-Warning: strtok() expects at least 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing strtok() function with more than expected no. of arguments --
-
 Warning: strtok() expects at most 2 parameters, 3 given in %s on line %d
 NULL
 unicode(13) "sample string"
index 50d610634ed6c554c5765f937a8b0ae50e260fc5..550535ed6ed0ad4f4f2aa1967073e1b846ad2848 100644 (file)
@@ -106,79 +106,6 @@ Notice: Undefined variable: undefined_var in %s on line %d
 
 Notice: Undefined variable: unset_var in %s on line %d
 
---- Testing strtok() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(4) "2345"
--- Iteration 5 --
-string(4) "10.5"
--- Iteration 6 --
-string(4) "10.5"
--- Iteration 7 --
-string(12) "101234567000"
--- Iteration 8 --
-string(11) "1.07654321E"
--- Iteration 9 --
-string(3) "0.5"
--- Iteration 10 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) "1"
--- Iteration 16 --
-bool(false)
--- Iteration 17 --
-string(1) "1"
--- Iteration 18 --
-bool(false)
--- Iteration 19 --
-string(3) "obj"
--- Iteration 20 --
-bool(false)
--- Iteration 21 --
-bool(false)
--- Iteration 22 --
-bool(false)
--- Iteration 23 --
-bool(false)
--- Iteration 24 --
-bool(false)
--- Iteration 25 --
-bool(false)
--- Iteration 26 --
-
-Warning: strtok() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing strtok() : with first argument as non-string ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
 --- Testing strtok() by supplying different values for 'str' argument ---
 -- Iteration 1 --
 unicode(1) "0"
index 5fd7bcd9ab9f1c95e761e535dd9e07bd469191d7..d3526a94121963362d41ab5f9a365c8207e39909 100644 (file)
@@ -106,80 +106,6 @@ Notice: Undefined variable: undefined_var in %s on line %d
 
 Notice: Undefined variable: unset_var in %s on line %d
 
---- Testing strtok() by supplying different values for 'token' argument ---
--- Iteration 1 --
-string(37) "this testcase test strtok() function "
--- Iteration 2 --
-string(37) "this testcase test strtok() function "
--- Iteration 3 --
-string(37) "this testcase test strtok() function "
--- Iteration 4 --
-string(37) "this testcase test strtok() function "
--- Iteration 5 --
-string(37) "this testcase test strtok() function "
--- Iteration 6 --
-string(37) "this testcase test strtok() function "
--- Iteration 7 --
-string(37) "this testcase test strtok() function "
--- Iteration 8 --
-string(37) "this testcase test strtok() function "
--- Iteration 9 --
-string(37) "this testcase test strtok() function "
--- Iteration 10 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 15 --
-string(37) "this testcase test strtok() function "
--- Iteration 16 --
-string(37) "this testcase test strtok() function "
--- Iteration 17 --
-string(37) "this testcase test strtok() function "
--- Iteration 18 --
-string(37) "this testcase test strtok() function "
--- Iteration 19 --
-string(4) "his "
--- Iteration 20 --
-string(37) "this testcase test strtok() function "
--- Iteration 21 --
-string(37) "this testcase test strtok() function "
--- Iteration 22 --
-string(37) "this testcase test strtok() function "
--- Iteration 23 --
-string(37) "this testcase test strtok() function "
--- Iteration 24 --
-string(37) "this testcase test strtok() function "
--- Iteration 25 --
-string(37) "this testcase test strtok() function "
--- Iteration 26 --
-
-Warning: strtok() expects parameter 2 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
-
---UEXPECTF--
-*** Testing strtok() : with different token strings ***
-
-Notice: Undefined variable: undefined_var in %s on line %d
-
-Notice: Undefined variable: unset_var in %s on line %d
-
 --- Testing strtok() by supplying different values for 'token' argument ---
 -- Iteration 1 --
 unicode(37) "this testcase test strtok() function "
index 48c2e7429c29bf35e361bb789844962e68677f1c..addd4e7d765c012a4719d246dba1b447c12ccf03 100644 (file)
@@ -67,89 +67,7 @@ foreach($heredoc_strings as $string)  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing strtok() : with heredoc strings ***
-
---- Iteration 1 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 2 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 3 ---
-string(11) "first line "
-string(7) "f hered"
-string(8) "c string"
-string(3) "sec"
-string(8) "nd line "
-string(7) "f hered"
-string(8) "c string"
-string(11) "third line "
-string(7) "f hered"
-string(7) "cstring"
-bool(false)
-
---- Iteration 4 ---
-string(4) "hell"
-string(1) "w"
-string(3) "rld"
-string(4) "hell"
-string(1) "w"
-string(3) "rld"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 5 ---
-string(4) "hell"
-string(4) "123w"
-string(4) "rld4"
-string(1) "6"
-string(8) "1234hell"
-string(4) "1234"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 6 ---
-string(4) "hell"
-string(1) "w"
-string(3) "rld"
-string(4) "hell"
-string(4) "hell"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strtok() : with heredoc strings ***
 
 --- Iteration 1 ---
index 73f9525c7930e61fe16b21c48914bda3aa8be032..491daeffd2f6883b7afe3aa679f479f6af798c6f 100644 (file)
@@ -41,75 +41,7 @@ foreach( $strings_with_nulls as $string )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing strtok() : with embedded nulls in the strings ***
-
---- Iteration 1 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 2 ---
-string(2) "\0"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 3 ---
-string(5) "hello"
-string(5) "world"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 4 ---
-string(3) "hel"
-string(2) "lo"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 5 ---
-string(5) "hello"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 6 ---
-string(11) "hello      world"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 7 ---
-string(4) "\0he"
-string(5) "llo\0"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 8 ---
-string(9) "hello\0\0"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strtok() : with embedded nulls in the strings ***
 
 --- Iteration 1 ---
@@ -175,4 +107,4 @@ bool(false)
 bool(false)
 bool(false)
 bool(false)
-Done
\ No newline at end of file
+Done
index c4aa626b8a4d2058f43dc130c9977d8352bc8aa6..65d71b82634ea4bd8bfd401f2c6a2cfbaba03b4b 100644 (file)
@@ -57,99 +57,7 @@ foreach( $string_array as $string )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing strtok() : with miscellaneous inputs ***
-
---- Iteration 1 ---
-string(11) "HELLO WORLD"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 2 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 3 ---
-string(5) "HELLO"
-string(5) "WORLD"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 4 ---
-string(5) "hello"
-string(3) "wor"
-string(2) "ld"
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 5 ---
-string(3) "hel"
-string(2) "lo"
-string(5) "world"
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 6 ---
-string(3) "one"
-string(1) "$"
-string(3) "two"
-string(1) "!"
-string(5) "three"
-string(1) "#"
-
---- Iteration 7 ---
-string(11) "hello/r/wor"
-string(3) "rld"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 8 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 9 ---
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 10 ---
-string(5) "hello"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-
---- Iteration 11 ---
-string(5) "hello"
-string(5) "world"
-bool(false)
-bool(false)
-bool(false)
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strtok() : with miscellaneous inputs ***
 
 --- Iteration 1 ---
index d9a69d1c9bc4ef05a1616aef59f9c6f2afd5e56e..2cea0709a71dd3c2f449633765f47132d1f2a3a0 100644 (file)
@@ -47,119 +47,7 @@ foreach( $string_array as $string )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing strtok() : with invalid escape sequences in token ***
-
---- Iteration 1 ---
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(7) "khellok"
-string(6) "worldk"
-bool(false)
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(1) " "
-string(1) "r"
-bool(false)
-bool(false)
-
-
---- Iteration 2 ---
-string(1) "\"
-string(6) "hello\"
-string(7) " world\"
-bool(false)
-
-string(9) "\khello\k"
-string(7) "world\k"
-bool(false)
-bool(false)
-
-string(1) "\"
-string(6) "hello\"
-string(7) " world\"
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(1) " "
-string(1) "r"
-bool(false)
-bool(false)
-
-
---- Iteration 3 ---
-string(1) "/"
-string(6) "hello\"
-string(7) " world/"
-bool(false)
-
-string(8) "khello\k"
-string(5) "world"
-string(1) "k"
-bool(false)
-
-string(6) "hello\"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(1) "/"
-string(5) "hello"
-string(7) " world/"
-bool(false)
-
-string(1) "/"
-string(1) " "
-string(1) "r"
-string(1) "/"
-
-
---- Iteration 4 ---
-string(6) "/hello"
-string(7) "/ world"
-bool(false)
-bool(false)
-
-string(6) "hellok"
-string(5) "world"
-bool(false)
-bool(false)
-
-string(5) "hello"
-string(6) " world"
-bool(false)
-bool(false)
-
-string(6) "/hello"
-string(7) "/ world"
-bool(false)
-bool(false)
-
-string(1) "/"
-string(2) "/ "
-string(1) "r"
-bool(false)
-
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strtok() : with invalid escape sequences in token ***
 
 --- Iteration 1 ---
@@ -269,4 +157,4 @@ unicode(2) "/ "
 unicode(1) "r"
 bool(false)
 
-Done
\ No newline at end of file
+Done
index ac5a82161d41a7021ff171fd34b67d7eac7136ff..da52f3edbefe82d6412ab2577aceb12eeec40027 100644 (file)
@@ -37,77 +37,7 @@ for( $count = 1; $count <=10; $count++ )  {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing strtok() : with modification of input string in between tokenising ***
-
-*** Testing strtok() when string being tokenised is prefixed with another string in between the process ***
-string(4) "this"
-
--- Token 1 is --
-string(2) "is"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 2 is --
-string(1) "a"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 3 is --
-string(6) "sample"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 4 is --
-string(6) "string"
-
--- Input str is "extra string this is a sample string" --
-
--- Token 5 is --
-bool(false)
-
--- Input str is "extra string this is a sample string" --
-
--- Token 6 is --
-bool(false)
-
--- Input str is "extra string this is a sample string" --
-
-*** Testing strtok() when string being tokenised is suffixed with another string in between the process ***
-string(5) "extra"
-
--- Token 1 is --
-string(6) "string"
-
--- Token 2 is --
-string(4) "this"
-
--- Token 3 is --
-string(2) "is"
-
--- Token 4 is --
-string(1) "a"
-
--- Token 5 is --
-string(6) "sample"
-
--- Token 6 is --
-string(6) "string"
-
--- Token 7 is --
-bool(false)
-
--- Token 8 is --
-bool(false)
-
--- Token 9 is --
-bool(false)
-
--- Token 10 is --
-bool(false)
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing strtok() : with modification of input string in between tokenising ***
 
 *** Testing strtok() when string being tokenised is prefixed with another string in between the process ***
@@ -175,4 +105,4 @@ bool(false)
 
 -- Token 10 is --
 bool(false)
-Done
\ No newline at end of file
+Done
index 184b145896c763ba4d3b7ab65628bd5dc031d223..7a9b91736e51e9687694e33be81b9845846d4477 100644 (file)
Binary files a/ext/standard/tests/strings/strtolower-win32.phpt and b/ext/standard/tests/strings/strtolower-win32.phpt differ
index dcff0eb45bc99c5762ad1b3c651ba9807fa601b1..e45960d82c7b2f1fbd52d7ac2a5600a174bb67f5 100644 (file)
Binary files a/ext/standard/tests/strings/strtolower.phpt and b/ext/standard/tests/strings/strtolower.phpt differ
index bc21d2a622eef1d9e6efb0e0fc87ff76681835fb..acd257a989022f9c997cbd4de40160b6044115cc 100644 (file)
@@ -22,14 +22,7 @@ foreach( $strings as $string )
        echo strtotitle( $string ), "\n";
 }
 ?>
---EXPECT--
-ßen
-ßen
-Året
-Året
-Året ßen
-Året ßen
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 SSen
 Ssen
index 2042b0a06a67a949164cc3801f81ad761264200c..37d45ac629d71f904489bfba2705e126d463b613 100644 (file)
@@ -19,8 +19,6 @@ $chars = "
 setlocale(LC_CTYPE, "de_DE", "de", "german", "ge", "de_DE.ISO8859-1", "ISO8859-1");
 echo strtoupper($chars)."\n";
 ?>
---EXPECT--
-ÄÖÜ
---UEXPECTF--
+--EXPECTF--
 Deprecated: setlocale(): deprecated in Unicode mode, please use ICU locale functions in %s on line %d
 ÄÖÜ
index 132c1672a234644c183c422dac5e52cb2640cebf..316f8a13fe0c620826cab351009657eee4f6c983 100644 (file)
Binary files a/ext/standard/tests/strings/strtoupper1-win32.phpt and b/ext/standard/tests/strings/strtoupper1-win32.phpt differ
index 09eb9959656b5a2e9449f2589cfa21228b021034..1e7c099ad6270fc36e4993806c7821995f553006 100644 (file)
Binary files a/ext/standard/tests/strings/strtoupper1.phpt and b/ext/standard/tests/strings/strtoupper1.phpt differ
index 138661218273ef29d85c37660f2164595275191f..ad07a0de60a001ded6f4db063076749ec09bd133 100644 (file)
@@ -7,6 +7,4 @@ $trans = array("hello"=>"hi", "hi"=>"hello", "a"=>"A", "world"=>"planet");
 var_dump(strtr("# hi all, I said hello world! #", $trans));
 ?>
 --EXPECT--
-string(32) "# hello All, I sAid hi planet! #"
---UEXPECT--
 unicode(32) "# hello All, I sAid hi planet! #"
index b44f14ff9c50344db9aadee2aee3eedd4e4b60ba..97539cd75684bb4b291ee1f9e7f77114c02c80fa 100644 (file)
@@ -1,7 +1,5 @@
 --TEST--
 strtr() function (with unicode chars and combining sequences)
---SKIPIF--
-<?php if (!unicode_semantics()) die('skip unicode.semantics=off'); ?>
 --FILE--
 <?php
        declare(encoding="utf8");
index 722e5415161fe91216bdf9b5a81cd596bd0b0808..c86f1e0e7789a745ca6b4361de0c1fef7225fbc7 100755 (executable)
@@ -9,6 +9,4 @@ $trans = array("
 var_dump(strtr("# \8d  ¤¢®à¥ ¤à®¢ , ¯®¤ ­¨¬¨ âà ¢ . #", $trans));
 ?>
 --EXPECT--
-string(35) "# \8d\80 ¤¢®à¥ âà ¢ , ­  âà ¢¥ ¤à®¢ . #"
---UEXPECT--
 unicode(35) "# \8d\80 ¤¢®à¥ âà ¢ , ­  âà ¢¥ ¤à®¢ . #"
index 7ece869ddc5534103748e734c8d07e99b1722e37..0a512ab6c1d9addba5e1d03951f9220ea8e1b013 100644 (file)
@@ -37,22 +37,7 @@ var_dump( strtr('test strtr', $trans2_arr) );
 var_dump( strtr($heredoc_str, $trans1_arr) );
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strtr() : basic functionality ***
-string(10) "TesT sTrTr"
-string(10) "TesT sTrTr"
-string(10) "TesT sTrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-string(10) "TEST STrTr"
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strtr() : basic functionality ***
 unicode(10) "TesT sTrTr"
 unicode(10) "TesT sTrTr"
index a2d00c3ffa2529d2f463cd5b9f8506352a012416..8466a92011bbc7fc3a54ffeac9b71bd309695ecb 100644 (file)
@@ -39,18 +39,3 @@ NULL
 Warning: Wrong parameter count for strtr() in %s on line %d
 NULL
 Done
---UEXPECTF--
-*** Testing strtr() : error conditions ***
-
--- Testing strtr() function with Zero arguments --
-Warning: Wrong parameter count for strtr() in %s on line %d
-NULL
-
--- Testing strtr() function with less than expected no. of arguments --
-Warning: Wrong parameter count for strtr() in %s on line %d
-NULL
-
--- Testing strtr() function with more than expected no. of arguments --
-Warning: Wrong parameter count for strtr() in %s on line %d
-NULL
-Done
index b5bbfb0909f95752e4b80211b8b8820126602e52..c0a928df3b25077d18780b00811b2784206c00b5 100644 (file)
@@ -56,35 +56,7 @@ for($index = 0; $index < count($str_arr); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strtr() : numeric & regular double quoted strings ***
--- Iteration 1 --
-string(3) "abc"
-string(3) "a23"
--- Iteration 2 --
-string(3) "123"
-string(3) "1bc"
--- Iteration 3 --
-string(6) "a1b2c3"
-string(6) "a1b2c3"
--- Iteration 4 --
-string(3) "abc"
-string(3) "a23"
--- Iteration 5 --
-string(3) "123"
-string(3) "1bc"
--- Iteration 6 --
-string(6) "a1b2c3"
-string(6) "a1b2c3"
--- Iteration 7 --
-string(14) "abc
-123
-a1b2c3"
-string(14) "a23
-1bc
-a1b2c3"
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strtr() : numeric & regular double quoted strings ***
 -- Iteration 1 --
 unicode(3) "abc"
index 8405e2ed12efc39e4ced1c2c47cdb202e0416630..b07a566a9edc6e18481162251b1c2b86e53dd3d9 100644 (file)
@@ -60,35 +60,7 @@ for($index = 0; $index < count($str_arr); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strtr() : string containing special chars for 'str' arg ***
--- Iteration 1 --
-string(1) "s"
-string(1) "$"
--- Iteration 2 --
-string(3) "pec"
-string(3) "#%*"
--- Iteration 3 --
-string(10) "text i als"
-string(10) "text & @()"
--- Iteration 4 --
-string(1) "s"
-string(1) "$"
--- Iteration 5 --
-string(3) "pec"
-string(3) "#%*"
--- Iteration 6 --
-string(10) "text i als"
-string(10) "text & @()"
--- Iteration 7 --
-string(17) "s
-peci
-text i als"
-string(17) "$
-#%*&
-text & @()"
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strtr() : string containing special chars for 'str' arg ***
 -- Iteration 1 --
 unicode(1) "s"
index a878a8ee497aa6fa169deab0dcdf0ca401859607..a8d92595ec9bf2499c553b2ede5d7c4bb34226ec 100644 (file)
@@ -65,44 +65,7 @@ for($index = 0; $index < count($str_arr); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strtr() : string containing escape sequences for 'str' arg ***
--- Iteration 1 --
-string(9) "SesSTsttE"
-string(9) "    es      \stt
-"
--- Iteration 2 --
-string(12) "TtestTTstrtr"
-string(12) "\test\\strtr"
--- Iteration 3 --
-string(12) "TtestETstrtr"
-string(11) "ttestTstrtr"
--- Iteration 4 --
-string(9) "$variable"
-string(9) "$variable"
--- Iteration 5 --
-string(7) ""quotes"
-string(7) ""quotes"
--- Iteration 6 --
-string(12) "TtesTtTsttTr"
-string(12) "\tes\t\stt\r"
--- Iteration 7 --
-string(12) "TtestTTstrtr"
-string(12) "\test\\strtr"
--- Iteration 8 --
-string(15) "TntestTrTnstrtr"
-string(15) "\ntest\r\nstrtr"
--- Iteration 9 --
-string(10) "T$variable"
-string(10) "\$variable"
--- Iteration 10 --
-string(8) "T"quotes"
-string(8) "\"quotes"
--- Iteration 11 --
-string(54) "SesSTsttETTtestTTstrtrTTtestETstrtrT$variableTT"quotes"
-string(52) "   es      \sttT\test\\strtrtttestTstrtrt$variablet\"quotes"
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strtr() : string containing escape sequences for 'str' arg ***
 -- Iteration 1 --
 unicode(9) "SesSTsttE"
index 341b8d5b4bdffb6d87104c4f03b6bf22e1a4fe33..81585010e440a2d3e0b3065dc8ae5c7f77ceb10c 100644 (file)
@@ -53,31 +53,7 @@ for($index = 0; $index < count($str_arr); $index++) {
 }
 echo "*** Done ***";
 ?>
---EXPECTF--
-*** Testing strtr() : empty string & null for 'str' arg ***
--- Iteration 1 --
-string(0) ""
-string(0) ""
--- Iteration 2 --
-string(0) ""
-string(0) ""
--- Iteration 3 --
-string(0) ""
-string(0) ""
--- Iteration 4 --
-string(0) ""
-string(0) ""
--- Iteration 5 --
-string(0) ""
-string(0) ""
--- Iteration 6 --
-string(0) ""
-string(0) ""
--- Iteration 7 --
-string(0) ""
-string(0) ""
-*** Done ***
---UEXPECTF--
+--EXPECT--
 *** Testing strtr() : empty string & null for 'str' arg ***
 -- Iteration 1 --
 unicode(0) ""
index 6b7c8a376aa7913137f187aa077ef26da31affaa..66010699f1b0af27135f369e96d6d7a2bfa37d90 100644 (file)
@@ -91,53 +91,6 @@ echo "*** Done ***";
 --EXPECTF--
 *** Testing strtr() function: with unexpected inputs for 'str' ***
 -- Iteration 1 --
-string(1) "a"
--- Iteration 2 --
-string(1) "t"
--- Iteration 3 --
-string(2) "-m"
--- Iteration 4 --
-string(4) "ta.5"
--- Iteration 5 --
-string(5) "-ma.5"
--- Iteration 6 --
-string(12) "ta5aaaaaaaaa"
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Arr0y"
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Arr0y"
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Arr0y"
--- Iteration 10 --
-string(1) "t"
--- Iteration 11 --
-string(0) ""
--- Iteration 12 --
-string(1) "t"
--- Iteration 13 --
-string(0) ""
--- Iteration 14 --
-string(0) ""
--- Iteration 15 --
-string(0) ""
--- Iteration 16 --
-string(13) "s02ple objec1"
--- Iteration 17 --
-string(%d) "Resource id #5"
--- Iteration 18 --
-string(0) ""
--- Iteration 19 --
-string(0) ""
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'str' ***
--- Iteration 1 --
 unicode(1) "a"
 -- Iteration 2 --
 unicode(1) "t"
index 067f10bae47327ccf36cb5638f01cfc6c3d62a53..65149d462c24f5e4c8e11c308679d528d32f7147 100644 (file)
@@ -91,53 +91,6 @@ echo "*** Done ***";
 --EXPECTF--
 *** Testing strtr() function: with unexpected inputs for 'from' ***
 -- Iteration 1 --
-string(6) "a12atm"
--- Iteration 2 --
-string(6) "0a2atm"
--- Iteration 3 --
-string(6) "01tatm"
--- Iteration 4 --
-string(6) "ta2atm"
--- Iteration 5 --
-string(6) "m1tatm"
--- Iteration 6 --
-string(6) "2a2atm"
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "0120tm"
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "0120tm"
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "0120tm"
--- Iteration 10 --
-string(6) "0a2atm"
--- Iteration 11 --
-string(6) "012atm"
--- Iteration 12 --
-string(6) "0a2atm"
--- Iteration 13 --
-string(6) "012atm"
--- Iteration 14 --
-string(6) "012atm"
--- Iteration 15 --
-string(6) "012atm"
--- Iteration 16 --
-string(6) "012ttm"
--- Iteration 17 --
-string(6) "012atm"
--- Iteration 18 --
-string(6) "012atm"
--- Iteration 19 --
-string(6) "012atm"
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'from' ***
--- Iteration 1 --
 unicode(6) "a12atm"
 -- Iteration 2 --
 unicode(6) "0a2atm"
index 136c1f665e7289ac08e409e4129cf24d3b1dc3eb..b1e028716ed38eb6d9a58853e6bf62164b9608f4 100644 (file)
@@ -91,72 +91,6 @@ echo "*** Done ***";
 --EXPECTF--
 *** Testing strtr() function: with unexpected inputs for 'to' ***
 
--- Iteration 1 --
-string(6) "0120tm"
-
--- Iteration 2 --
-string(6) "0121tm"
-
--- Iteration 3 --
-string(6) "012-2m"
-
--- Iteration 4 --
-string(6) "51210."
-
--- Iteration 5 --
-string(6) ".52-20"
-
--- Iteration 6 --
-string(6) "000105"
-
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "ay2Arr"
-
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "ay2Arr"
-
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-string(6) "ay2Arr"
-
--- Iteration 10 --
-string(6) "0121tm"
-
--- Iteration 11 --
-string(6) "012atm"
-
--- Iteration 12 --
-string(6) "0121tm"
-
--- Iteration 13 --
-string(6) "012atm"
-
--- Iteration 14 --
-string(6) "012atm"
-
--- Iteration 15 --
-string(6) "012atm"
-
--- Iteration 16 --
-string(6) "plesam"
-
--- Iteration 17 --
-string(6) "ourRes"
-
--- Iteration 18 --
-string(6) "012atm"
-
--- Iteration 19 --
-string(6) "012atm"
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'to' ***
-
 -- Iteration 1 --
 unicode(6) "0120tm"
 
index 667ebb116025fccdedfdac736d10c6e1fda015db..b129145e22b87eb38bbe24ecf1f2e00b44ebbb33 100644 (file)
@@ -118,98 +118,6 @@ bool(false)
 Warning: strtr(): The second argument is not an array in %s on line %d
 bool(false)
 
--- Iteration 7 --
-string(6) "012atm"
-
--- Iteration 8 --
-string(6) "012atm"
-
--- Iteration 9 --
-string(6) "122atm"
-
--- Iteration 10 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 12 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 13 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 14 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 15 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 16 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 17 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 18 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 19 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for 'replace_pairs' ***
-
--- Iteration 1 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 2 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 3 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 4 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 5 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 6 --
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
 -- Iteration 7 --
 unicode(6) "012atm"
 
index 494f71907b20bab59f6a18dac5a705bc53d92300..271618bd223de4e4e2502a119a63e350152dfa4a 100644 (file)
@@ -85,165 +85,6 @@ echo "*** Done ***";
 --EXPECTF--
 *** Testing strtr() function: with unexpected inputs for all arguments ***
 
--- Iteration 1 --
-string(1) "0"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 2 --
-string(1) "1"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 3 --
-string(2) "-2"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 4 --
-string(4) "10.5"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 5 --
-string(5) "-20.5"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 6 --
-string(12) "105000000000"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 7 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 8 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 9 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
--- Iteration 12 --
-string(1) "1"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 13 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 14 --
-string(1) "1"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 15 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 16 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 17 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 18 --
-string(9) "My String"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 19 --
-string(%d) "Resource id #5"
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 20 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-
--- Iteration 21 --
-string(0) ""
-
-Warning: strtr(): The second argument is not an array in %s on line %d
-bool(false)
-*** Done ***
---UEXPECTF--
-*** Testing strtr() function: with unexpected inputs for all arguments ***
-
 -- Iteration 1 --
 unicode(1) "0"
 
index fd82ab91551ba6806738efd8f1c0424378ccb0ef..7a4ebe4aa5dee2caab15e6ebb07cda6099c74993 100644 (file)
@@ -14,17 +14,6 @@ var_dump(strval(false));
 var_dump(strval(array('foo')));
 ?>
 --EXPECTF--
-string(3) "bar"
-string(3) "BAR"
-string(6) "foobar"
-string(1) "1"
-string(3) "1.1"
-string(1) "1"
-string(0) ""
-
-Notice: Array to string conversion in %sstrval.php on line 11
-string(5) "Array"
---UEXPECTF--
 unicode(3) "bar"
 unicode(3) "BAR"
 unicode(6) "foobar"
index d98fb4e4f1b1f0a2cb270cf00ba7918e3ca5ae5c..eda3f4c80886e6f9ae03d9c9da899b7af94f083f 100644 (file)
Binary files a/ext/standard/tests/strings/substr.phpt and b/ext/standard/tests/strings/substr.phpt differ
index 2d6749aaf21b3c60671ceb418cd6e5a66e56ffac..86f8891e7f3497c5a6c7da0037e200bc3474b1b6 100644 (file)
@@ -36,27 +36,6 @@ Test
 Warning: substr_compare(): The length must be greater than zero in %s on line %d
 bool(false)
 
-Warning: substr_compare() expects parameter 4 to be long, string given in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-int(0)
-int(0)
-int(0)
-int(1)
-int(-1)
-
-Warning: substr_compare(): The start position cannot exceed initial string length in %s on line %d
-bool(false)
-int(0)
-
-Warning: substr_compare() expects parameter 5 to be boolean, object given in %s on line %d
-bool(false)
-Test
-
-Warning: substr_compare(): The length must be greater than zero in %s on line %d
-bool(false)
-
 Warning: substr_compare() expects parameter 4 to be long, Unicode string given in %s on line %d
 bool(false)
 Done
index 5aa3c9d2cd9f5e7a7c5ffd8c52e8c1e8cc4fe5d8..d7662cd95fe1509d085b44da0f281fd8544509b8 100644 (file)
@@ -19,19 +19,7 @@ var_dump(substr_count($a, "bca", 200, 50));
 echo "Done\n"; 
 
 ?>
---EXPECTF--
-***Testing basic operations ***
-bool(false)
-bool(false)
-int(0)
-int(0)
-int(0)
-int(100)
-int(200)
-int(160)
-int(10)
-Done
---UEXPECTF--
+--EXPECT--
 ***Testing basic operations ***
 bool(false)
 bool(false)
index 6892ed88ed585435826c3318a42954aa1a6c3db5..129ece249e85df9b0d52ce9b4343667e4bc1dfd6 100644 (file)
@@ -68,51 +68,6 @@ int(2)
 
 -- 3rd or 4th arg as NULL --
 
-Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d
-NULL
-
-Warning: substr_count() expects parameter 3 to be long, string given in %s on line %d
-NULL
-int(0)
-int(2)
-
--- overlapped substrings --
-int(2)
-int(2)
-
--- complex strings containing other than 7-bit chars --
-int(2)
-int(2)
-int(1)
-
--- heredoc string --
-int(14)
-int(16)
-
--- heredoc null string --
-int(0)
-int(0)
-int(0)
-Done
---UEXPECTF--
-*** Testing possible variations ***
--- 3rd or 4th arg as string --
-int(1)
-int(1)
-
-Notice: A non well formed numeric value encountered in %s on line %d
-int(2)
-
-Notice: A non well formed numeric value encountered in %s on line %d
-
-Notice: A non well formed numeric value encountered in %s on line %d
-int(2)
-
--- 3rd or 4th arg as NULL --
-
 Warning: substr_count() expects parameter 3 to be long, Unicode string given in %s on line %d
 NULL
 
index 77aef8cdfedafdcc060f7ee16b244e0a37936a81..a1310a22b5dda95d6e1c19fc9338958f08a86b15 100644 (file)
@@ -34,24 +34,7 @@ var_dump(substr_count($str, "0"));
 echo "Done\n"; 
 
 ?>
---EXPECTF--
-*** Testing possible variations ***
-
--- complex strings containing other than 7-bit chars --
-int(2)
-int(2)
-int(1)
-
--- heredoc string --
-int(14)
-int(16)
-
--- heredoc null string --
-int(0)
-int(0)
-int(0)
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing possible variations ***
 
 -- complex strings containing other than 7-bit chars --
index a0c338e8eefa9cf20781ceb7a6053786596db08d..9f2cf99f383b0420b8e41ce328469c88400ff9fc 100644 (file)
@@ -447,368 +447,6 @@ echo "\n";
 ?>
 --EXPECT--
 substr_replace('try this', 'bala ', 2)
-string(7) "trbala "
-
-substr_replace('try this', 'bala ', 2, 3)
-string(10) "trbala his"
-
-substr_replace('try this', 'bala ', 2, 0)
-string(13) "trbala y this"
-
-substr_replace('try this', 'bala ', 2, -2)
-string(9) "trbala is"
-
-
-
-substr_replace('try this', array (  0 => 'bala ',), 4
-string(9) "try bala "
-
-substr_replace('try this', array (  0 => 'bala ',), 4
-string(10) "try bala s"
-
-
-
-
-substr_replace(array (  0 => 'ala portokala',), array (  0 => 'bala ',), array (  0 => 4,)
-array(1) {
-  [0]=>
-  string(9) "ala bala "
-}
-
-substr_replace(array (  0 => 'ala portokala',), array (  0 => 'bala ',), array (  0 => 4,), array (  0 => 3,))
-array(1) {
-  [0]=>
-  string(15) "ala bala tokala"
-}
-
-substr_replace(array (  0 => 'ala portokala',), array (  0 => 'bala ',), array (  0 => 4,), array (  0 => 0,))
-array(1) {
-  [0]=>
-  string(18) "ala bala portokala"
-}
-
-substr_replace(array (  0 => 'ala portokala',), array (  0 => 'bala ',), array (  0 => 4,), array (  0 => -2,))
-array(1) {
-  [0]=>
-  string(11) "ala bala la"
-}
-
-
-
-substr_replace(array (  0 => 'ala portokala',), 'bala ',4)
-array(1) {
-  [0]=>
-  string(9) "ala bala "
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),4, 3)
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(5) "try s"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',4, 3)
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(10) "try bala s"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),4, 0)
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(8) "try this"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',4, 0)
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(13) "try bala this"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),4, -2)
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(6) "try is"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',4, -2)
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(11) "try bala is"
-}
-
-
-
-
-
-
-substr_replace(array (  0 => 'ala portokala',), 'bala ',array (  0 => 4,))
-array(1) {
-  [0]=>
-  string(9) "ala bala "
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,), 3)
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(5) " this"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,), 3)
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(10) "bala  this"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,), 0)
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(8) "try this"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,), 0)
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(13) "bala try this"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,), -2)
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(2) "is"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,), -2)
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(7) "bala is"
-}
-
-
-
-
-
-
-
-substr_replace(array (  0 => 'ala portokala',), 'bala ',array (  0 => 4,  1 => 2,))
-array(1) {
-  [0]=>
-  string(9) "ala bala "
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), 3)
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(5) "trhis"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), 3)
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(10) "trbala his"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), 0)
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(8) "try this"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), 0)
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(13) "trbala y this"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), -2)
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(4) "tris"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), -2)
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(9) "trbala is"
-}
-
-
-
-
-
-
-
-substr_replace(array (  0 => 'ala portokala',), 'bala ',array (  0 => 4,  1 => 2,))
-array(1) {
-  [0]=>
-  string(9) "ala bala "
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), array (  0 => 3,))
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(2) "tr"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), array (  0 => 3,))
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(7) "trbala "
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), array (  0 => 0,))
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(2) "tr"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), array (  0 => 0,))
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(7) "trbala "
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), array (  0 => -2,))
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(2) "tr"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), array (  0 => -2,))
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(7) "trbala "
-}
-
-
-
-
-
-
-
-substr_replace(array (  0 => 'ala portokala',), 'bala ',array (  0 => 4,  1 => 2,))
-array(1) {
-  [0]=>
-  string(9) "ala bala "
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), array (  0 => 3,  1 => 2,))
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(6) "trthis"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), array (  0 => 3,  1 => 2,))
-array(2) {
-  [0]=>
-  string(15) "ala bala tokala"
-  [1]=>
-  string(11) "trbala this"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), array (  0 => 0,  1 => 0,))
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(8) "try this"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), array (  0 => 0,  1 => 0,))
-array(2) {
-  [0]=>
-  string(18) "ala bala portokala"
-  [1]=>
-  string(13) "trbala y this"
-}
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), array (  0 => 'bala ',),array (  0 => 4,  1 => 2,), array (  0 => -2,  1 => -3,))
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(5) "trhis"
-}
-
-
-substr_replace(array (  0 => 'ala portokala',  1 => 'try this',), 'bala ',array (  0 => 4,  1 => 2,), array (  0 => -2,  1 => -3,))
-array(2) {
-  [0]=>
-  string(11) "ala bala la"
-  [1]=>
-  string(10) "trbala his"
-}
---UEXPECT--
-substr_replace('try this', 'bala ', 2)
 unicode(7) "trbala "
 
 substr_replace('try this', 'bala ', 2, 3)
index f5f86c688502dcb8d13947c184d14845e25e93b2..977d1d04b532ed8f441d931b4b8bbc0345c37d14 100644 (file)
Binary files a/ext/standard/tests/strings/trim1.phpt and b/ext/standard/tests/strings/trim1.phpt differ
index e67d5364a9ed6e1b085df692251e3113d04cdc90..6bb1402d691e7fd18426b77a8ae9354c25ff2fc1 100644 (file)
@@ -9,8 +9,4 @@ echo ucfirst("ßen"), "\n";
 --EXPECT--
 Peren
 Appelen
-ßen
---UEXPECT--
-Peren
-Appelen
 SSen
index 8dc4b36c40f4714adee5d87d6959c32ffb9eca9c..6f906c90a2493c577311b9f43efb39d7dcfa112a 100644 (file)
Binary files a/ext/standard/tests/strings/ucfirst1.phpt and b/ext/standard/tests/strings/ucfirst1.phpt differ
index c3c54259b8b7fcb28413af2c11c29ae72ebe6024..3f5cecac8ae9c4d51a49441e553e2b035c5cb11f 100644 (file)
@@ -41,48 +41,7 @@ for($index = 0; $index < count($str_array); $index++) {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing ucwords() : basic functionality ***
--- Iteration 1 --
-string(15) "Testing Ucwords"
--- Iteration 2 --
-string(15) "Testing Ucwords"
--- Iteration 3 --
-string(16) "Testing\tucwords"
--- Iteration 4 --
-string(15) "Testing    Ucwords"
--- Iteration 5 --
-string(15) "Testing
-Ucwords"
--- Iteration 6 --
-string(16) "Testing\nucwords"
--- Iteration 7 --
-string(15) "Testing\vUcwords"
--- Iteration 8 --
-string(16) "Testing\vucwords"
--- Iteration 9 --
-string(7) "Testing"
--- Iteration 10 --
-string(7) "Testing"
--- Iteration 11 --
-string(8) " Testing"
--- Iteration 12 --
-string(8) " Testing"
--- Iteration 13 --
-string(16) "Testing  Ucwords"
--- Iteration 14 --
-string(16) "Testing  Ucwords"
--- Iteration 15 --
-string(16) "Testing\rucwords"
--- Iteration 16 --
-string(15) "Testing
-Ucwords"
--- Iteration 17 --
-string(16) "Testing\fucwords"
--- Iteration 18 --
-string(15) "Testing\fUcwords"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing ucwords() : basic functionality ***
 -- Iteration 1 --
 unicode(15) "Testing Ucwords"
index fe398cd812f6a210d312bb8c2f39cafd10893a15..d245dec0469bcead08af42941388b4840cbacdbc 100644 (file)
@@ -35,20 +35,6 @@ NULL
 
 -- Testing ucwords() function with more than expected no. of arguments --
 
-Warning: ucwords() expects exactly 1 parameter, 2 given in %s on line %d
-NULL
-string(10) "string_val"
-Done
---UEXPECTF--
-*** Testing ucwords() : error conditions ***
-
--- Testing ucwords() function with Zero arguments --
-
-Warning: ucwords() expects exactly 1 parameter, 0 given in %s on line %d
-NULL
-
--- Testing ucwords() function with more than expected no. of arguments --
-
 Warning: ucwords() expects exactly 1 parameter, 2 given in %s on line %d
 NULL
 unicode(10) "string_val"
index 27666699fe5eaca5e953ea2d782af8d1065bab50..9b7ca68e8ca28ada5061af0a833986a5393f0fe3 100644 (file)
@@ -113,95 +113,6 @@ echo "Done\n";
 --EXPECTF--
 *** Testing ucwords() : usage variations ***
 
---- Testing ucwords() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
--- Iteration 4 --
-string(5) "-2345"
--- Iteration 5 --
-string(2) "16"
--- Iteration 6 --
-string(2) "32"
--- Iteration 7 --
-string(3) "170"
--- Iteration 8 --
-string(4) "-245"
--- Iteration 9 --
-string(2) "83"
--- Iteration 10 --
-string(4) "-226"
--- Iteration 11 --
-string(4) "10.5"
--- Iteration 12 --
-string(5) "-10.5"
--- Iteration 13 --
-string(12) "101234567000"
--- Iteration 14 --
-string(13) "1.07654321E-9"
--- Iteration 15 --
-string(3) "0.5"
--- Iteration 16 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 17 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 18 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 19 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-NULL
--- Iteration 21 --
-string(1) "1"
--- Iteration 22 --
-string(0) ""
--- Iteration 23 --
-string(1) "1"
--- Iteration 24 --
-string(0) ""
--- Iteration 25 --
-string(8) "MyString"
--- Iteration 26 --
-string(0) ""
--- Iteration 27 --
-string(0) ""
--- Iteration 28 --
-string(0) ""
--- Iteration 29 --
-string(0) ""
--- Iteration 30 --
-string(5) "0x123"
--- Iteration 31 --
-string(5) "0x123"
--- Iteration 32 --
-string(6) "0xFF12"
--- Iteration 33 --
-string(7) "-0xFF12"
--- Iteration 34 --
-string(0) ""
--- Iteration 35 --
-string(0) ""
--- Iteration 36 --
-
-Warning: ucwords() expects parameter 1 to be string (Unicode or binary), resource given in %s on line %d
-NULL
-Done
---UEXPECTF--
-*** Testing ucwords() : usage variations ***
-
 --- Testing ucwords() by supplying different values for 'str' argument ---
 -- Iteration 1 --
 unicode(1) "0"
index b3b0b31eb72a9475806758ee1fd3441f6916398f..05cd3e12a5e3fc3120e771a6baa50bec52ac7536 100644 (file)
@@ -69,34 +69,7 @@ for($index =0; $index < count($heredoc_strings); $index ++) {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing ucwords() : usage variations ***
--- Iteration 1 --
-string(0) ""
--- Iteration 2 --
-string(0) ""
--- Iteration 3 --
-string(52) "Testing Ucword() With
-Multiline String Using
-Heredoc"
--- Iteration 4 --
-string(93) "Testing
-Ucword(str)    With
-Multiline   String             Using
-Heredoc
-String.with\vDifferent\fWhite\vSpaces"
--- Iteration 5 --
-string(53) "12sting 123string 4567
-String 123string
-12 Test
-5test"
--- Iteration 6 --
-string(108) "It's Bright,but I Cann't See It.
-"things In Double Quote"
-'things In Single Quote'
-This\line Is /with\slashs"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing ucwords() : usage variations ***
 -- Iteration 1 --
 unicode(0) ""
index 700e8d8fef85d1c795f57eee3e2f48ee57ae4619..46ac9c74f0cecaa3bfe19fa930776c2222f5c06a 100644 (file)
@@ -56,46 +56,7 @@ for($index = 0; $index < count($str_array); $index++) {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing ucwords() : usage variations ***
--- Iteration 1 --
-string(18) "Testing    Ucwords"
--- Iteration 2 --
-string(30) "T E S T I N G   U C W O R D S "
--- Iteration 3 --
-string(25) "Testing Function(ucwords)"
--- Iteration 4 --
-string(38) "(testing ( Function (ucwords) )a )test"
--- Iteration 5 --
-string(3) "(t)"
--- Iteration 6 --
-string(7) " ( T )t"
--- Iteration 7 --
-string(24) ""testing",ucwords,"test""
--- Iteration 8 --
-string(14) ""t""t",test, T"
--- Iteration 9 --
-string(11) "'t 't',test"
--- Iteration 10 --
-string(27) "\ttesting\ttesting\tucwords"
--- Iteration 11 --
-string(32) "Testing\rucwords Testing Ucwords"
--- Iteration 12 --
-string(37) "Testing\fucwords \f Testing \nucwords"
--- Iteration 13 --
-string(39) "\ntesting\nucwords\n Testing \n Ucwords"
--- Iteration 14 --
-string(20) "Using\vvertical\vtab"
--- Iteration 15 --
-string(42) "T@@#$% %test ^test &test *test +test -test"
--- Iteration 16 --
-string(40) "!test ~test `test` =test= @test@test.com"
--- Iteration 17 --
-string(40) "/test/r\test\ Ucwords\t\y\yu\3 \yy\ /uu/"
--- Iteration 18 --
-string(16) "!@#$%^&*()_+=-`~"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing ucwords() : usage variations ***
 -- Iteration 1 --
 unicode(18) "Testing    Ucwords"
index 8a78db816aea3f7912d2e393ec5339164ad6df2c..840d58ca609fa3f56f161255b28fa171a77c0eda 100644 (file)
@@ -63,67 +63,7 @@ for($index = 0; $index < count($str_array); $index++) {
 
 echo "Done\n";
 ?>
---EXPECTF--
-*** Testing ucwords() : usage variations ***
--- Iteration 1 --
-string(18) "Testing    Ucwords"
--- Iteration 2 --
-string(30) "T E S T I N G   U C W O R D S "
--- Iteration 3 --
-string(25) "Testing Function(ucwords)"
--- Iteration 4 --
-string(38) "(testing ( Function (ucwords) )a )test"
--- Iteration 5 --
-string(3) "(t)"
--- Iteration 6 --
-string(7) " ( T )t"
--- Iteration 7 --
-string(24) ""testing",ucwords,"test""
--- Iteration 8 --
-string(14) ""t""t",test, T"
--- Iteration 9 --
-string(14) "\'t \'t\',test"
--- Iteration 10 --
-string(10) "Jack's Pen"
--- Iteration 11 --
-string(14) "P't'y 't It's "
--- Iteration 12 --
-string(24) "   Testing Testing Ucwords"
--- Iteration 13 --
-string(26) "\ttesting\ttesting Ucwords"
--- Iteration 14 --
-string(31) "Testing
-Ucwords Testing Ucwords"
--- Iteration 15 --
-string(32) "Testing\rucwords Testing Ucwords"
--- Iteration 16 --
-string(34) "Testing\fUcwords \f Testing 
-Ucwords"
--- Iteration 17 --
-string(36) "Testing\fucwords \f Testing 
-Ucwords"
--- Iteration 18 --
-string(35) "
-Testing
-Ucwords
- Testing 
- Ucwords"
--- Iteration 19 --
-string(39) "\ntesting\nucwords\n Testing \n Ucwords"
--- Iteration 20 --
-string(18) "Using\vVertical\vTab"
--- Iteration 21 --
-string(20) "Using\vvertical\vtab"
--- Iteration 22 --
-string(42) "T@@#$% %test ^test &test *test +test -test"
--- Iteration 23 --
-string(40) "!test ~test `test` =test= @test@test.com"
--- Iteration 24 --
-string(36) "/test/r    Est\ Ucwords    \y\y\ 3 \yy\ /uu/"
--- Iteration 25 --
-string(16) "!@#$%^&*()_+=-`~"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing ucwords() : usage variations ***
 -- Iteration 1 --
 unicode(18) "Testing    Ucwords"
index 26f3f2eaf974da81bf8a4c93d2215cf7193d77a4..3a6068be7179a185f3dfd8c71826e789b7459910 100644 (file)
@@ -8,4 +8,4 @@ Invalid format type validation
 --EXPECTF--
 Warning: unpack(): Invalid format type - in %sunpack.php on line %d
 bool(false)
-Done
\ No newline at end of file
+Done
index 42e2f1e92bab6683bacb9031985897df4dd0965c..673fbcb71d69bbe086c74721d01178d8f7b2afd1 100644 (file)
@@ -84,633 +84,6 @@ $sample_urls = array (
     }
 ?>
 --EXPECT--
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-array(1) {
-  ["path"]=>
-  string(12) "64.246.30.37"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(12) "64.246.30.37"
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(12) "64.246.30.37"
-  ["path"]=>
-  string(1) "/"
-}
-array(1) {
-  ["path"]=>
-  string(13) "64.246.30.37/"
-}
-array(3) {
-  ["host"]=>
-  string(12) "64.246.30.37"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-array(1) {
-  ["path"]=>
-  string(7) "php.net"
-}
-array(1) {
-  ["path"]=>
-  string(8) "php.net/"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "php.net"
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "php.net"
-  ["path"]=>
-  string(1) "/"
-}
-array(1) {
-  ["path"]=>
-  string(11) "www.php.net"
-}
-array(1) {
-  ["path"]=>
-  string(12) "www.php.net/"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(1) "/"
-}
-array(2) {
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(10) "/index.php"
-}
-array(1) {
-  ["path"]=>
-  string(12) "www.php.net/"
-}
-array(3) {
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(1) "/"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(18) "/foo/bar/index.php"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-  ["query"]=>
-  string(37) "lots=1&of=2&parameters=3&too=4&here=5"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(45) "/this/is/a/very/deep/directory/structure/and/"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(28) "/this/../a/../deep/directory"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(29) "/this/../a/../deep/directory/"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(42) "/this/is/a/very/deep/directory/../file.php"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-}
-array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-  ["fragment"]=>
-  string(3) "foo"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-  ["query"]=>
-  string(6) "test=1"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(1) "/"
-  ["query"]=>
-  string(7) "test=1&"
-}
-array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-  ["query"]=>
-  string(1) "&"
-}
-array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(7) "test=1&"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(1) "&"
-}
-array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(4) "foo&"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(4) "&foo"
-}
-array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-}
-array(5) {
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(6) "secret"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-array(6) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["user"]=>
-  string(6) "secret"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["pass"]=>
-  string(7) "hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["user"]=>
-  string(6) "secret"
-  ["pass"]=>
-  string(7) "hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(14) "secret@hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-array(8) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(6) "secret"
-  ["pass"]=>
-  string(7) "hid:out"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "nntp"
-  ["host"]=>
-  string(12) "news.php.net"
-}
-array(3) {
-  ["scheme"]=>
-  string(3) "ftp"
-  ["host"]=>
-  string(11) "ftp.gnu.org"
-  ["path"]=>
-  string(22) "/gnu/glic/glibc.tar.gz"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "zlib"
-  ["path"]=>
-  string(14) "http://foo@bar"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "zlib"
-  ["path"]=>
-  string(12) "filename.txt"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "zlib"
-  ["path"]=>
-  string(25) "/path/to/my/file/file.txt"
-}
-array(3) {
-  ["scheme"]=>
-  string(3) "foo"
-  ["host"]=>
-  string(3) "bar"
-  ["user"]=>
-  string(3) "foo"
-}
-array(2) {
-  ["scheme"]=>
-  string(6) "mailto"
-  ["path"]=>
-  string(15) "me@mydomain.com"
-}
-array(2) {
-  ["path"]=>
-  string(8) "/foo.php"
-  ["query"]=>
-  string(7) "a=b&c=d"
-}
-array(2) {
-  ["path"]=>
-  string(7) "foo.php"
-  ["query"]=>
-  string(7) "a=b&c=d"
-}
-array(6) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(15) "www.example.com"
-  ["port"]=>
-  int(8080)
-  ["user"]=>
-  string(4) "user"
-  ["pass"]=>
-  string(6) "passwd"
-  ["query"]=>
-  string(12) "bar=1&boom=0"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(13) "/path/to/file"
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "file"
-  ["host"]=>
-  string(4) "path"
-  ["path"]=>
-  string(8) "/to/file"
-}
-array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(13) "/path/to/file"
-}
-array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "1.2.3.4"
-  ["path"]=>
-  string(8) "/abc.asp"
-  ["query"]=>
-  string(7) "a=1&b=2"
-}
-array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "foo.com"
-  ["fragment"]=>
-  string(3) "bar"
-}
-array(1) {
-  ["scheme"]=>
-  string(6) "scheme"
-}
-array(4) {
-  ["scheme"]=>
-  string(7) "foo+bar"
-  ["host"]=>
-  string(4) "bang"
-  ["user"]=>
-  string(3) "baz"
-  ["path"]=>
-  string(4) "/bla"
-}
-array(2) {
-  ["scheme"]=>
-  string(2) "gg"
-  ["path"]=>
-  string(7) "9130731"
-}
-array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(4) "host"
-  ["user"]=>
-  string(4) "user"
-  ["pass"]=>
-  string(5) "@pass"
-  ["path"]=>
-  string(5) "/path"
-  ["query"]=>
-  string(14) "argument?value"
-  ["fragment"]=>
-  string(3) "etc"
-}
-string(4) "http"
-string(11) "www.php.net"
-int(80)
-string(6) "secret"
-string(7) "hideout"
-string(10) "/index.php"
-string(31) "test=1&test2=char&test3=mixesCI"
-string(16) "some_page_ref123"
---UEXPECT--
 array(1) {
   [u"path"]=>
   unicode(0) ""
index f5905fd9eb9242f3eaabfe1c3df3a38ae333f382..fdc892cdf99fe5fe60c17d5975df884570b78b81 100644 (file)
@@ -17,28 +17,7 @@ var_dump(convert_uudecode(substr($enc, 0, -10)));
 
 echo "Done\n";
 ?>
---EXPECTF--    
-Warning: convert_uuencode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-bool(false)
-
-Warning: convert_uudecode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
-bool(false)
-bool(false)
-bool(false)
-string(60) "J?B%`(R0E7B8J*"E??7M03TE5651215=145-$1D=(2DM,.CQ-3D)60UA:
-`
-"
-string(1) "%s"
-string(42) "~!@#$%^&*()_}{POIUYTREWQQSDFGHJKL:<MNBVCXZ"
-string(36) "6;F]T('9E<GD@<V]P:&ES=&EC871E9```
-`
-"
-string(22) "not very sophisticated"
-
-Warning: convert_uudecode(): The given parameter is not a valid uuencoded string in %s on line %d
-bool(false)
-Done
---UEXPECTF--
+--EXPECTF--
 Warning: convert_uuencode() expects parameter 1 to be string (Unicode or binary), array given in %s on line %d
 bool(false)
 
index 2f0b76cab494fcfb0c06690c666271ed1d16004a..f2b3fe05ab4bd19589b0e1ef485cd8c00374252b 100644 (file)
@@ -25,14 +25,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using string format ***
-string(3) "one"
-string(7) "one two"
-string(13) "one two three"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using string format ***
 unicode(3) "one"
 unicode(7) "one two"
index 9c372d706a43d02fcbadd08a14eb776e51024372..09f85352717096ec1d1d29dde62cd53d61d14475 100644 (file)
@@ -28,14 +28,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using integer format ***
-string(3) "111"
-string(7) "111 222"
-string(11) "111 222 333"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using integer format ***
 unicode(3) "111"
 unicode(7) "111 222"
index 7a18066ac9fcefb1ac322a1816d5e680e0ced450..0cbfa980f12386d37d6dffee9b4156dfc26b35ae 100644 (file)
@@ -34,17 +34,7 @@ var_dump( vsprintf($format33,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using float format ***
-string(9) "11.110000"
-string(9) "11.110000"
-string(19) "11.110000 22.220000"
-string(19) "11.110000 22.220000"
-string(29) "11.110000 22.220000 33.330000"
-string(29) "11.110000 22.220000 33.330000"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using float format ***
 unicode(9) "11.110000"
 unicode(9) "11.110000"
index af273385c6bf54b294d52a24547586de3ecd2838..5f7253859386668c6cd0a3583df2c9c9820c0732 100644 (file)
@@ -24,14 +24,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using bool format ***
-string(1) "1"
-string(3) "1 0"
-string(5) "1 0 1"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using bool format ***
 unicode(1) "1"
 unicode(3) "1 0"
index 05f864372dd44e51e66884c4332e6b0ee7c92c23..1fe33240e80002329169c88616833aaeb65f19d7 100644 (file)
@@ -24,14 +24,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using char format ***
-string(1) "A"
-string(3) "A B"
-string(5) "A B C"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using char format ***
 unicode(1) "A"
 unicode(3) "A B"
index bcd316ac22bf9eff01330dc7f4234c94bb0816a0..ac6e4cf478cd4bbf00c472b55cfb059bdcd0b650 100644 (file)
@@ -24,14 +24,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using exponential format ***
-string(11) "1.000000e+3"
-string(23) "1.000000e+3 2.000000e+3"
-string(35) "1.000000e+3 2.000000e+3 3.000000e+3"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using exponential format ***
 unicode(11) "1.000000e+3"
 unicode(23) "1.000000e+3 2.000000e+3"
index e0e339a7ee2e6ce722252c49fd076ff4a75ee86b..c6ff7a3418917771ddbd2902811e309cc6d4c3fc 100644 (file)
@@ -28,14 +28,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using unsigned format ***
-string(10) "4294966185"
-string(21) "4294966185 4293732729"
-string(32) "4294966185 4293732729 4292621864"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using unsigned format ***
 unicode(10) "4294966185"
 unicode(21) "4294966185 4293732729"
index 6590b0f99ffe4ef9477b5152451bb08ff284ec98..851beb895dd7914d20019529ad5903c66a08e3e9 100644 (file)
@@ -28,13 +28,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using unsigned format ***
-string(20) "18446744073709550505"
-string(41) "18446744073709550505 18446744073708317049"
-string(62) "18446744073709550505 18446744073708317049 18446744073707206184"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using unsigned format ***
 unicode(20) "18446744073709550505"
 unicode(41) "18446744073709550505 18446744073708317049"
index 130f72d9653ac1dac96bd31a21ee5ff665d84b27..34a698f24b3b1f813955bd3c4a3262ca56c2b74d 100644 (file)
@@ -24,14 +24,7 @@ var_dump( vsprintf($format3,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using octal format ***
-string(2) "21"
-string(6) "21 347"
-string(10) "21 347 567"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using octal format ***
 unicode(2) "21"
 unicode(6) "21 347"
index 6759e97bc5760f3d2fdcf7b11d25eab621288675..93958624fe2ed6a464a8213cbcddfe2cbf100386 100644 (file)
@@ -34,17 +34,7 @@ var_dump( vsprintf($format33,$arg3) );
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : basic functionality - using hexadecimal format ***
-string(1) "b"
-string(1) "B"
-string(4) "b 84"
-string(4) "B 84"
-string(7) "b 84 b1"
-string(7) "B 84 B1"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : basic functionality - using hexadecimal format ***
 unicode(1) "b"
 unicode(1) "B"
index 9ed669dbbd3ae8d40d8c1c9ef39cadd4244577a7..0ece4a420f0a44cc419c045e99b823005f82e35b 100644 (file)
@@ -44,22 +44,3 @@ bool(false)
 Warning: Wrong parameter count for vsprintf() in %s on line %d
 bool(false)
 Done
-
---UEXPECTF--
-*** Testing vsprintf() : error conditions ***
-
--- Testing vsprintf() function with Zero arguments --
-
-Warning: Wrong parameter count for vsprintf() in %s on line %d
-bool(false)
-
--- Testing vsprintf() function with less than expected no. of arguments --
-
-Warning: Wrong parameter count for vsprintf() in %s on line %d
-bool(false)
-
--- testing vsprintf() function with more than expected no. of arguments --
-
-Warning: Wrong parameter count for vsprintf() in %s on line %d
-bool(false)
-Done
index 7d567a7ce9b4a01bcb4788e2920c30e22faf7ed6..5a2cc9b13b340e0697cde16f7a6a61902eb1e8af 100644 (file)
@@ -99,97 +99,6 @@ fclose($file_handle);
 echo "Done";
 ?>
 --EXPECTF--
-*** Testing vsprintf() : with unexpected values for format argument ***
-
- -- 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) "101234567000"
-
- -- Iteration 8 --
-string(13) "1.07654321E-9"
-
- -- Iteration 9 --
-string(3) "0.5"
-
- -- Iteration 10 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 11 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 12 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 13 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 14 --
-
-Notice: Array to string conversion in %s on line %d
-string(5) "Array"
-
- -- Iteration 15 --
-string(0) ""
-
- -- Iteration 16 --
-string(0) ""
-
- -- Iteration 17 --
-string(1) "1"
-
- -- Iteration 18 --
-string(0) ""
-
- -- Iteration 19 --
-string(1) "1"
-
- -- Iteration 20 --
-string(0) ""
-
- -- Iteration 21 --
-string(0) ""
-
- -- Iteration 22 --
-string(0) ""
-
- -- Iteration 23 --
-string(6) "object"
-
- -- Iteration 24 --
-string(0) ""
-
- -- Iteration 25 --
-string(0) ""
-
- -- Iteration 26 --
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
 *** Testing vsprintf() : with unexpected values for format argument ***
 
  -- Iteration 1 --
index 8a8e123ea4bad161e79a99f6e1e4719b0ce53d79..e0eac075329e9f97159f868df16d084246e2fede 100644 (file)
Binary files a/ext/standard/tests/strings/vsprintf_variation10.phpt and b/ext/standard/tests/strings/vsprintf_variation10.phpt differ
index a3cc7c734f5157b6072455e2215dd00a607465f7..76574d303a01a20819cd88547eb83761e87c82be 100644 (file)
@@ -57,35 +57,7 @@ foreach($formats as $format) {
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing vsprintf() : octal formats with octal values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(14) "37777777777 1 "
-
--- Iteration 3 --
-string(38) "20000000000 o, 17777777777 20000000001"
-
--- Iteration 4 --
-string(38) "                      37776543211 0000"
-
--- Iteration 5 --
-string(32) "111 2222 37777444445 37733333334"
-
--- Iteration 6 --
-string(17) "11073 7653 123 12"
-
--- Iteration 7 --
-string(6) "% %o o"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : octal formats with octal values ***
 
 -- Iteration 1 --
index 96ba3ace90d339f1a53f250c999f761b65901cb6..3df584010cea657a422c82932367354767ab19d3 100644 (file)
@@ -56,34 +56,7 @@ foreach($formats as $format) {
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing vsprintf() : octal formats with octal values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(25) "1777777777777777777777 1 "
-
--- Iteration 3 --
-string(60) "1777777777760000000000 o, 17777777777 1777777777760000000001"
-
--- Iteration 4 --
-string(49) "                      1777777777777776543211 0000"
-
--- Iteration 5 --
-string(54) "111 2222 1777777777777777444445 1777777777777733333334"
-
--- Iteration 6 --
-string(17) "11073 7653 123 12"
-
--- Iteration 7 --
-string(6) "% %o o"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : octal formats with octal values ***
 
 -- Iteration 1 --
index b61df97fdbdb38b9d6d42cd98e92735b0005d7a7..04c6e35cff0df17fc9d804bbdd0b71394a403899 100644 (file)
@@ -78,46 +78,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : octal formats and non-octal values ***
-
--- Iteration 1 --
-string(116) "2 0 12 
-   361100 o 37777775456 2322
-                          
-   30071 14 37777777764 37777416700
-   12 361100 2 0"
-
--- Iteration 2 --
-string(146) "2 37777777776 2 
-   361100 o 37720715133 57062645
-                          
-   57060664 4475347 37721631371 37720717336
-   2 361100 2 37777777776"
-
--- Iteration 3 --
-string(88) "0 0 0 
-   173 o 37777777605 173 
-                          
-   2322 0 $0 _0
-   0 173 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1 
-   1 o    1 1   
-                          
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0 
-   1 o    0 1   
-                          
-   #0 1 $1 _0
-   0 1 1 1"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : octal formats and non-octal values ***
 
 -- Iteration 1 --
index 5f74b60c56b9313679bd876453f2fc5865222105..6c82e89ea7023619af68832d2c31b0ff5e54baa6 100644 (file)
@@ -78,45 +78,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : octal formats and non-octal values ***
-
--- Iteration 1 --
-string(149) "2 0 12 
-   361100 o 1777777777777777775456 2322
-                          
-   30071 14 1777777777777777777764 1777777777777777416700
-   12 361100 2 0"
-
--- Iteration 2 --
-string(201) "2 1777777777777777777776 2 
-   361100 o 1777777777777720715133 57062645
-                          
-   57060664 4475347 1777777777777721631371 1777777777777720717336
-   2 361100 2 1777777777777777777776"
-
--- Iteration 3 --
-string(99) "0 0 0 
-   173 o 1777777777777777777605 173 
-                          
-   2322 0 $0 _0
-   0 173 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1 
-   1 o    1 1   
-                          
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0 
-   1 o    0 1   
-                          
-   #0 1 $1 _0
-   0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : octal formats and non-octal values ***
 
 -- Iteration 1 --
index dc0b20a4a1d58affc6a6ba015bf39965a4eef14c..c9ada69431f0e6f77d4673b5a802e503d78cff13 100644 (file)
@@ -56,35 +56,7 @@ foreach($formats as $format) {
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing vsprintf() : hexa formats with hexa values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(13) "ffffffff 1 22"
-
--- Iteration 3 --
-string(28) "7fffffff x, 7000000 80000000"
-
--- Iteration 4 --
-string(35) "                      ffed2979 0000"
-
--- Iteration 5 --
-string(22) "#1 2222 1b6db bbbbbbbc"
-
--- Iteration 6 --
-string(12) "123b fab 0 a"
-
--- Iteration 7 --
-string(5) "%34 x"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : hexa formats with hexa values ***
 
 -- Iteration 1 --
index 036aa8c27e556759b0181b1b2c4a6d8cd7a9dc27..235fd6da483accf35def8ca933a74c6f6efd7a2e 100644 (file)
@@ -56,34 +56,7 @@ foreach($formats as $format) {
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing vsprintf() : hexa formats with hexa values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(21) "ffffffffffffffff 1 22"
-
--- Iteration 3 --
-string(36) "7fffffff x, 7000000 ffffffff80000000"
-
--- Iteration 4 --
-string(43) "                      ffffffffffed2979 0000"
-
--- Iteration 5 --
-string(30) "#1 2222 1b6db ffffffffbbbbbbbc"
-
--- Iteration 6 --
-string(12) "123b fab 0 a"
-
--- Iteration 7 --
-string(5) "%34 x"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : hexa formats with hexa values ***
 
 -- Iteration 1 --
index 149b4812f0f070ba996de78629c07728f296f2d5..a037d2c6c0a96eb3d74acbb60d3c4aee7e6ff6fb 100644 (file)
@@ -79,46 +79,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : hexa formats and non-hexa values ***
-
--- Iteration 1 --
-string(101) "2 0 a 
-   1e240 x fffffb2e 4d2 
-                          
-   3039 c fffffff4 fffe1dc0
-   a 1e240 2 0"
-
--- Iteration 2 --
-string(124) "2 fffffffe 2 
-   1e240 x ff439a5b bc65a5
-                          
-   bc61b4 127ae7 ff4732f9 ff439ede
-   2 1e240 2 fffffffe"
-
--- Iteration 3 --
-string(82) "0 0 0 
-   7b x ffffff85 7b  
-                          
-   4d2 0 $0 _0
-   0 7b 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1 
-   1 x    1 1   
-                          
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0 
-   1 x    0 1   
-                          
-   #0 1 $1 _0
-   0 1 1 1"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : hexa formats and non-hexa values ***
 
 -- Iteration 1 --
index 281a8ff9f51f91bc7523fbdbc1a72963d329d6c0..da4a0b8351e2e224be4a6c9b386c00d474ada1bb 100644 (file)
@@ -79,45 +79,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : hexa formats and non-hexa values ***
-
--- Iteration 1 --
-string(125) "2 0 a 
-   1e240 x fffffffffffffb2e 4d2 
-                          
-   3039 c fffffffffffffff4 fffffffffffe1dc0
-   a 1e240 2 0"
-
--- Iteration 2 --
-string(164) "2 fffffffffffffffe 2 
-   1e240 x ffffffffff439a5b bc65a5
-                          
-   bc61b4 127ae7 ffffffffff4732f9 ffffffffff439ede
-   2 1e240 2 fffffffffffffffe"
-
--- Iteration 3 --
-string(90) "0 0 0 
-   7b x ffffffffffffff85 7b  
-                          
-   4d2 0 $0 _0
-   0 7b 0 0"
-
--- Iteration 4 --
-string(75) "1 1 1 
-   1 x    1 1   
-                          
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 5 --
-string(75) "1 1 0 
-   1 x    0 1   
-                          
-   #0 1 $1 _0
-   0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : hexa formats and non-hexa values ***
 
 -- Iteration 1 --
index dfb475e53af98140cf316132fc33cd9d8fef18f2..4026d833d17ca37e988f909ac61111c5279a6071 100644 (file)
@@ -48,25 +48,7 @@ foreach($formats as $format) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and unsigned values ***
-
--- Iteration 1 --
-string(16) "1234567 342391 0"
-
--- Iteration 2 --
-string(23) "2147483647 u 1234 12345"
-
--- Iteration 3 --
-string(25) "   1234000 2147483647 120"
-
--- Iteration 4 --
-string(10) "#1 0 $0 10"
-
--- Iteration 5 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : unsigned formats and unsigned values ***
 
 -- Iteration 1 --
index e10d1a46816e15da1f738f34af41e8cc0ed68c26..9a5e62defb6dbdd12d02e295b57092ebacb5e3e5 100644 (file)
@@ -48,25 +48,7 @@ foreach($formats as $format) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and unsigned values ***
-
--- Iteration 1 --
-string(16) "1234567 342391 0"
-
--- Iteration 2 --
-string(24) "12345678900 u 1234 12345"
-
--- Iteration 3 --
-string(34) "   1234000 9223372036854775807 120"
-
--- Iteration 4 --
-string(10) "#1 0 $0 10"
-
--- Iteration 5 --
-string(7) "1 2 3 4"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : unsigned formats and unsigned values ***
 
 -- Iteration 1 --
index 577ceea135f5590ee2413da74bbe26fbf8513f3c..74bbfb53ca6da9d90e95768956a69948c84400a4 100644 (file)
@@ -71,38 +71,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and signed & other types of values ***
-
--- Iteration 1 --
-string(115) "2 0 10 
-   123456 u 1234 2147483647
-   2147483647 2147483647 12345 
-   12 4294967284 4294843840 _3
-   10 123456 2 0"
-
--- Iteration 2 --
-string(88) "0 0 0 
-   123 u 4294967173 123 
-            0 0          0 
-   1234 0 $0 _0
-   0 123 0 0"
-
--- Iteration 3 --
-string(76) "1 1 1 
-   1 u    1 1   
-            1 1          1 
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 4 --
-string(76) "1 1 0 
-   1 u    0 1   
-            1 1          0 
-   #0 1 $1 _0
-   0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : unsigned formats and signed & other types of values ***
 
 -- Iteration 1 --
index 32e28f0562fecde84ea0ae060971a9f650d6b895..a836dc0ecdba6f4ed39d56a37221ab239e83a1b9 100644 (file)
@@ -71,38 +71,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : unsigned formats and signed & other types of values ***
-
--- Iteration 1 --
-string(143) "2 0 10 
-   123456 u 1234 20000000000
-   2000000000000 22000000000000 12345 
-   12 18446744073709551604 18446744073709428160 _3
-   10 123456 2 0"
-
--- Iteration 2 --
-string(98) "0 0 0 
-   123 u 18446744073709551493 123 
-            0 0          0 
-   1234 0 $0 _0
-   0 123 0 0"
-
--- Iteration 3 --
-string(76) "1 1 1 
-   1 u    1 1   
-            1 1          1 
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 4 --
-string(76) "1 1 0 
-   1 u    0 1   
-            1 1          0 
-   #0 1 $1 _0
-   0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : unsigned formats and signed & other types of values ***
 
 -- Iteration 1 --
index f1a1efdb5f7b9f606178c88d75010f2cba36d5ca..757671b65676361427c0dd8a7125792a72e29690 100644 (file)
@@ -44,26 +44,7 @@ foreach($formats as $format) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : scientific formats and scientific values ***
-
--- Iteration 1 --
-string(36) "0.000000e+0 +1.000000e+0 1.000000e+3"
-
--- Iteration 2 --
-string(38) "2.200000e+2 e 1.000000e+1 1.000000e+10"
-
--- Iteration 3 --
-string(32) "-2.2000e+13 1.0000e+21 1.2000e+2"
-
--- Iteration 4 --
-string(74) "#########1.000000e+1 1.000000e+2 $$$$$$$$-1.000000e+3 _________1.000000e+2"
-
--- Iteration 5 --
-string(47) "1.000000e+3 2.000000e+3 3.000000e+3 4.000000e+3"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : scientific formats and scientific values ***
 
 -- Iteration 1 --
index 23a4056c6f42261450aa342510fe7071ffcb7f80..85a169e774ca6b784ea2eea372d695168290e78e 100644 (file)
@@ -67,39 +67,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : scientific formats and non-scientific values ***
-
--- Iteration 1 --
-string(232) "2.200000e+0 +2.000000e-1 1.020000e+1 
-   1.234562e+5 e -1.234679e+3 1.234679e+3
-    2.0000e+1 2.1220e+2  -4.110000e+11 2.2120e+3
-   1.234578e+4 1.200000e+1 -1.200000e+1 -1.234562e+5
-   1.020000e+1 1.234562e+5 2.200000e+0 2.000000e-1"
-
--- Iteration 2 --
-string(228) "0.000000e+0 +0.000000e+0 0.000000e+0 
-   1.230000e+2 e -1.230000e+2 1.230000e+2
-    0.0000e+0 0.0000e+0  1.234560e+5 0.0000e+0
-   1.234000e+3 0.000000e+0 0.000000e+0 0.000000e+0
-   0.000000e+0 1.230000e+2 0.000000e+0 0.000000e+0"
-
--- Iteration 3 --
-string(227) "1.000000e+0 +1.000000e+0 1.000000e+0 
-   1.000000e+0 e 1.000000e+0 1.000000e+0
-    1.0000e+0 1.0000e+0  1.000000e+0 1.0000e+0
-   1.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0
-   1.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0"
-
--- Iteration 4 --
-string(227) "1.000000e+0 +1.000000e+0 0.000000e+0 
-   1.000000e+0 e 0.000000e+0 1.000000e+0
-    1.0000e+0 0.0000e+0  1.000000e+0 0.0000e+0
-   0.000000e+0 1.000000e+0 1.000000e+0 0.000000e+0
-   0.000000e+0 1.000000e+0 1.000000e+0 1.000000e+0"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : scientific formats and non-scientific values ***
 
 -- Iteration 1 --
index 12648088f825b8abd1e46936d2392b0b32eeb43a..75d3e3d36deecf25469694571ecf45ef29bde698 100644 (file)
@@ -53,44 +53,7 @@ foreach($formats as $format) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : with  white spaces in format strings ***
-
--- Iteration 1 --
-string(13) "111  222  333"
-
--- Iteration 2 --
-string(29) "1.100000  0.200000  -0.600000"
-
--- Iteration 3 --
-string(29) "1.120000  -1.130000  0.230000"
-
--- Iteration 4 --
-string(9) "1  10  11"
-
--- Iteration 5 --
-string(7) "A  B  C"
-
--- Iteration 6 --
-string(38) "2.000000e+1  2.000000e-1  -2.000000e+1"
-
--- Iteration 7 --
-string(18) "4294967285  22  33"
-
--- Iteration 8 --
-string(19) "12  37777777755  23"
-
--- Iteration 9 --
-string(16) "11  ffffffde  33"
-
--- Iteration 10 --
-string(16) "11  FFFFFFDE  33"
-
--- Iteration 11 --
-string(38) "2.000000E+1  2.000000E-1  -2.000000E+1"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : with  white spaces in format strings ***
 
 -- Iteration 1 --
index ebb1933a5a49e6a333a9ae15e7ae38e0c546fb36..9f191cc3a0bb90fc8911ef2020d193df64cca1ff 100644 (file)
@@ -53,43 +53,7 @@ foreach($formats as $format) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : with  white spaces in format strings ***
-
--- Iteration 1 --
-string(13) "111  222  333"
-
--- Iteration 2 --
-string(29) "1.100000  0.200000  -0.600000"
-
--- Iteration 3 --
-string(29) "1.120000  -1.130000  0.230000"
-
--- Iteration 4 --
-string(9) "1  10  11"
-
--- Iteration 5 --
-string(7) "A  B  C"
-
--- Iteration 6 --
-string(38) "2.000000e+1  2.000000e-1  -2.000000e+1"
-
--- Iteration 7 --
-string(28) "18446744073709551605  22  33"
-
--- Iteration 8 --
-string(30) "12  1777777777777777777755  23"
-
--- Iteration 9 --
-string(24) "11  ffffffffffffffde  33"
-
--- Iteration 10 --
-string(24) "11  FFFFFFFFFFFFFFDE  33"
-
--- Iteration 11 --
-string(38) "2.000000E+1  2.000000E-1  -2.000000E+1"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : with  white spaces in format strings ***
 
 -- Iteration 1 --
index dbfaba29d776c863da1742ddfba1c1a6e737596d..a1cdb7515ee92bb671e0202a274e7fe456925563 100644 (file)
@@ -96,88 +96,6 @@ echo "Done";
 --EXPECTF--
 *** Testing vsprintf() : with unexpected values for args argument ***
 
--- 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) "101234567000"
-
--- Iteration 8 --
-string(13) "1.07654321E-9"
-
--- Iteration 9 --
-string(3) "0.5"
-
--- Iteration 10 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 11 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- 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 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 21 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 22 --
-
-Warning: vsprintf(): Too few arguments in %s on line %d
-bool(false)
-
--- Iteration 23 --
-string(%d) "Resource id #%d"
-Done
---UEXPECTF--
-*** Testing vsprintf() : with unexpected values for args argument ***
-
 -- Iteration 1 --
 unicode(1) "0"
 
index bc5077a51c39f92612e4421b024ca4a79f666528..ee27ba30a093bd46e6ea5293c7a0e30191e0e310 100644 (file)
@@ -53,35 +53,7 @@ foreach($formats as $format) {
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing vsprintf() : int formats with int values ***
-
--- Iteration 1 --
-string(1) "0"
-
--- Iteration 2 --
-string(5) "-1 1 "
-
--- Iteration 3 --
-string(36) "2147483647 d, 2147483640 -2147483640"
-
--- Iteration 4 --
-string(38) "    123456 12345678   -1234567 1234567"
-
--- Iteration 5 --
-string(24) "111 2222 333333 44444444"
-
--- Iteration 6 --
-string(15) "4667 4011 83 10"
-
--- Iteration 7 --
-string(8) "%-5678 d"
-
--- Iteration 8 --
-string(7) "1 2 3 4"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : int formats with int values ***
 
 -- Iteration 1 --
index b374d0572a750e7c5994ab7085a73713e38aa49d..9bbbc139583926630da17498d276cafd1dca396e 100644 (file)
@@ -71,38 +71,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : int formats and non-integer values ***
-
--- Iteration 1 --
-string(111) "2 +0 10 
-   123456 d -1234 1234
-   2147483647 200000     4000 22000000
-   12345 12 -12 -123456
-   10 123456 2 0"
-
--- Iteration 2 --
-string(92) "0 +0 0 
-   123 d -123 123 
-            0 0          123456 0000
-   1234 0 $0 _0
-   0 123 0 0"
-
--- Iteration 3 --
-string(81) "1 +1 1 
-   1 d    1 1   
-            1 1          1 0001
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 4 --
-string(81) "1 +1 0 
-   1 d    0 1   
-            1 0          1 0000
-   #0 1 $1 _0
-   0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : int formats and non-integer values ***
 
 -- Iteration 1 --
@@ -133,4 +102,3 @@ unicode(81) "1 +1 0
    #0 1 $1 _0
    0 1 1 1"
 Done
-
index 99f48e9a3c56abcc47c9b98bf3f8e18875374aa2..29119553e81dd6183bd10f6aac567eb3d02ca577 100644 (file)
@@ -71,38 +71,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : int formats and non-integer values ***
-
--- Iteration 1 --
-string(112) "2 +0 10 
-   123456 d -1234 1234
-   20000000000 200000     4000 22000000
-   12345 12 -12 -123456
-   10 123456 2 0"
-
--- Iteration 2 --
-string(92) "0 +0 0 
-   123 d -123 123 
-            0 0          123456 0000
-   1234 0 $0 _0
-   0 123 0 0"
-
--- Iteration 3 --
-string(81) "1 +1 1 
-   1 d    1 1   
-            1 1          1 0001
-   #1 1 $1 _1
-   1 1 1 1"
-
--- Iteration 4 --
-string(81) "1 +1 0 
-   1 d    0 1   
-            1 0          1 0000
-   #0 1 $1 _0
-   0 1 1 1"
-Done
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : int formats and non-integer values ***
 
 -- Iteration 1 --
index 308720a8b7589488ed43d3cbc6bf7c7f37292b39..571d0f96615a32c7b882fc16ded430a53575bf67 100644 (file)
@@ -53,35 +53,7 @@ foreach($formats as $format) {
 echo "Done";
 ?>
 
---EXPECTF--
-*** Testing vsprintf() : int formats with float values ***
-
--- Iteration 1 --
-string(8) "0.000000"
-
--- Iteration 2 --
-string(28) "-0.100000 0.100000 10.000001"
-
--- Iteration 3 --
-string(57) "2147483649.000000 f, 2147483640.000000 -2147483640.000000"
-
--- Iteration 4 --
-string(45) "200000.0000 0.0000     -200000.000000 -0.0000"
-
--- Iteration 5 --
-string(98) "20000.000000 -1999999999999999879418332743206357172224.000000 0.000000 20000000000000000000.000000"
-
--- Iteration 6 --
-string(43) "4667.000000 4011.000000 83.000000 10.000000"
-
--- Iteration 7 --
-string(15) "%-5678.567800 f"
-
--- Iteration 8 --
-string(35) "1.110000 2.220000 3.330000 4.440000"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : int formats with float values ***
 
 -- Iteration 1 --
index 9c01202d3f1fdd11d722a7e5a5baefb1a5e449dc..546dc91a8884454873604272114e863909400c9b 100644 (file)
@@ -67,39 +67,7 @@ foreach($args_array as $args) {
 
 echo "Done";
 ?>
---EXPECTF--
-*** Testing vsprintf() : float formats and non-float values ***
-
--- Iteration 1 --
-string(244) "2.000000 -2.000000 2.000000 
-   123456.000000 f -12346789.000000 12346789.000000
-   123200.0000 20000.0000 -40000.000000 22212.0000
-   12345780.000000 1211111.000000 -12111111.000000 -12345634.000000
-   2.000000 123456.000000 2.000000 -2.000000"
-
--- Iteration 2 --
-string(196) "0.000000 +0.000000 0.000000 
-   123.000000 f -123.000000 123.000000
-       0.0000 0.0000     123456.000000 0.0000
-   1234.000000 0.000000 0.000000 0.000000
-   0.000000 123.000000 0.000000 0.000000"
-
--- Iteration 3 --
-string(179) "1.000000 +1.000000 1.000000 
-   1.000000 f 1.000000 1.000000
-       1.0000 1.0000     1.000000 1.0000
-   1.000000 1.000000 1.000000 1.000000
-   1.000000 1.000000 1.000000 1.000000"
-
--- Iteration 4 --
-string(179) "1.000000 +1.000000 0.000000 
-   1.000000 f 0.000000 1.000000
-       1.0000 0.0000     1.000000 0.0000
-   0.000000 1.000000 1.000000 0.000000
-   0.000000 1.000000 1.000000 1.000000"
-Done
-
---UEXPECTF--
+--EXPECT--
 *** Testing vsprintf() : float formats and non-float values ***
 
 -- Iteration 1 --
index 57675f170c33d26d7462e715b38aaaa4b78042cc..06268021d57bdf94e91b2da0c2bd54cc360e5100 100644 (file)
Binary files a/ext/standard/tests/strings/vsprintf_variation7.phpt and b/ext/standard/tests/strings/vsprintf_variation7.phpt differ
index 2b08f013d09bbc8f3bae882952fa9dbd4100744f..c0268ab511c5b3a1a33ebab745e1566201a94881 100644 (file)
@@ -71,74 +71,6 @@ echo "Done";
 --EXPECTF--
 *** Testing vsprintf() : string formats and non-string values ***
 
--- Iteration 1 --
-string(177) "2.2 0.2 10.2 
-   123456.234 s -1234.6789 1234.6789
-         2000 2000       -400000000000 2200
-   12345.78 12.000000011111 -12.00000111111 -123456.234
-   10.2 123456.234 2.2 0.2"
-
--- Iteration 2 --
-string(132) "2 -2 2 
-   123456 s -12346789 12346789
-         1232 2000       -40000 2221
-   12345780 1211111 -12111111 -12345634
-   2 123456 2 -2"
-
--- Iteration 3 --
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-
-Notice: Array to string conversion in %s on line %d
-string(131) "Array Array Array 
-   Array s Array Array
-         Arra Arra       Array Arra
-   Array Array Array Array
-   Array Array Array Array"
-
--- Iteration 4 --
-string(81) "1 1  
-   1 s      1   
-            1            0001 0000
-   #0 1 $1 _0
-    1 1 1"
-Done
-
---UEXPECTF--
-*** Testing vsprintf() : string formats and non-string values ***
-
 -- Iteration 1 --
 unicode(177) "2.2 0.2 10.2 
    123456.234 s -1234.6789 1234.6789
index a81fd999988b73e34434e9f7187e4e816ba40137..8a05af91c9ef88a143042500aa0928bdf2f9e3a3 100644 (file)
Binary files a/ext/standard/tests/strings/vsprintf_variation9.phpt and b/ext/standard/tests/strings/vsprintf_variation9.phpt differ
index 84a7f7335cf60a418593696d98794c079e600236..1760a9cc7797344a3317e5208230d36a3a4532ef 100644 (file)
@@ -35,7 +35,7 @@ $cut = false;
 var_dump( wordwrap($str, $width, $break, $cut) );
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing wordwrap() : basic functionality ***
 string(96) "The quick brown foooooooooox jummmmmmmmmmmmped over the lazzzzzzzzzzzy
 doooooooooooooooooooooog."
index 47cbd41fd9c06c4c3a696c4ee345507c9b34a729..54af9a0011928c16cf09e8fb73e9502ffd1ab1e8 100644 (file)
@@ -162,237 +162,6 @@ string(3) "0.5"
 string(3) "0.5"
 -- Iteration 10 --
 
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, array given in %s on line %d
-NULL
--- Iteration 15 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
--- Iteration 16 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 17 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
--- Iteration 18 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 19 --
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, object given in %s on line %d
-NULL
--- Iteration 20 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 21 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 22 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 23 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 24 --
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 1 to be string, resource given in %s on line %d
-NULL
--- Iteration 25 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
--- Iteration 26 --
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-string(0) ""
-Done
---UEXPECTF--
-*** Testing wordwrap() : usage variations ***
-
---- Testing wordwrap() by supplying different values for 'str' argument ---
--- Iteration 1 --
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
-string(1) "0"
--- Iteration 2 --
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
-string(1) "1"
--- Iteration 3 --
-string(5) "12345"
-string(5) "12345"
-string(5) "12345"
-string(5) "12345"
-string(13) "123<br />\n45"
--- Iteration 4 --
-string(5) "-2345"
-string(5) "-2345"
-string(5) "-2345"
-string(5) "-2345"
-string(13) "-23<br />\n45"
--- Iteration 5 --
-string(4) "10.5"
-string(4) "10.5"
-string(4) "10.5"
-string(4) "10.5"
-string(12) "10.<br />\n5"
--- Iteration 6 --
-string(5) "-10.5"
-string(5) "-10.5"
-string(5) "-10.5"
-string(5) "-10.5"
-string(13) "-10<br />\n.5"
--- Iteration 7 --
-string(12) "101234567000"
-string(12) "101234567000"
-string(12) "101234567000"
-string(12) "101234567000"
-string(36) "101<br />\n234<br />\n567<br />\n000"
--- Iteration 8 --
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(13) "1.07654321E-9"
-string(45) "1.0<br />\n765<br />\n432<br />\n1E-<br />\n9"
--- Iteration 9 --
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
-string(3) "0.5"
--- Iteration 10 --
-
 Warning: wordwrap() expects parameter 1 to be binary string, array given in %s on line %d
 NULL
 
index e0b9246207506194ce26843efe593eaba0f0259b..4f12180490d50bacb3cf425fdb64d42dc4c6cf8d 100644 (file)
@@ -225,245 +225,6 @@ Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
 bool(false)
 -- Iteration 13 --
 
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 15 --
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, object given in %s on line %d
-NULL
--- Iteration 16 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 17 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 18 --
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 19 --
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, string given in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, resource given in %s on line %d
-NULL
--- Iteration 21 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 22 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing wordwrap() : usage variations ***
-
---- Testing wordwrap() by supplying different values for 'width' argument ---
--- Iteration 1 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 2 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(223) "<br />\nt<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\n<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\n<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 3 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(223) "<br />\nt<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\n<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\n<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 4 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 5 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 6 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 7 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 8 --
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 2 to be long, array given in %s on line %d
-NULL
--- Iteration 9 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(199) "t<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 10 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 11 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(199) "t<br />\ne<br />\ns<br />\nt<br />\ni<br />\nn<br />\ng<br />\nw<br />\no<br />\nr<br />\nd<br />\nw<br />\nr<br />\na<br />\np<br />\nf<br />\nu<br />\nn<br />\nc<br />\nt<br />\ni<br />\no<br />\nn"
--- Iteration 12 --
-string(25) "testing
-wordwrap
-function"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-string(39) "testing<br />\nwordwrap<br />\nfunction"
-
-Warning: wordwrap(): Can't force cut when width is zero in %s on line %d
-bool(false)
--- Iteration 13 --
-
 Warning: wordwrap() expects parameter 2 to be long, Unicode string given in %s on line %d
 NULL
 
index 78c87e1ba72a4bb9067115056bf415be79409f65..54149a479d775e1937e6b3ffc426219548d2e070 100644 (file)
@@ -143,205 +143,6 @@ string(29) "testing0.5wordwrap0.5function"
 string(29) "testing0.5wordwrap0.5function"
 -- Iteration 10 --
 
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 11 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 12 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 13 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 14 --
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, array given in %s on line %d
-NULL
--- Iteration 15 --
-string(25) "testing1wordwrap1function"
-string(25) "testing1wordwrap1function"
-string(25) "testing1wordwrap1function"
--- Iteration 16 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
--- Iteration 17 --
-string(25) "testing1wordwrap1function"
-string(25) "testing1wordwrap1function"
-string(25) "testing1wordwrap1function"
--- Iteration 18 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
--- Iteration 19 --
-
-Warning: wordwrap() expects parameter 3 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, object given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, object given in %s on line %d
-NULL
--- Iteration 20 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
--- Iteration 21 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
--- Iteration 22 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
--- Iteration 23 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
--- Iteration 24 --
-
-Warning: wordwrap() expects parameter 3 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, resource given in %s on line %d
-NULL
-
-Warning: wordwrap() expects parameter 3 to be string, resource given in %s on line %d
-NULL
--- Iteration 25 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
--- Iteration 26 --
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-
-Warning: wordwrap(): Break string cannot be empty in %s on line %d
-bool(false)
-Done
---UEXPECTF--
-*** Testing wordwrap() : usage variations ***
-
---- Testing wordwrap() by supplying different values for 'break' argument ---
--- Iteration 1 --
-string(25) "testing0wordwrap0function"
-string(25) "testing0wordwrap0function"
-string(25) "testing0wordwrap0function"
--- Iteration 2 --
-string(25) "testing1wordwrap1function"
-string(25) "testing1wordwrap1function"
-string(25) "testing1wordwrap1function"
--- Iteration 3 --
-string(33) "testing12345wordwrap12345function"
-string(33) "testing12345wordwrap12345function"
-string(33) "testing12345wordwrap12345function"
--- Iteration 4 --
-string(33) "testing-2345wordwrap-2345function"
-string(33) "testing-2345wordwrap-2345function"
-string(33) "testing-2345wordwrap-2345function"
--- Iteration 5 --
-string(31) "testing10.5wordwrap10.5function"
-string(31) "testing10.5wordwrap10.5function"
-string(31) "testing10.5wordwrap10.5function"
--- Iteration 6 --
-string(33) "testing-10.5wordwrap-10.5function"
-string(33) "testing-10.5wordwrap-10.5function"
-string(33) "testing-10.5wordwrap-10.5function"
--- Iteration 7 --
-string(47) "testing101234567000wordwrap101234567000function"
-string(47) "testing101234567000wordwrap101234567000function"
-string(47) "testing101234567000wordwrap101234567000function"
--- Iteration 8 --
-string(49) "testing1.07654321E-9wordwrap1.07654321E-9function"
-string(49) "testing1.07654321E-9wordwrap1.07654321E-9function"
-string(49) "testing1.07654321E-9wordwrap1.07654321E-9function"
--- Iteration 9 --
-string(29) "testing0.5wordwrap0.5function"
-string(29) "testing0.5wordwrap0.5function"
-string(29) "testing0.5wordwrap0.5function"
--- Iteration 10 --
-
 Warning: wordwrap() expects parameter 3 to be binary string, array given in %s on line %d
 NULL
 
index b0911a899cd0e048aab73a0e43f4ae4ce0487b5a..ebfffe40405115973d8ac098c55d179e97e64035 100644 (file)
@@ -40,7 +40,7 @@ var_dump( wordwrap($str, $width, $break1, $cut) );
   
 echo "Done\n";
 ?>
---EXPECTF--
+--EXPECT--
 *** Testing wordwrap() : usage variations ***
 
 -- Testing wordwrap() with default break value and single space as value --
index efdc5ee23e84dc8d70935a2a70895b2db9b501c0..bd516de5265a12a8860290a0e84e1547a18d8c53 100755 (executable)
@@ -8,28 +8,6 @@ Bug #38524 (strptime() does not initialize the internal date storage structure)
 ?>
 ===DONE===
 --EXPECTF--
-array(9) {
-  ["tm_sec"]=>
-  int(0)
-  ["tm_min"]=>
-  int(0)
-  ["tm_hour"]=>
-  int(0)
-  ["tm_mday"]=>
-  int(20)
-  ["tm_mon"]=>
-  int(7)
-  ["tm_year"]=>
-  int(106)
-  ["tm_wday"]=>
-  int(0)
-  ["tm_yday"]=>
-  int(%d)
-  ["unparsed"]=>
-  string(0) ""
-}
-===DONE===
---UEXPECTF--
 array(9) {
   [u"tm_sec"]=>
   int(0)
index 7b1052a97d7f20048807b12788b56690dd66ca0b..6dbc89b5dd1ace75c26b01d52e6b70af508d9984 100644 (file)
@@ -16,15 +16,9 @@ var_dump(bin2hex(base64_decode($allbase64, true)));
 
 echo "Done";
 ?>
---EXPECTF--
-Decode an input string containing the whole base64 alphabet:
-string(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-string(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-string(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-Done
---UEXPECTF--
+--EXPECT--
 Decode an input string containing the whole base64 alphabet:
 unicode(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
 unicode(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
 unicode(96) "00108310518720928b30d38f41149351559761969b71d79f8218a39259a7a29aabb2dbafc31cb3d35db7e39ebbf3dfbf"
-Done
\ No newline at end of file
+Done
index 1289894f4a36f3b4eeaed258b0cf7bff61c346af..7c262ccad09b6523a1d6322133d05eaaa9c0aaba 100644 (file)
@@ -29,7 +29,7 @@ var_dump(base64_decode($badChars, true));
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 Decode 'hello world!':
 string(12) "hello world!"
 string(12) "hello world!"
@@ -44,4 +44,4 @@ Other chars outside the base64 alphabet are ignored when $strict===false, but ca
 string(12) "hello world!"
 string(12) "hello world!"
 bool(false)
-Done
\ No newline at end of file
+Done
index 93b0a63caea18351842346712dea06f096efab1a..ee817e5ac46fb2288310524a590e685c5d6eeff3 100644 (file)
@@ -111,98 +111,6 @@ Arg value 0.5
 bool(false)
 Error: 8 - Array to string conversion, %s(72)
 
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 1 to be string, array given, %s(73)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(0) ""
-
-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(72)
-
-Arg value  
-Error: 2 - base64_decode() expects parameter 1 to be string, object given, %s(73)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing base64_decode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(63)
-Error: 8 - Undefined variable: unset_var, %s(66)
-
-Arg value 0 
-string(0) ""
-
-Arg value 1 
-string(0) ""
-
-Arg value 12345 
-string(3) "×mø"
-
-Arg value -2345 
-bool(false)
-
-Arg value 10.5 
-bool(false)
-
-Arg value -10.5 
-bool(false)
-
-Arg value 101234567000 
-string(9) "×Mvß\8ezïM4"
-
-Arg value 1.07654321E-9 
-bool(false)
-
-Arg value 0.5 
-bool(false)
-Error: 8 - Array to string conversion, %s(72)
-
 Arg value Array 
 Error: 2 - base64_decode() expects parameter 1 to be binary string, array given, %s(73)
 NULL
index fc65891f9f2347ac6485fb50e4572931323d4d18..6697864a72a597bb250c37b5f9c000163762662b 100644 (file)
@@ -180,101 +180,3 @@ string(12) "hello world!"
 Arg value  
 string(12) "hello world!"
 Done
---UEXPECTF--
-*** Testing base64_decode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(67)
-Error: 8 - Undefined variable: unset_var, %s(70)
-
-Arg value 0 
-string(12) "hello world!"
-
-Arg value 1 
-bool(false)
-
-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(76)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-Error: 8 - Array to string conversion, %s(76)
-
-Arg value Array 
-Error: 2 - base64_decode() expects parameter 2 to be boolean, array given, %s(77)
-NULL
-
-Arg value  
-string(12) "hello world!"
-
-Arg value  
-string(12) "hello world!"
-
-Arg value 1 
-bool(false)
-
-Arg value  
-string(12) "hello world!"
-
-Arg value 1 
-bool(false)
-
-Arg value  
-string(12) "hello world!"
-
-Arg value  
-string(12) "hello world!"
-
-Arg value  
-string(12) "hello world!"
-
-Arg value string 
-bool(false)
-
-Arg value string 
-bool(false)
-Error: 4096 - Object of class stdClass could not be converted to string, %s(76)
-
-Arg value  
-Error: 2 - base64_decode() expects parameter 2 to be boolean, object given, %s(77)
-NULL
-
-Arg value  
-string(12) "hello world!"
-
-Arg value  
-string(12) "hello world!"
-Done
\ No newline at end of file
index a8883ac8f91a39877809085af79506f01287b936..fc4251716b95feba9f63d2cbb049c980a6b11412 100644 (file)
@@ -34,4 +34,4 @@ NULL
 
 Warning: base64_encode() expects exactly 1 parameter, 2 given in %s on line 18
 NULL
-Done
\ No newline at end of file
+Done
index 3fc1a7f5492c7e74c2c1c8004d208cd5054d0db0..faffad6d276bf1c345477f8775e49f6aba9e0cdd 100644 (file)
@@ -111,98 +111,6 @@ Arg value 0.5
 string(4) "MC41"
 Error: 8 - Array to string conversion, %s(72)
 
-Arg value Array 
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-Error: 8 - Array to string conversion, %s(72)
-
-Arg value Array 
-Error: 2 - base64_encode() expects parameter 1 to be string, array given, %s(73)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(4) "MQ=="
-
-Arg value  
-string(0) ""
-
-Arg value 1 
-string(4) "MQ=="
-
-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(72)
-
-Arg value  
-Error: 2 - base64_encode() expects parameter 1 to be string, object given, %s(73)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing base64_encode() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(63)
-Error: 8 - Undefined variable: unset_var, %s(66)
-
-Arg value 0 
-string(4) "MA=="
-
-Arg value 1 
-string(4) "MQ=="
-
-Arg value 12345 
-string(8) "MTIzNDU="
-
-Arg value -2345 
-string(8) "LTIzNDU="
-
-Arg value 10.5 
-string(8) "MTAuNQ=="
-
-Arg value -10.5 
-string(8) "LTEwLjU="
-
-Arg value 101234567000 
-string(16) "MTAxMjM0NTY3MDAw"
-
-Arg value 1.07654321E-9 
-string(20) "MS4wNzY1NDMyMUUtOQ=="
-
-Arg value 0.5 
-string(4) "MC41"
-Error: 8 - Array to string conversion, %s(72)
-
 Arg value Array 
 Error: 2 - base64_encode() expects parameter 1 to be binary string, array given, %s(73)
 NULL
index 78a751f81fbee6c426f0dfd6b490a1b3b60996c5..8fb39d93a1f0282c8c6272d08a5ef788f25e474a 100644 (file)
@@ -22,883 +22,6 @@ echo "Done";
 ?>
 --EXPECTF--
 
---> 64.246.30.37: array(1) {
-  ["path"]=>
-  string(12) "64.246.30.37"
-}
-
---> http://64.246.30.37: array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(12) "64.246.30.37"
-}
-
---> http://64.246.30.37/: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(12) "64.246.30.37"
-  ["path"]=>
-  string(1) "/"
-}
-
---> 64.246.30.37/: array(1) {
-  ["path"]=>
-  string(13) "64.246.30.37/"
-}
-
---> 64.246.30.37:80/: array(3) {
-  ["host"]=>
-  string(12) "64.246.30.37"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-
---> php.net: array(1) {
-  ["path"]=>
-  string(7) "php.net"
-}
-
---> php.net/: array(1) {
-  ["path"]=>
-  string(8) "php.net/"
-}
-
---> http://php.net: array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "php.net"
-}
-
---> http://php.net/: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "php.net"
-  ["path"]=>
-  string(1) "/"
-}
-
---> www.php.net: array(1) {
-  ["path"]=>
-  string(11) "www.php.net"
-}
-
---> www.php.net/: array(1) {
-  ["path"]=>
-  string(12) "www.php.net/"
-}
-
---> http://www.php.net: array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-}
-
---> http://www.php.net/: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(1) "/"
-}
-
---> www.php.net:80: array(2) {
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-}
-
---> http://www.php.net:80: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-}
-
---> http://www.php.net:80/: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-
---> http://www.php.net/index.php: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(10) "/index.php"
-}
-
---> www.php.net/?: array(1) {
-  ["path"]=>
-  string(12) "www.php.net/"
-}
-
---> www.php.net:80/?: array(3) {
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-
---> http://www.php.net/?: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(1) "/"
-}
-
---> http://www.php.net:80/?: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-
---> http://www.php.net:80/index.php: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-}
-
---> http://www.php.net:80/foo/bar/index.php: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(18) "/foo/bar/index.php"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5: array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-  ["query"]=>
-  string(37) "lots=1&of=2&parameters=3&too=4&here=5"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(45) "/this/is/a/very/deep/directory/structure/and/"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
-}
-
---> http://www.php.net:80/this/../a/../deep/directory: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(28) "/this/../a/../deep/directory"
-}
-
---> http://www.php.net:80/this/../a/../deep/directory/: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(29) "/this/../a/../deep/directory/"
-}
-
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(42) "/this/is/a/very/deep/directory/../file.php"
-}
-
---> http://www.php.net:80/index.php: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-}
-
---> http://www.php.net:80/index.php?: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-}
-
---> http://www.php.net:80/#foo: array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-  ["fragment"]=>
-  string(3) "foo"
-}
-
---> http://www.php.net:80/?#: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-}
-
---> http://www.php.net:80/?test=1: array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-  ["query"]=>
-  string(6) "test=1"
-}
-
---> http://www.php.net/?test=1&: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(1) "/"
-  ["query"]=>
-  string(7) "test=1&"
-}
-
---> http://www.php.net:80/?&: array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(1) "/"
-  ["query"]=>
-  string(1) "&"
-}
-
---> http://www.php.net:80/index.php?test=1&: array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(7) "test=1&"
-}
-
---> http://www.php.net/index.php?&: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(1) "&"
-}
-
---> http://www.php.net:80/index.php?foo&: array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(4) "foo&"
-}
-
---> http://www.php.net/index.php?&foo: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(4) "&foo"
-}
-
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI: array(5) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-}
-
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(5) {
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(6) "secret"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(6) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["user"]=>
-  string(6) "secret"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["pass"]=>
-  string(7) "hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["user"]=>
-  string(6) "secret"
-  ["pass"]=>
-  string(7) "hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(14) "secret@hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123: array(8) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(6) "secret"
-  ["pass"]=>
-  string(7) "hid:out"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
---> nntp://news.php.net: array(2) {
-  ["scheme"]=>
-  string(4) "nntp"
-  ["host"]=>
-  string(12) "news.php.net"
-}
-
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz: array(3) {
-  ["scheme"]=>
-  string(3) "ftp"
-  ["host"]=>
-  string(11) "ftp.gnu.org"
-  ["path"]=>
-  string(22) "/gnu/glic/glibc.tar.gz"
-}
-
---> zlib:http://foo@bar: array(2) {
-  ["scheme"]=>
-  string(4) "zlib"
-  ["path"]=>
-  string(14) "http://foo@bar"
-}
-
---> zlib:filename.txt: array(2) {
-  ["scheme"]=>
-  string(4) "zlib"
-  ["path"]=>
-  string(12) "filename.txt"
-}
-
---> zlib:/path/to/my/file/file.txt: array(2) {
-  ["scheme"]=>
-  string(4) "zlib"
-  ["path"]=>
-  string(25) "/path/to/my/file/file.txt"
-}
-
---> foo://foo@bar: array(3) {
-  ["scheme"]=>
-  string(3) "foo"
-  ["host"]=>
-  string(3) "bar"
-  ["user"]=>
-  string(3) "foo"
-}
-
---> mailto:me@mydomain.com: array(2) {
-  ["scheme"]=>
-  string(6) "mailto"
-  ["path"]=>
-  string(15) "me@mydomain.com"
-}
-
---> /foo.php?a=b&c=d: array(2) {
-  ["path"]=>
-  string(8) "/foo.php"
-  ["query"]=>
-  string(7) "a=b&c=d"
-}
-
---> foo.php?a=b&c=d: array(2) {
-  ["path"]=>
-  string(7) "foo.php"
-  ["query"]=>
-  string(7) "a=b&c=d"
-}
-
---> http://user:passwd@www.example.com:8080?bar=1&boom=0: array(6) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(15) "www.example.com"
-  ["port"]=>
-  int(8080)
-  ["user"]=>
-  string(4) "user"
-  ["pass"]=>
-  string(6) "passwd"
-  ["query"]=>
-  string(12) "bar=1&boom=0"
-}
-
---> file:///path/to/file: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(13) "/path/to/file"
-}
-
---> file://path/to/file: array(3) {
-  ["scheme"]=>
-  string(4) "file"
-  ["host"]=>
-  string(4) "path"
-  ["path"]=>
-  string(8) "/to/file"
-}
-
---> file:/path/to/file: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(13) "/path/to/file"
-}
-
---> http://1.2.3.4:/abc.asp?a=1&b=2: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "1.2.3.4"
-  ["path"]=>
-  string(8) "/abc.asp"
-  ["query"]=>
-  string(7) "a=1&b=2"
-}
-
---> http://foo.com#bar: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(7) "foo.com"
-  ["fragment"]=>
-  string(3) "bar"
-}
-
---> scheme:: array(1) {
-  ["scheme"]=>
-  string(6) "scheme"
-}
-
---> foo+bar://baz@bang/bla: array(4) {
-  ["scheme"]=>
-  string(7) "foo+bar"
-  ["host"]=>
-  string(4) "bang"
-  ["user"]=>
-  string(3) "baz"
-  ["path"]=>
-  string(4) "/bla"
-}
-
---> gg:9130731: array(2) {
-  ["scheme"]=>
-  string(2) "gg"
-  ["path"]=>
-  string(7) "9130731"
-}
-
---> http://user:@pass@host/path?argument?value#etc: array(7) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(4) "host"
-  ["user"]=>
-  string(4) "user"
-  ["pass"]=>
-  string(5) "@pass"
-  ["path"]=>
-  string(5) "/path"
-  ["query"]=>
-  string(14) "argument?value"
-  ["fragment"]=>
-  string(3) "etc"
-}
-
---> http://10.10.10.10/:80: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "10.10.10.10"
-  ["path"]=>
-  string(4) "/:80"
-}
-
---> http://x:?: array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(1) "x"
-}
-
---> x:blah.com: array(2) {
-  ["scheme"]=>
-  string(1) "x"
-  ["path"]=>
-  string(8) "blah.com"
-}
-
---> x:/blah.com: array(2) {
-  ["scheme"]=>
-  string(1) "x"
-  ["path"]=>
-  string(9) "/blah.com"
-}
-
---> x://::abc/?: array(3) {
-  ["scheme"]=>
-  string(1) "x"
-  ["host"]=>
-  string(1) ":"
-  ["path"]=>
-  string(1) "/"
-}
-
---> http://::?: array(2) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(1) ":"
-}
-
---> x://::6.5: array(3) {
-  ["scheme"]=>
-  string(1) "x"
-  ["host"]=>
-  string(1) ":"
-  ["port"]=>
-  int(6)
-}
-
---> http://?:/: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(1) "?"
-  ["path"]=>
-  string(1) "/"
-}
-
---> http://@?:/: array(4) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(1) "?"
-  ["user"]=>
-  string(0) ""
-  ["path"]=>
-  string(1) "/"
-}
-
---> file:///:: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(2) "/:"
-}
-
---> file:///a:/: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(3) "a:/"
-}
-
---> file:///ab:/: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(5) "/ab:/"
-}
-
---> file:///a:/: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(3) "a:/"
-}
-
---> file:///@:/: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(3) "@:/"
-}
-
---> file:///:80/: array(2) {
-  ["scheme"]=>
-  string(4) "file"
-  ["path"]=>
-  string(5) "/:80/"
-}
-
---> []: array(1) {
-  ["path"]=>
-  string(2) "[]"
-}
-
---> http://[x:80]/: array(3) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(6) "[x:80]"
-  ["path"]=>
-  string(1) "/"
-}
-
---> : array(1) {
-  ["path"]=>
-  string(0) ""
-}
-
---> /: array(1) {
-  ["path"]=>
-  string(1) "/"
-}
-
---> http:///blah.com: 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://:80: 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://user@:80: 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://user:pass@:80: 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://:: 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://@/: 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://@:/: 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://:/: 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://?: 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://?:: 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://:?: 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://blah.com:123456: 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
-
---> http://blah.com:abcdef: 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
-
 --> 64.246.30.37: array(1) {
   [u"path"]=>
   unicode(12) "64.246.30.37"
@@ -1773,4 +896,4 @@ bool(false)
 --> http://blah.com:abcdef: 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index 26c4404fc80a3ed3eb3c5742aa88621f02c95747..a8bc7110e06d39f31ff4d3b06c1f29be0090497e 100644 (file)
@@ -23,134 +23,6 @@ echo "Done";
 ?>
 --EXPECTF--
 --> 64.246.30.37   : NULL
---> http://64.246.30.37   : string(4) "http"
---> http://64.246.30.37/   : string(4) "http"
---> 64.246.30.37/   : NULL
---> 64.246.30.37:80/   : NULL
---> php.net   : NULL
---> php.net/   : NULL
---> http://php.net   : string(4) "http"
---> http://php.net/   : string(4) "http"
---> www.php.net   : NULL
---> www.php.net/   : NULL
---> http://www.php.net   : string(4) "http"
---> http://www.php.net/   : string(4) "http"
---> www.php.net:80   : NULL
---> http://www.php.net:80   : string(4) "http"
---> http://www.php.net:80/   : string(4) "http"
---> http://www.php.net/index.php   : string(4) "http"
---> www.php.net/?   : NULL
---> www.php.net:80/?   : NULL
---> http://www.php.net/?   : string(4) "http"
---> http://www.php.net:80/?   : string(4) "http"
---> http://www.php.net:80/index.php   : string(4) "http"
---> http://www.php.net:80/foo/bar/index.php   : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(4) "http"
---> http://www.php.net:80/this/../a/../deep/directory   : string(4) "http"
---> http://www.php.net:80/this/../a/../deep/directory/   : string(4) "http"
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : string(4) "http"
---> http://www.php.net:80/index.php   : string(4) "http"
---> http://www.php.net:80/index.php?   : string(4) "http"
---> http://www.php.net:80/#foo   : string(4) "http"
---> http://www.php.net:80/?#   : string(4) "http"
---> http://www.php.net:80/?test=1   : string(4) "http"
---> http://www.php.net/?test=1&   : string(4) "http"
---> http://www.php.net:80/?&   : string(4) "http"
---> http://www.php.net:80/index.php?test=1&   : string(4) "http"
---> http://www.php.net/index.php?&   : string(4) "http"
---> http://www.php.net:80/index.php?foo&   : string(4) "http"
---> http://www.php.net/index.php?&foo   : string(4) "http"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : string(4) "http"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(4) "http"
---> nntp://news.php.net   : string(4) "nntp"
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : string(3) "ftp"
---> zlib:http://foo@bar   : string(4) "zlib"
---> zlib:filename.txt   : string(4) "zlib"
---> zlib:/path/to/my/file/file.txt   : string(4) "zlib"
---> foo://foo@bar   : string(3) "foo"
---> mailto:me@mydomain.com   : string(6) "mailto"
---> /foo.php?a=b&c=d   : NULL
---> foo.php?a=b&c=d   : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0   : string(4) "http"
---> file:///path/to/file   : string(4) "file"
---> file://path/to/file   : string(4) "file"
---> file:/path/to/file   : string(4) "file"
---> http://1.2.3.4:/abc.asp?a=1&b=2   : string(4) "http"
---> http://foo.com#bar   : string(4) "http"
---> scheme:   : string(6) "scheme"
---> foo+bar://baz@bang/bla   : string(7) "foo+bar"
---> gg:9130731   : string(2) "gg"
---> http://user:@pass@host/path?argument?value#etc   : string(4) "http"
---> http://10.10.10.10/:80   : string(4) "http"
---> http://x:?   : string(4) "http"
---> x:blah.com   : string(1) "x"
---> x:/blah.com   : string(1) "x"
---> x://::abc/?   : string(1) "x"
---> http://::?   : string(4) "http"
---> x://::6.5   : string(1) "x"
---> http://?:/   : string(4) "http"
---> http://@?:/   : string(4) "http"
---> file:///:   : string(4) "file"
---> file:///a:/   : string(4) "file"
---> file:///ab:/   : string(4) "file"
---> file:///a:/   : string(4) "file"
---> file:///@:/   : string(4) "file"
---> file:///:80/   : string(4) "file"
---> []   : NULL
---> http://[x:80]/   : string(4) "http"
--->    : NULL
---> /   : NULL
---> http:///blah.com   : 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80   : 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80   : 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80   : 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://:   : 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/   : 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/   : 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/   : 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://?   : 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?:   : 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:?   : 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456   : 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef   : 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37   : NULL
 --> http://64.246.30.37   : unicode(4) "http"
 --> http://64.246.30.37/   : unicode(4) "http"
 --> 64.246.30.37/   : NULL
@@ -276,4 +148,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index 0bb3e9e14190899700d6a9f8a8e2ac79ab62405f..fc902ae4c1db8ae46b8baa347b096fb11ef0cb24 100644 (file)
@@ -22,134 +22,6 @@ echo "Done";
 ?>
 --EXPECTF--
 --> 64.246.30.37   : NULL
---> http://64.246.30.37   : string(12) "64.246.30.37"
---> http://64.246.30.37/   : string(12) "64.246.30.37"
---> 64.246.30.37/   : NULL
---> 64.246.30.37:80/   : string(12) "64.246.30.37"
---> php.net   : NULL
---> php.net/   : NULL
---> http://php.net   : string(7) "php.net"
---> http://php.net/   : string(7) "php.net"
---> www.php.net   : NULL
---> www.php.net/   : NULL
---> http://www.php.net   : string(11) "www.php.net"
---> http://www.php.net/   : string(11) "www.php.net"
---> www.php.net:80   : string(11) "www.php.net"
---> http://www.php.net:80   : string(11) "www.php.net"
---> http://www.php.net:80/   : string(11) "www.php.net"
---> http://www.php.net/index.php   : string(11) "www.php.net"
---> www.php.net/?   : NULL
---> www.php.net:80/?   : string(11) "www.php.net"
---> http://www.php.net/?   : string(11) "www.php.net"
---> http://www.php.net:80/?   : string(11) "www.php.net"
---> http://www.php.net:80/index.php   : string(11) "www.php.net"
---> http://www.php.net:80/foo/bar/index.php   : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(11) "www.php.net"
---> http://www.php.net:80/this/../a/../deep/directory   : string(11) "www.php.net"
---> http://www.php.net:80/this/../a/../deep/directory/   : string(11) "www.php.net"
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : string(11) "www.php.net"
---> http://www.php.net:80/index.php   : string(11) "www.php.net"
---> http://www.php.net:80/index.php?   : string(11) "www.php.net"
---> http://www.php.net:80/#foo   : string(11) "www.php.net"
---> http://www.php.net:80/?#   : string(11) "www.php.net"
---> http://www.php.net:80/?test=1   : string(11) "www.php.net"
---> http://www.php.net/?test=1&   : string(11) "www.php.net"
---> http://www.php.net:80/?&   : string(11) "www.php.net"
---> http://www.php.net:80/index.php?test=1&   : string(11) "www.php.net"
---> http://www.php.net/index.php?&   : string(11) "www.php.net"
---> http://www.php.net:80/index.php?foo&   : string(11) "www.php.net"
---> http://www.php.net/index.php?&foo   : string(11) "www.php.net"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : string(11) "www.php.net"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(11) "www.php.net"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(11) "www.php.net"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(11) "www.php.net"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(11) "www.php.net"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(11) "www.php.net"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(11) "www.php.net"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(11) "www.php.net"
---> nntp://news.php.net   : string(12) "news.php.net"
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : string(11) "ftp.gnu.org"
---> zlib:http://foo@bar   : NULL
---> zlib:filename.txt   : NULL
---> zlib:/path/to/my/file/file.txt   : NULL
---> foo://foo@bar   : string(3) "bar"
---> mailto:me@mydomain.com   : NULL
---> /foo.php?a=b&c=d   : NULL
---> foo.php?a=b&c=d   : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0   : string(15) "www.example.com"
---> file:///path/to/file   : NULL
---> file://path/to/file   : string(4) "path"
---> file:/path/to/file   : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2   : string(7) "1.2.3.4"
---> http://foo.com#bar   : string(7) "foo.com"
---> scheme:   : NULL
---> foo+bar://baz@bang/bla   : string(4) "bang"
---> gg:9130731   : NULL
---> http://user:@pass@host/path?argument?value#etc   : string(4) "host"
---> http://10.10.10.10/:80   : string(11) "10.10.10.10"
---> http://x:?   : string(1) "x"
---> x:blah.com   : NULL
---> x:/blah.com   : NULL
---> x://::abc/?   : string(1) ":"
---> http://::?   : string(1) ":"
---> x://::6.5   : string(1) ":"
---> http://?:/   : string(1) "?"
---> http://@?:/   : string(1) "?"
---> file:///:   : NULL
---> file:///a:/   : NULL
---> file:///ab:/   : NULL
---> file:///a:/   : NULL
---> file:///@:/   : NULL
---> file:///:80/   : NULL
---> []   : NULL
---> http://[x:80]/   : string(6) "[x:80]"
--->    : NULL
---> /   : NULL
---> http:///blah.com   : 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80   : 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80   : 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80   : 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://:   : 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/   : 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/   : 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/   : 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://?   : 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?:   : 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:?   : 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456   : 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef   : 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37   : NULL
 --> http://64.246.30.37   : unicode(12) "64.246.30.37"
 --> http://64.246.30.37/   : unicode(12) "64.246.30.37"
 --> 64.246.30.37/   : NULL
@@ -275,4 +147,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index af327954700c7b82ee9a36fcde9f35fd9f1c34f4..280c303ac511f9e03020346656762e46a1559ef7 100644 (file)
@@ -147,4 +147,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index a5778eac144c90889bd5315c079da423296562bd..1bb30643203bbd9843b440fc8b5e8914991f47df 100644 (file)
@@ -64,134 +64,6 @@ echo "Done";
 --> http://www.php.net/index.php?&foo   : NULL
 --> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : NULL
 --> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(6) "secret"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(6) "secret"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(6) "secret"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(14) "secret@hideout"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(6) "secret"
---> nntp://news.php.net   : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : NULL
---> zlib:http://foo@bar   : NULL
---> zlib:filename.txt   : NULL
---> zlib:/path/to/my/file/file.txt   : NULL
---> foo://foo@bar   : string(3) "foo"
---> mailto:me@mydomain.com   : NULL
---> /foo.php?a=b&c=d   : NULL
---> foo.php?a=b&c=d   : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0   : string(4) "user"
---> file:///path/to/file   : NULL
---> file://path/to/file   : NULL
---> file:/path/to/file   : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2   : NULL
---> http://foo.com#bar   : NULL
---> scheme:   : NULL
---> foo+bar://baz@bang/bla   : string(3) "baz"
---> gg:9130731   : NULL
---> http://user:@pass@host/path?argument?value#etc   : string(4) "user"
---> http://10.10.10.10/:80   : NULL
---> http://x:?   : NULL
---> x:blah.com   : NULL
---> x:/blah.com   : NULL
---> x://::abc/?   : NULL
---> http://::?   : NULL
---> x://::6.5   : NULL
---> http://?:/   : NULL
---> http://@?:/   : string(0) ""
---> file:///:   : NULL
---> file:///a:/   : NULL
---> file:///ab:/   : NULL
---> file:///a:/   : NULL
---> file:///@:/   : NULL
---> file:///:80/   : NULL
---> []   : NULL
---> http://[x:80]/   : NULL
--->    : NULL
---> /   : NULL
---> http:///blah.com   : 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80   : 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80   : 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80   : 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://:   : 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/   : 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/   : 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/   : 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://?   : 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?:   : 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:?   : 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456   : 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef   : 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37   : NULL
---> http://64.246.30.37   : NULL
---> http://64.246.30.37/   : NULL
---> 64.246.30.37/   : NULL
---> 64.246.30.37:80/   : NULL
---> php.net   : NULL
---> php.net/   : NULL
---> http://php.net   : NULL
---> http://php.net/   : NULL
---> www.php.net   : NULL
---> www.php.net/   : NULL
---> http://www.php.net   : NULL
---> http://www.php.net/   : NULL
---> www.php.net:80   : NULL
---> http://www.php.net:80   : NULL
---> http://www.php.net:80/   : NULL
---> http://www.php.net/index.php   : NULL
---> www.php.net/?   : NULL
---> www.php.net:80/?   : NULL
---> http://www.php.net/?   : NULL
---> http://www.php.net:80/?   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/foo/bar/index.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/../a/../deep/directory   : NULL
---> http://www.php.net:80/this/../a/../deep/directory/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/index.php?   : NULL
---> http://www.php.net:80/#foo   : NULL
---> http://www.php.net:80/?#   : NULL
---> http://www.php.net:80/?test=1   : NULL
---> http://www.php.net/?test=1&   : NULL
---> http://www.php.net:80/?&   : NULL
---> http://www.php.net:80/index.php?test=1&   : NULL
---> http://www.php.net/index.php?&   : NULL
---> http://www.php.net:80/index.php?foo&   : NULL
---> http://www.php.net/index.php?&foo   : NULL
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : NULL
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
 --> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : unicode(6) "secret"
 --> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : unicode(6) "secret"
 --> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
@@ -275,4 +147,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index 97d06bae9a2645ed7c104384723a9f7019bf3761..52086c2f85819b230256e022342c1a7732ea8d33 100644 (file)
@@ -66,134 +66,6 @@ echo "Done";
 --> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
 --> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
 --> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(7) "hideout"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(7) "hideout"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(7) "hid:out"
---> nntp://news.php.net   : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : NULL
---> zlib:http://foo@bar   : NULL
---> zlib:filename.txt   : NULL
---> zlib:/path/to/my/file/file.txt   : NULL
---> foo://foo@bar   : NULL
---> mailto:me@mydomain.com   : NULL
---> /foo.php?a=b&c=d   : NULL
---> foo.php?a=b&c=d   : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0   : string(6) "passwd"
---> file:///path/to/file   : NULL
---> file://path/to/file   : NULL
---> file:/path/to/file   : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2   : NULL
---> http://foo.com#bar   : NULL
---> scheme:   : NULL
---> foo+bar://baz@bang/bla   : NULL
---> gg:9130731   : NULL
---> http://user:@pass@host/path?argument?value#etc   : string(5) "@pass"
---> http://10.10.10.10/:80   : NULL
---> http://x:?   : NULL
---> x:blah.com   : NULL
---> x:/blah.com   : NULL
---> x://::abc/?   : NULL
---> http://::?   : NULL
---> x://::6.5   : NULL
---> http://?:/   : NULL
---> http://@?:/   : NULL
---> file:///:   : NULL
---> file:///a:/   : NULL
---> file:///ab:/   : NULL
---> file:///a:/   : NULL
---> file:///@:/   : NULL
---> file:///:80/   : NULL
---> []   : NULL
---> http://[x:80]/   : NULL
--->    : NULL
---> /   : NULL
---> http:///blah.com   : 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80   : 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80   : 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80   : 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://:   : 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/   : 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/   : 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/   : 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://?   : 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?:   : 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:?   : 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456   : 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef   : 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37   : NULL
---> http://64.246.30.37   : NULL
---> http://64.246.30.37/   : NULL
---> 64.246.30.37/   : NULL
---> 64.246.30.37:80/   : NULL
---> php.net   : NULL
---> php.net/   : NULL
---> http://php.net   : NULL
---> http://php.net/   : NULL
---> www.php.net   : NULL
---> www.php.net/   : NULL
---> http://www.php.net   : NULL
---> http://www.php.net/   : NULL
---> www.php.net:80   : NULL
---> http://www.php.net:80   : NULL
---> http://www.php.net:80/   : NULL
---> http://www.php.net/index.php   : NULL
---> www.php.net/?   : NULL
---> www.php.net:80/?   : NULL
---> http://www.php.net/?   : NULL
---> http://www.php.net:80/?   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/foo/bar/index.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/../a/../deep/directory   : NULL
---> http://www.php.net:80/this/../a/../deep/directory/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/index.php?   : NULL
---> http://www.php.net:80/#foo   : NULL
---> http://www.php.net:80/?#   : NULL
---> http://www.php.net:80/?test=1   : NULL
---> http://www.php.net/?test=1&   : NULL
---> http://www.php.net:80/?&   : NULL
---> http://www.php.net:80/index.php?test=1&   : NULL
---> http://www.php.net/index.php?&   : NULL
---> http://www.php.net:80/index.php?foo&   : NULL
---> http://www.php.net/index.php?&foo   : NULL
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : NULL
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
 --> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : unicode(7) "hideout"
 --> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : unicode(7) "hideout"
 --> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : NULL
@@ -275,4 +147,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index 25e9fca8e01de5cebd1a99b2414b285ac8cedfff..998f2f78912f856f7d98db32e5e3b87b1fac7bd6 100644 (file)
@@ -21,134 +21,6 @@ foreach ($urls as $url) {
 echo "Done";
 ?>
 --EXPECTF--
---> 64.246.30.37   : string(12) "64.246.30.37"
---> http://64.246.30.37   : NULL
---> http://64.246.30.37/   : string(1) "/"
---> 64.246.30.37/   : string(13) "64.246.30.37/"
---> 64.246.30.37:80/   : string(1) "/"
---> php.net   : string(7) "php.net"
---> php.net/   : string(8) "php.net/"
---> http://php.net   : NULL
---> http://php.net/   : string(1) "/"
---> www.php.net   : string(11) "www.php.net"
---> www.php.net/   : string(12) "www.php.net/"
---> http://www.php.net   : NULL
---> http://www.php.net/   : string(1) "/"
---> www.php.net:80   : NULL
---> http://www.php.net:80   : NULL
---> http://www.php.net:80/   : string(1) "/"
---> http://www.php.net/index.php   : string(10) "/index.php"
---> www.php.net/?   : string(12) "www.php.net/"
---> www.php.net:80/?   : string(1) "/"
---> http://www.php.net/?   : string(1) "/"
---> http://www.php.net:80/?   : string(1) "/"
---> http://www.php.net:80/index.php   : string(10) "/index.php"
---> http://www.php.net:80/foo/bar/index.php   : string(18) "/foo/bar/index.php"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : string(45) "/this/is/a/very/deep/directory/structure/and/"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : string(53) "/this/is/a/very/deep/directory/structure/and/file.php"
---> http://www.php.net:80/this/../a/../deep/directory   : string(28) "/this/../a/../deep/directory"
---> http://www.php.net:80/this/../a/../deep/directory/   : string(29) "/this/../a/../deep/directory/"
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : string(42) "/this/is/a/very/deep/directory/../file.php"
---> http://www.php.net:80/index.php   : string(10) "/index.php"
---> http://www.php.net:80/index.php?   : string(10) "/index.php"
---> http://www.php.net:80/#foo   : string(1) "/"
---> http://www.php.net:80/?#   : string(1) "/"
---> http://www.php.net:80/?test=1   : string(1) "/"
---> http://www.php.net/?test=1&   : string(1) "/"
---> http://www.php.net:80/?&   : string(1) "/"
---> http://www.php.net:80/index.php?test=1&   : string(10) "/index.php"
---> http://www.php.net/index.php?&   : string(10) "/index.php"
---> http://www.php.net:80/index.php?foo&   : string(10) "/index.php"
---> http://www.php.net/index.php?&foo   : string(10) "/index.php"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : string(10) "/index.php"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(10) "/index.php"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(10) "/index.php"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(10) "/index.php"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(10) "/index.php"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(10) "/index.php"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(10) "/index.php"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(10) "/index.php"
---> nntp://news.php.net   : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : string(22) "/gnu/glic/glibc.tar.gz"
---> zlib:http://foo@bar   : string(14) "http://foo@bar"
---> zlib:filename.txt   : string(12) "filename.txt"
---> zlib:/path/to/my/file/file.txt   : string(25) "/path/to/my/file/file.txt"
---> foo://foo@bar   : NULL
---> mailto:me@mydomain.com   : string(15) "me@mydomain.com"
---> /foo.php?a=b&c=d   : string(8) "/foo.php"
---> foo.php?a=b&c=d   : string(7) "foo.php"
---> http://user:passwd@www.example.com:8080?bar=1&boom=0   : NULL
---> file:///path/to/file   : string(13) "/path/to/file"
---> file://path/to/file   : string(8) "/to/file"
---> file:/path/to/file   : string(13) "/path/to/file"
---> http://1.2.3.4:/abc.asp?a=1&b=2   : string(8) "/abc.asp"
---> http://foo.com#bar   : NULL
---> scheme:   : NULL
---> foo+bar://baz@bang/bla   : string(4) "/bla"
---> gg:9130731   : string(7) "9130731"
---> http://user:@pass@host/path?argument?value#etc   : string(5) "/path"
---> http://10.10.10.10/:80   : string(4) "/:80"
---> http://x:?   : NULL
---> x:blah.com   : string(8) "blah.com"
---> x:/blah.com   : string(9) "/blah.com"
---> x://::abc/?   : string(1) "/"
---> http://::?   : NULL
---> x://::6.5   : NULL
---> http://?:/   : string(1) "/"
---> http://@?:/   : string(1) "/"
---> file:///:   : string(2) "/:"
---> file:///a:/   : string(3) "a:/"
---> file:///ab:/   : string(5) "/ab:/"
---> file:///a:/   : string(3) "a:/"
---> file:///@:/   : string(3) "@:/"
---> file:///:80/   : string(5) "/:80/"
---> []   : string(2) "[]"
---> http://[x:80]/   : string(1) "/"
--->    : string(0) ""
---> /   : string(1) "/"
---> http:///blah.com   : 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80   : 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80   : 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80   : 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://:   : 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/   : 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/   : 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/   : 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://?   : 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?:   : 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:?   : 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456   : 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef   : 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
 --> 64.246.30.37   : unicode(12) "64.246.30.37"
 --> http://64.246.30.37   : NULL
 --> http://64.246.30.37/   : unicode(1) "/"
@@ -275,4 +147,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index 6cfaa4b504449861db1aa81ef2492bdbd554cdad..0e61cf1a49f527789ab6789a60cef048583c288a 100644 (file)
@@ -45,134 +45,6 @@ echo "Done";
 --> http://www.php.net:80/index.php   : NULL
 --> http://www.php.net:80/foo/bar/index.php   : NULL
 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : string(37) "lots=1&of=2&parameters=3&too=4&here=5"
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/../a/../deep/directory   : NULL
---> http://www.php.net:80/this/../a/../deep/directory/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/index.php?   : NULL
---> http://www.php.net:80/#foo   : NULL
---> http://www.php.net:80/?#   : NULL
---> http://www.php.net:80/?test=1   : string(6) "test=1"
---> http://www.php.net/?test=1&   : string(7) "test=1&"
---> http://www.php.net:80/?&   : string(1) "&"
---> http://www.php.net:80/index.php?test=1&   : string(7) "test=1&"
---> http://www.php.net/index.php?&   : string(1) "&"
---> http://www.php.net:80/index.php?foo&   : string(4) "foo&"
---> http://www.php.net/index.php?&foo   : string(4) "&foo"
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : string(31) "test=1&test2=char&test3=mixesCI"
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(31) "test=1&test2=char&test3=mixesCI"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(31) "test=1&test2=char&test3=mixesCI"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(31) "test=1&test2=char&test3=mixesCI"
---> nntp://news.php.net   : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : NULL
---> zlib:http://foo@bar   : NULL
---> zlib:filename.txt   : NULL
---> zlib:/path/to/my/file/file.txt   : NULL
---> foo://foo@bar   : NULL
---> mailto:me@mydomain.com   : NULL
---> /foo.php?a=b&c=d   : string(7) "a=b&c=d"
---> foo.php?a=b&c=d   : string(7) "a=b&c=d"
---> http://user:passwd@www.example.com:8080?bar=1&boom=0   : string(12) "bar=1&boom=0"
---> file:///path/to/file   : NULL
---> file://path/to/file   : NULL
---> file:/path/to/file   : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2   : string(7) "a=1&b=2"
---> http://foo.com#bar   : NULL
---> scheme:   : NULL
---> foo+bar://baz@bang/bla   : NULL
---> gg:9130731   : NULL
---> http://user:@pass@host/path?argument?value#etc   : string(14) "argument?value"
---> http://10.10.10.10/:80   : NULL
---> http://x:?   : NULL
---> x:blah.com   : NULL
---> x:/blah.com   : NULL
---> x://::abc/?   : NULL
---> http://::?   : NULL
---> x://::6.5   : NULL
---> http://?:/   : NULL
---> http://@?:/   : NULL
---> file:///:   : NULL
---> file:///a:/   : NULL
---> file:///ab:/   : NULL
---> file:///a:/   : NULL
---> file:///@:/   : NULL
---> file:///:80/   : NULL
---> []   : NULL
---> http://[x:80]/   : NULL
--->    : NULL
---> /   : NULL
---> http:///blah.com   : 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80   : 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80   : 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80   : 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://:   : 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/   : 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/   : 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/   : 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://?   : 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?:   : 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:?   : 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456   : 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef   : 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37   : NULL
---> http://64.246.30.37   : NULL
---> http://64.246.30.37/   : NULL
---> 64.246.30.37/   : NULL
---> 64.246.30.37:80/   : NULL
---> php.net   : NULL
---> php.net/   : NULL
---> http://php.net   : NULL
---> http://php.net/   : NULL
---> www.php.net   : NULL
---> www.php.net/   : NULL
---> http://www.php.net   : NULL
---> http://www.php.net/   : NULL
---> www.php.net:80   : NULL
---> http://www.php.net:80   : NULL
---> http://www.php.net:80/   : NULL
---> http://www.php.net/index.php   : NULL
---> www.php.net/?   : NULL
---> www.php.net:80/?   : NULL
---> http://www.php.net/?   : NULL
---> http://www.php.net:80/?   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/foo/bar/index.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : unicode(37) "lots=1&of=2&parameters=3&too=4&here=5"
 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : NULL
 --> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
@@ -275,4 +147,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index 473929f02b51d10a244c8ec20100081699630007..17672642a2bb413437caa8b2face3f0f7ea9c5cf 100644 (file)
@@ -53,134 +53,6 @@ echo "Done";
 --> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : NULL
 --> http://www.php.net:80/index.php   : NULL
 --> http://www.php.net:80/index.php?   : NULL
---> http://www.php.net:80/#foo   : string(3) "foo"
---> http://www.php.net:80/?#   : NULL
---> http://www.php.net:80/?test=1   : NULL
---> http://www.php.net/?test=1&   : NULL
---> http://www.php.net:80/?&   : NULL
---> http://www.php.net:80/index.php?test=1&   : NULL
---> http://www.php.net/index.php?&   : NULL
---> http://www.php.net:80/index.php?foo&   : NULL
---> http://www.php.net/index.php?&foo   : NULL
---> http://www.php.net:80/index.php?test=1&test2=char&test3=mixesCI   : NULL
---> www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(16) "some_page_ref123"
---> http://secret@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(16) "some_page_ref123"
---> http://secret:@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(16) "some_page_ref123"
---> http://:hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(16) "some_page_ref123"
---> http://secret:hideout@www.php.net/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(16) "some_page_ref123"
---> http://secret@hideout@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(16) "some_page_ref123"
---> http://secret:hid:out@www.php.net:80/index.php?test=1&test2=char&test3=mixesCI#some_page_ref123   : string(16) "some_page_ref123"
---> nntp://news.php.net   : NULL
---> ftp://ftp.gnu.org/gnu/glic/glibc.tar.gz   : NULL
---> zlib:http://foo@bar   : NULL
---> zlib:filename.txt   : NULL
---> zlib:/path/to/my/file/file.txt   : NULL
---> foo://foo@bar   : NULL
---> mailto:me@mydomain.com   : NULL
---> /foo.php?a=b&c=d   : NULL
---> foo.php?a=b&c=d   : NULL
---> http://user:passwd@www.example.com:8080?bar=1&boom=0   : NULL
---> file:///path/to/file   : NULL
---> file://path/to/file   : NULL
---> file:/path/to/file   : NULL
---> http://1.2.3.4:/abc.asp?a=1&b=2   : NULL
---> http://foo.com#bar   : string(3) "bar"
---> scheme:   : NULL
---> foo+bar://baz@bang/bla   : NULL
---> gg:9130731   : NULL
---> http://user:@pass@host/path?argument?value#etc   : string(3) "etc"
---> http://10.10.10.10/:80   : NULL
---> http://x:?   : NULL
---> x:blah.com   : NULL
---> x:/blah.com   : NULL
---> x://::abc/?   : NULL
---> http://::?   : NULL
---> x://::6.5   : NULL
---> http://?:/   : NULL
---> http://@?:/   : NULL
---> file:///:   : NULL
---> file:///a:/   : NULL
---> file:///ab:/   : NULL
---> file:///a:/   : NULL
---> file:///@:/   : NULL
---> file:///:80/   : NULL
---> []   : NULL
---> http://[x:80]/   : NULL
--->    : NULL
---> /   : NULL
---> http:///blah.com   : 
-Warning: parse_url(http:///blah.com): Unable to parse URL in %s on line 15
-bool(false)
---> http://:80   : 
-Warning: parse_url(http://:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user@:80   : 
-Warning: parse_url(http://user@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://user:pass@:80   : 
-Warning: parse_url(http://user:pass@:80): Unable to parse URL in %s on line 15
-bool(false)
---> http://:   : 
-Warning: parse_url(http://:): Unable to parse URL in %s on line 15
-bool(false)
---> http://@/   : 
-Warning: parse_url(http://@/): Unable to parse URL in %s on line 15
-bool(false)
---> http://@:/   : 
-Warning: parse_url(http://@:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://:/   : 
-Warning: parse_url(http://:/): Unable to parse URL in %s on line 15
-bool(false)
---> http://?   : 
-Warning: parse_url(http://?): Unable to parse URL in %s on line 15
-bool(false)
---> http://?:   : 
-Warning: parse_url(http://?:): Unable to parse URL in %s on line 15
-bool(false)
---> http://:?   : 
-Warning: parse_url(http://:?): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:123456   : 
-Warning: parse_url(http://blah.com:123456): Unable to parse URL in %s on line 15
-bool(false)
---> http://blah.com:abcdef   : 
-Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
-bool(false)
-Done
---UEXPECTF--
---> 64.246.30.37   : NULL
---> http://64.246.30.37   : NULL
---> http://64.246.30.37/   : NULL
---> 64.246.30.37/   : NULL
---> 64.246.30.37:80/   : NULL
---> php.net   : NULL
---> php.net/   : NULL
---> http://php.net   : NULL
---> http://php.net/   : NULL
---> www.php.net   : NULL
---> www.php.net/   : NULL
---> http://www.php.net   : NULL
---> http://www.php.net/   : NULL
---> www.php.net:80   : NULL
---> http://www.php.net:80   : NULL
---> http://www.php.net:80/   : NULL
---> http://www.php.net/index.php   : NULL
---> www.php.net/?   : NULL
---> www.php.net:80/?   : NULL
---> http://www.php.net/?   : NULL
---> http://www.php.net:80/?   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/foo/bar/index.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php?lots=1&of=2&parameters=3&too=4&here=5   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/structure/and/file.php   : NULL
---> http://www.php.net:80/this/../a/../deep/directory   : NULL
---> http://www.php.net:80/this/../a/../deep/directory/   : NULL
---> http://www.php.net:80/this/is/a/very/deep/directory/../file.php   : NULL
---> http://www.php.net:80/index.php   : NULL
---> http://www.php.net:80/index.php?   : NULL
 --> http://www.php.net:80/#foo   : unicode(3) "foo"
 --> http://www.php.net:80/?#   : NULL
 --> http://www.php.net:80/?test=1   : NULL
@@ -275,4 +147,4 @@ bool(false)
 --> http://blah.com:abcdef   : 
 Warning: parse_url(http://blah.com:abcdef): Unable to parse URL in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index 3bb2dba14254bb4add2319d1aa6bad7c6ae3edbb..36fe46ace035f3bde7125afe080495f4a282eea3 100644 (file)
@@ -19,7 +19,7 @@ foreach(get_defined_constants() as $constantName => $constantValue) {
 
 echo "Done";
 ?>
---EXPECTF--
+--EXPECT--
 PHP_URL_SCHEME: 0 
 PHP_URL_HOST: 1 
 PHP_URL_PORT: 2 
@@ -28,4 +28,4 @@ PHP_URL_PASS: 4
 PHP_URL_PATH: 5 
 PHP_URL_QUERY: 6 
 PHP_URL_FRAGMENT: 7 
-Done
\ No newline at end of file
+Done
index 0280a87cbc761bcc5e0e4504b665dcaaa549466b..12e4f53d35d72fea868fcab92b692c8582b96e97 100644 (file)
@@ -35,4 +35,4 @@ NULL
 
 Warning: parse_url() expects at most 2 parameters, 3 given in %s on line 19
 NULL
-Done
\ No newline at end of file
+Done
index 9939df2f0b56dfaec738286969f0406019c9caa3..674a78fbfdfa33a6c81f2afdf6c619c1e4af3b51 100644 (file)
@@ -21,32 +21,6 @@ echo "Done"
 ?>
 --EXPECTF--
 *** Testing parse_url() : error conditions: url component specifier out of range ***
---> Below range:array(8) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(6) "secret"
-  ["pass"]=>
-  string(7) "hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
-
---> Above range:
-Warning: parse_url(): Invalid URL component identifier 99 in %s on line 15
-bool(false)
-Done
---UEXPECTF--
-*** Testing parse_url() : error conditions: url component specifier out of range ***
 --> Below range:array(8) {
   [u"scheme"]=>
   unicode(4) "http"
@@ -70,4 +44,4 @@ Done
 --> Above range:
 Warning: parse_url(): Invalid URL component identifier 99 in %s on line 15
 bool(false)
-Done
\ No newline at end of file
+Done
index d35612d9da885fb6c8020ff319da6cb5d528efe1..13417e4eebae0960ade6c9c517b74f9a17756062 100644 (file)
@@ -80,155 +80,6 @@ echo "Done";
 Error: 8 - Undefined variable: undefined_var, %s(60)
 Error: 8 - Undefined variable: unset_var, %s(63)
 
-Arg value 0 
-array(1) {
-  ["path"]=>
-  string(1) "0"
-}
-
-Arg value 1 
-array(1) {
-  ["path"]=>
-  string(1) "1"
-}
-
-Arg value 12345 
-array(1) {
-  ["path"]=>
-  string(5) "12345"
-}
-
-Arg value -2345 
-array(1) {
-  ["path"]=>
-  string(5) "-2345"
-}
-
-Arg value 10.5 
-array(1) {
-  ["path"]=>
-  string(4) "10.5"
-}
-
-Arg value -10.5 
-array(1) {
-  ["path"]=>
-  string(5) "-10.5"
-}
-
-Arg value 101234567000 
-array(1) {
-  ["path"]=>
-  string(12) "101234567000"
-}
-
-Arg value 1.07654321E-9 
-array(1) {
-  ["path"]=>
-  string(13) "1.07654321E-9"
-}
-
-Arg value 0.5 
-array(1) {
-  ["path"]=>
-  string(3) "0.5"
-}
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-Error: 8 - Array to string conversion, %s(69)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), array given, %s(70)
-NULL
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-
-Arg value 1 
-array(1) {
-  ["path"]=>
-  string(1) "1"
-}
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-
-Arg value 1 
-array(1) {
-  ["path"]=>
-  string(1) "1"
-}
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-Error: 4096 - Object of class stdClass could not be converted to string, %s(69)
-
-Arg value  
-Error: 2 - parse_url() expects parameter 1 to be string (Unicode or binary), object given, %s(70)
-NULL
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-
-Arg value  
-array(1) {
-  ["path"]=>
-  string(0) ""
-}
-Done
---UEXPECTF--
-*** Testing parse_url() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(60)
-Error: 8 - Undefined variable: unset_var, %s(63)
-
 Arg value 0 
 array(1) {
   [u"path"]=>
@@ -372,4 +223,4 @@ array(1) {
   [u"path"]=>
   unicode(0) ""
 }
-Done
\ No newline at end of file
+Done
index 6a5d3e9f3a19cf1824cc2bb019c6a44e41ee6f04..e0fea912c3c29dc923d28d24b9e2e9fb88b4853a 100644 (file)
@@ -85,115 +85,6 @@ Arg value 10.5
 Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
 bool(false)
 
-Arg value -10.5 
-array(8) {
-  ["scheme"]=>
-  string(4) "http"
-  ["host"]=>
-  string(11) "www.php.net"
-  ["port"]=>
-  int(80)
-  ["user"]=>
-  string(6) "secret"
-  ["pass"]=>
-  string(7) "hideout"
-  ["path"]=>
-  string(10) "/index.php"
-  ["query"]=>
-  string(31) "test=1&test2=char&test3=mixesCI"
-  ["fragment"]=>
-  string(16) "some_page_ref123"
-}
-
-Arg value 101234567000 
-Error: 2 - parse_url(): Invalid URL component identifier %d, %s(71)
-bool(false)
-
-Arg value 1.07654321E-9 
-string(4) "http"
-
-Arg value 0.5 
-string(4) "http"
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-Error: 8 - Array to string conversion, %s(70)
-
-Arg value Array 
-Error: 2 - parse_url() expects parameter 2 to be long, array given, %s(71)
-NULL
-
-Arg value  
-string(4) "http"
-
-Arg value  
-string(4) "http"
-
-Arg value 1 
-string(11) "www.php.net"
-
-Arg value  
-string(4) "http"
-
-Arg value 1 
-string(11) "www.php.net"
-
-Arg value  
-string(4) "http"
-
-Arg value  
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-
-Arg value  
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-
-Arg value string 
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-
-Arg value string 
-Error: 2 - parse_url() expects parameter 2 to be long, string given, %s(71)
-NULL
-Error: 4096 - Object of class stdClass could not be converted to string, %s(70)
-
-Arg value  
-Error: 2 - parse_url() expects parameter 2 to be long, object given, %s(71)
-NULL
-
-Arg value  
-string(4) "http"
-
-Arg value  
-string(4) "http"
-Done
---UEXPECTF--
-*** Testing parse_url() : usage variations ***
-Error: 8 - Undefined variable: undefined_var, %s(61)
-Error: 8 - Undefined variable: unset_var, %s(64)
-
-Arg value 10.5 
-Error: 2 - parse_url(): Invalid URL component identifier 10, %s(71)
-bool(false)
-
 Arg value -10.5 
 array(8) {
   [u"scheme"]=>
@@ -293,4 +184,4 @@ unicode(4) "http"
 
 Arg value  
 unicode(4) "http"
-Done
\ No newline at end of file
+Done
index e7f7581390465e1aba6dd5cdcdffca336edb0fce..8edc7bc6055a244d2e1079bde5c7a2eb416edc43 100644 (file)
@@ -112,98 +112,6 @@ Arg value 0.5
 string(3) "0.5"
 Error: 8 - Array to string conversion, %s(73)
 
-Arg value Array 
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-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(73)
-
-Arg value  
-Error: 2 - rawurldecode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing rawurldecode() : 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(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(13) "1.07654321E-9"
-
-Arg value 0.5 
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
 Arg value Array 
 Error: 2 - rawurldecode() expects parameter 1 to be binary string, array given, %s(74)
 NULL
index 7acce9e0c454e26d4b883073a3dbb28043a993fe..f368487c472d1be0d7e90cbe5ff75ec8600707d3 100644 (file)
@@ -36,4 +36,4 @@ NULL
 
 Warning: rawurlencode() expects exactly 1 parameter, 2 given in %s on line 20
 NULL
-Done
\ No newline at end of file
+Done
index b5fd86d7db8054ca469c5e049c45cdf5b0a19c14..f3867d03feb26309edd27ba2d346e74643e36dbd 100644 (file)
@@ -112,98 +112,6 @@ Arg value 0.5
 string(3) "0.5"
 Error: 8 - Array to string conversion, %s(73)
 
-Arg value Array 
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - rawurlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-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(73)
-
-Arg value  
-Error: 2 - rawurlencode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing rawurlencode() : 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(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(13) "1.07654321E-9"
-
-Arg value 0.5 
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
 Arg value Array 
 Error: 2 - rawurlencode() expects parameter 1 to be binary string, array given, %s(74)
 NULL
index f0e5ae08383330f2e56d516b62469bc6aecc6008..db45266a8b4498e58c328e6a20f9cf8cc4d2d367 100644 (file)
@@ -36,4 +36,4 @@ NULL
 
 Warning: urldecode() expects exactly 1 parameter, 2 given in %s on line 20
 NULL
-Done
\ No newline at end of file
+Done
index e8b662908c387a68030068e27475ebb1d85ad975..01421d5e407e8f65b2f28d6a379c9a9c94b3028e 100644 (file)
@@ -112,98 +112,6 @@ Arg value 0.5
 string(3) "0.5"
 Error: 8 - Array to string conversion, %s(73)
 
-Arg value Array 
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urldecode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-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(73)
-
-Arg value  
-Error: 2 - urldecode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing urldecode() : 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(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(13) "1.07654321E-9"
-
-Arg value 0.5 
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
 Arg value Array 
 Error: 2 - urldecode() expects parameter 1 to be binary string, array given, %s(74)
 NULL
index fc00b057d86775070873a27307094ffd23135e15..3f76b2ca62cd1e4a20859ffdd10f771ac1c6cdd3 100644 (file)
@@ -36,4 +36,4 @@ NULL
 
 Warning: urlencode() expects exactly 1 parameter, 2 given in %s on line 20
 NULL
-Done
\ No newline at end of file
+Done
index 0d0373458e1713306bfa8609ce7c3c8b7423b7ab..0289de683247c0f01f1a762814dc25031b4b8555 100644 (file)
@@ -112,98 +112,6 @@ Arg value 0.5
 string(3) "0.5"
 Error: 8 - Array to string conversion, %s(73)
 
-Arg value Array 
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-Error: 8 - Array to string conversion, %s(73)
-
-Arg value Array 
-Error: 2 - urlencode() expects parameter 1 to be string, array given, %s(74)
-NULL
-
-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(73)
-
-Arg value  
-Error: 2 - urlencode() expects parameter 1 to be string, object given, %s(74)
-NULL
-
-Arg value  
-string(0) ""
-
-Arg value  
-string(0) ""
-Done
---UEXPECTF--
-*** Testing urlencode() : 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(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(13) "1.07654321E-9"
-
-Arg value 0.5 
-string(3) "0.5"
-Error: 8 - Array to string conversion, %s(73)
-
 Arg value Array 
 Error: 2 - urlencode() expects parameter 1 to be binary string, array given, %s(74)
 NULL
@@ -264,4 +172,4 @@ string(0) ""
 
 Arg value  
 string(0) ""
-Done
\ No newline at end of file
+Done
index 145fb933abda2f9948d20ab89aac8bc503cb552e..17574e97370a9cc015b7991b874f5a8157c62818 100644 (file)
@@ -792,4 +792,4 @@ TESTING OPERATORS
  1.0pl1 == 1.0pl1  : true
  1.0pl1 ne 1.0pl1  : false
  1.0pl1 <> 1.0pl1  : false
- 1.0pl1 != 1.0pl1  : false
\ No newline at end of file
+ 1.0pl1 != 1.0pl1  : false