diff options
author | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 18:03:31 +0200 |
---|---|---|
committer | Peter Kokot <peterkokot@gmail.com> | 2018-10-14 19:46:15 +0200 |
commit | d7a3edd45db8d91ddf09cba7c594c63e63f62709 (patch) | |
tree | ef4fe3e4794260b362dad72d3542fdbef0169b8e /ext/iconv | |
parent | b0708fa2e7b31f1fbd9539486a35d33643e62461 (diff) | |
download | php-git-d7a3edd45db8d91ddf09cba7c594c63e63f62709.tar.gz |
Trim trailing whitespace in *.phpt
Diffstat (limited to 'ext/iconv')
31 files changed, 34 insertions, 34 deletions
diff --git a/ext/iconv/tests/eucjp2utf8.phpt b/ext/iconv/tests/eucjp2utf8.phpt index 4ffcfef516..38cfdd37b8 100644 --- a/ext/iconv/tests/eucjp2utf8.phpt +++ b/ext/iconv/tests/eucjp2utf8.phpt @@ -48,7 +48,7 @@ $str = " 日本語テキストとEnglish Text "; -$str = iconv("EUC-JP", "UTF-8", $str); /* libiconv(1.8) doesn't know "UTF8" but "UTF-8". */ +$str = iconv("EUC-JP", "UTF-8", $str); /* libiconv(1.8) doesn't know "UTF8" but "UTF-8". */ $str = base64_encode($str); echo $str."\n"; diff --git a/ext/iconv/tests/iconv_basic.phpt b/ext/iconv/tests/iconv_basic.phpt index 8669af040c..1c57cfbeff 100644 --- a/ext/iconv/tests/iconv_basic.phpt +++ b/ext/iconv/tests/iconv_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test iconv() function : basic functionality +Test iconv() function : basic functionality --SKIPIF-- <?php extension_loaded('iconv') or die('skip'); @@ -8,7 +8,7 @@ function_exists('iconv') or die("skip iconv() is not available in this build"); --FILE-- <?php /* Prototype : string iconv(string in_charset, string out_charset, string str) - * Description: Returns converted string in desired encoding + * Description: Returns converted string in desired encoding * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_encoding_basic.phpt b/ext/iconv/tests/iconv_encoding_basic.phpt index 6b0d4f11b4..e69e4175a8 100644 --- a/ext/iconv/tests/iconv_encoding_basic.phpt +++ b/ext/iconv/tests/iconv_encoding_basic.phpt @@ -16,7 +16,7 @@ iconv.output_encoding=ISO-8859-1 * Description: Get internal encoding and output encoding for ob_iconv_handler() * Prototype : bool iconv_set_encoding(string type, string charset) * Description: Sets internal encoding and output encoding for ob_iconv_handler() - * Source code: ext/iconv/iconv.c + * Source code: ext/iconv/iconv.c */ /* diff --git a/ext/iconv/tests/iconv_get_encoding_error.phpt b/ext/iconv/tests/iconv_get_encoding_error.phpt index d7126c482e..0526fce2a5 100644 --- a/ext/iconv/tests/iconv_get_encoding_error.phpt +++ b/ext/iconv/tests/iconv_get_encoding_error.phpt @@ -9,7 +9,7 @@ function_exists('iconv_get_encoding') or die("skip iconv_get_encoding() is not a <?php /* Prototype : mixed iconv_get_encoding([string type]) * Description: Get internal encoding and output encoding for ob_iconv_handler() - * Source code: ext/iconv/iconv.c + * Source code: ext/iconv/iconv.c */ /* diff --git a/ext/iconv/tests/iconv_set_encoding_error.phpt b/ext/iconv/tests/iconv_set_encoding_error.phpt index 0fc8450065..4176bf9165 100644 --- a/ext/iconv/tests/iconv_set_encoding_error.phpt +++ b/ext/iconv/tests/iconv_set_encoding_error.phpt @@ -9,7 +9,7 @@ function_exists('iconv_set_encoding') or die("skip iconv_set_encoding() is not a <?php /* Prototype : bool iconv_set_encoding(string type, string charset) * Description: Sets internal encoding and output encoding for ob_iconv_handler() - * Source code: ext/iconv/iconv.c + * Source code: ext/iconv/iconv.c */ /* diff --git a/ext/iconv/tests/iconv_set_encoding_variation.phpt b/ext/iconv/tests/iconv_set_encoding_variation.phpt index a75e10b346..906f46bc31 100644 --- a/ext/iconv/tests/iconv_set_encoding_variation.phpt +++ b/ext/iconv/tests/iconv_set_encoding_variation.phpt @@ -11,7 +11,7 @@ error_reporting=E_ALL & ~E_DEPRECATED <?php /* Prototype : bool iconv_set_encoding(string type, string charset) * Description: Sets internal encoding and output encoding for ob_iconv_handler() - * Source code: ext/iconv/iconv.c + * Source code: ext/iconv/iconv.c */ /* diff --git a/ext/iconv/tests/iconv_strlen_basic.phpt b/ext/iconv/tests/iconv_strlen_basic.phpt index f4f8d7fb9b..7e1bec9e73 100644 --- a/ext/iconv/tests/iconv_strlen_basic.phpt +++ b/ext/iconv/tests/iconv_strlen_basic.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strlen') or die("skip iconv_strlen() is not available in --FILE-- <?php /* Prototype : int iconv_strlen(string str [, string charset]) - * Description: Get character numbers of a string + * Description: Get character numbers of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strlen_error1.phpt b/ext/iconv/tests/iconv_strlen_error1.phpt index 3c63b20f79..21b99c011d 100644 --- a/ext/iconv/tests/iconv_strlen_error1.phpt +++ b/ext/iconv/tests/iconv_strlen_error1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strlen') or die("skip iconv_strlen() is not available in --FILE-- <?php /* Prototype : int iconv_strlen(string str [, string charset]) - * Description: Get character numbers of a string + * Description: Get character numbers of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strlen_error2.phpt b/ext/iconv/tests/iconv_strlen_error2.phpt index 6c760b14c8..973efecb35 100644 --- a/ext/iconv/tests/iconv_strlen_error2.phpt +++ b/ext/iconv/tests/iconv_strlen_error2.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strlen') or die("skip iconv_strlen() is not available in --FILE-- <?php /* Prototype : int iconv_strlen(string str [, string charset]) - * Description: Get character numbers of a string + * Description: Get character numbers of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strlen_variation1.phpt b/ext/iconv/tests/iconv_strlen_variation1.phpt index 877963738d..d6edf5b86d 100644 --- a/ext/iconv/tests/iconv_strlen_variation1.phpt +++ b/ext/iconv/tests/iconv_strlen_variation1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strlen') or die("skip iconv_strlen() is not available in --FILE-- <?php /* Prototype : int iconv_strlen(string str [, string charset]) - * Description: Get character numbers of a string + * Description: Get character numbers of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strlen_variation2.phpt b/ext/iconv/tests/iconv_strlen_variation2.phpt index daa0cc46e3..be5afdc93b 100644 --- a/ext/iconv/tests/iconv_strlen_variation2.phpt +++ b/ext/iconv/tests/iconv_strlen_variation2.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strlen') or die("skip iconv_strlen() is not available in --FILE-- <?php /* Prototype : int iconv_strlen(string str [, string charset]) - * Description: Get character numbers of a string + * Description: Get character numbers of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_basic.phpt b/ext/iconv/tests/iconv_strpos_basic.phpt index 88f4903ca3..8aa3ce42a5 100644 --- a/ext/iconv/tests/iconv_strpos_basic.phpt +++ b/ext/iconv/tests/iconv_strpos_basic.phpt @@ -10,7 +10,7 @@ error_reporting=E_ALL & ~E_DEPRECATED --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_error1.phpt b/ext/iconv/tests/iconv_strpos_error1.phpt index 232466562c..dd0fe466d7 100644 --- a/ext/iconv/tests/iconv_strpos_error1.phpt +++ b/ext/iconv/tests/iconv_strpos_error1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_error2.phpt b/ext/iconv/tests/iconv_strpos_error2.phpt index 01e728ad9e..91f2704903 100644 --- a/ext/iconv/tests/iconv_strpos_error2.phpt +++ b/ext/iconv/tests/iconv_strpos_error2.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_variation1.phpt b/ext/iconv/tests/iconv_strpos_variation1.phpt index e367a0ac7d..1eb8f7b21b 100644 --- a/ext/iconv/tests/iconv_strpos_variation1.phpt +++ b/ext/iconv/tests/iconv_strpos_variation1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_variation2.phpt b/ext/iconv/tests/iconv_strpos_variation2.phpt index 308b723c96..798fe7f85c 100644 --- a/ext/iconv/tests/iconv_strpos_variation2.phpt +++ b/ext/iconv/tests/iconv_strpos_variation2.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_variation3.phpt b/ext/iconv/tests/iconv_strpos_variation3.phpt index 7f5281b34f..0a3b343bfc 100644 --- a/ext/iconv/tests/iconv_strpos_variation3.phpt +++ b/ext/iconv/tests/iconv_strpos_variation3.phpt @@ -9,7 +9,7 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_variation3_64bit.phpt b/ext/iconv/tests/iconv_strpos_variation3_64bit.phpt index 88f043086a..9389282f0a 100644 --- a/ext/iconv/tests/iconv_strpos_variation3_64bit.phpt +++ b/ext/iconv/tests/iconv_strpos_variation3_64bit.phpt @@ -9,7 +9,7 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_variation4.phpt b/ext/iconv/tests/iconv_strpos_variation4.phpt index b992ad6e00..5a97c2a5ac 100644 --- a/ext/iconv/tests/iconv_strpos_variation4.phpt +++ b/ext/iconv/tests/iconv_strpos_variation4.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strpos') or die("skip iconv_strpos() is not available in --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strpos_variation5.phpt b/ext/iconv/tests/iconv_strpos_variation5.phpt index 759294f73a..7ada6fbb91 100644 --- a/ext/iconv/tests/iconv_strpos_variation5.phpt +++ b/ext/iconv/tests/iconv_strpos_variation5.phpt @@ -10,13 +10,13 @@ error_reporting=E_ALL & ~E_DEPRECATED --FILE-- <?php /* Prototype : int iconv_strpos(string haystack, string needle [, int offset [, string charset]]) - * Description: Find position of first occurrence of a string within another + * Description: Find position of first occurrence of a string within another * Source code: ext/iconv/iconv.c */ /* * Test how iconv_strpos() behaves when passed different integers as $offset argument - * The character length of $string_ascii and $string_mb is the same, + * The character length of $string_ascii and $string_mb is the same, * and the needle appears at the same positions in both strings */ diff --git a/ext/iconv/tests/iconv_strrpos_basic.phpt b/ext/iconv/tests/iconv_strrpos_basic.phpt index 5a6ee82d9f..bf2a5d9efa 100644 --- a/ext/iconv/tests/iconv_strrpos_basic.phpt +++ b/ext/iconv/tests/iconv_strrpos_basic.phpt @@ -10,7 +10,7 @@ error_reporting=E_ALL & ~E_DEPRECATED --FILE-- <?php /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) - * Description: Find position of last occurrence of a string within another + * Description: Find position of last occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strrpos_error1.phpt b/ext/iconv/tests/iconv_strrpos_error1.phpt index 9d185c744d..b9a1820933 100644 --- a/ext/iconv/tests/iconv_strrpos_error1.phpt +++ b/ext/iconv/tests/iconv_strrpos_error1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strrpos') or die("skip iconv_strrpos() is not available i --FILE-- <?php /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) - * Description: Find position of last occurrence of a string within another + * Description: Find position of last occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strrpos_error2.phpt b/ext/iconv/tests/iconv_strrpos_error2.phpt index ea72322807..16b7a9def8 100644 --- a/ext/iconv/tests/iconv_strrpos_error2.phpt +++ b/ext/iconv/tests/iconv_strrpos_error2.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strrpos') or die("skip iconv_strrpos() is not available i --FILE-- <?php /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) - * Description: Find position of last occurrence of a string within another + * Description: Find position of last occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strrpos_variation1.phpt b/ext/iconv/tests/iconv_strrpos_variation1.phpt index 7637724652..573c2ea517 100644 --- a/ext/iconv/tests/iconv_strrpos_variation1.phpt +++ b/ext/iconv/tests/iconv_strrpos_variation1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strrpos') or die("skip iconv_strrpos() is not available i --FILE-- <?php /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) - * Description: Find position of last occurrence of a string within another + * Description: Find position of last occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strrpos_variation2.phpt b/ext/iconv/tests/iconv_strrpos_variation2.phpt index 5a669205c0..297a7589d3 100644 --- a/ext/iconv/tests/iconv_strrpos_variation2.phpt +++ b/ext/iconv/tests/iconv_strrpos_variation2.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strrpos') or die("skip iconv_strrpos() is not available i --FILE-- <?php /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) - * Description: Find position of last occurrence of a string within another + * Description: Find position of last occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_strrpos_variation3.phpt b/ext/iconv/tests/iconv_strrpos_variation3.phpt index 1da6f82aa4..35e5056e0f 100644 --- a/ext/iconv/tests/iconv_strrpos_variation3.phpt +++ b/ext/iconv/tests/iconv_strrpos_variation3.phpt @@ -8,7 +8,7 @@ function_exists('iconv_strrpos') or die("skip iconv_strrpos() is not available i --FILE-- <?php /* Prototype : proto int iconv_strrpos(string haystack, string needle [, string charset]) - * Description: Find position of last occurrence of a string within another + * Description: Find position of last occurrence of a string within another * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_substr_basic.phpt b/ext/iconv/tests/iconv_substr_basic.phpt index 2e33c5aa9b..582529d54d 100644 --- a/ext/iconv/tests/iconv_substr_basic.phpt +++ b/ext/iconv/tests/iconv_substr_basic.phpt @@ -1,5 +1,5 @@ --TEST-- -Test iconv_substr() function : basic functionality +Test iconv_substr() function : basic functionality --SKIPIF-- <?php extension_loaded('iconv') or die('skip'); @@ -12,7 +12,7 @@ iconv.output_encoding=ISO-8859-1 --FILE-- <?php /* Prototype : string iconv_substr(string str, int offset, [int length, string charset]) - * Description: Returns part of a string + * Description: Returns part of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_substr_error1.phpt b/ext/iconv/tests/iconv_substr_error1.phpt index 7a30c7d509..61c01dc0d0 100644 --- a/ext/iconv/tests/iconv_substr_error1.phpt +++ b/ext/iconv/tests/iconv_substr_error1.phpt @@ -8,7 +8,7 @@ function_exists('iconv_substr') or die("skip iconv_substr() is not available in --FILE-- <?php /* Prototype : string iconv_substr(string str, int offset, [int length, string charset]) - * Description: Returns part of a string + * Description: Returns part of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/iconv_substr_error2.phpt b/ext/iconv/tests/iconv_substr_error2.phpt index ac5081331b..0bc0661026 100644 --- a/ext/iconv/tests/iconv_substr_error2.phpt +++ b/ext/iconv/tests/iconv_substr_error2.phpt @@ -8,7 +8,7 @@ function_exists('iconv_substr') or die("skip iconv_substr() is not available in --FILE-- <?php /* Prototype : string iconv_substr(string str, int offset, [int length, string charset]) - * Description: Returns part of a string + * Description: Returns part of a string * Source code: ext/iconv/iconv.c */ diff --git a/ext/iconv/tests/translit-failure.phpt b/ext/iconv/tests/translit-failure.phpt index d8b9fbff83..2132e7e130 100644 --- a/ext/iconv/tests/translit-failure.phpt +++ b/ext/iconv/tests/translit-failure.phpt @@ -3,7 +3,7 @@ Translit failure --SKIPIF-- <?php include('skipif.inc'); -( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\""); +( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\""); ?> --INI-- error_reporting=2039 diff --git a/ext/iconv/tests/translit-utf8.phpt b/ext/iconv/tests/translit-utf8.phpt index 0151dc385c..c363eeeab6 100644 --- a/ext/iconv/tests/translit-utf8.phpt +++ b/ext/iconv/tests/translit-utf8.phpt @@ -3,7 +3,7 @@ Translit UTF-8 quotes --SKIPIF-- <?php include('skipif.inc'); -( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\""); +( ICONV_IMPL != "libiconv" ) and die("skip ICONV_IMPL != \"libiconv\""); ?> --INI-- error_reporting=2047 |