diff options
Diffstat (limited to 'ext/intl/tests/normalizer_normalize_kc_cf.phpt')
-rw-r--r-- | ext/intl/tests/normalizer_normalize_kc_cf.phpt | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/ext/intl/tests/normalizer_normalize_kc_cf.phpt b/ext/intl/tests/normalizer_normalize_kc_cf.phpt index a4e478cc4e..43b8afbfb5 100644 --- a/ext/intl/tests/normalizer_normalize_kc_cf.phpt +++ b/ext/intl/tests/normalizer_normalize_kc_cf.phpt @@ -27,7 +27,7 @@ function ut_main() if (Normalizer::FORM_C != Normalizer::NFC) { $res_str .= "Invalid normalization form declarations!\n"; } - + $char_a_diaeresis = "\xC3\xA4"; // 'LATIN SMALL LETTER A WITH DIAERESIS' (U+00E4) $char_a_ring = "\xC3\xA5"; // 'LATIN SMALL LETTER A WITH RING ABOVE' (U+00E5) $char_o_diaeresis = "\xC3\xB6"; // 'LATIN SMALL LETTER O WITH DIAERESIS' (U+00F6) @@ -43,7 +43,7 @@ function ut_main() $char_fi_ligature = "\xEF\xAC\x81"; // 'LATIN SMALL LIGATURE FI' (U+FB01) $char_long_s_dot = "\xE1\xBA\x9B"; // 'LATIN SMALL LETTER LONG S WITH DOT ABOVE' (U+1E9B) - + $strs = array( 'ABC', 'abc', @@ -53,7 +53,7 @@ function ut_main() $char_fi_ligature, $char_long_s_dot, ); - + foreach( $forms as $form ) { foreach( $strs as $str ) @@ -72,12 +72,12 @@ function ut_main() $res_str .= "'$str_hex' normalized to form '{$forms_str[$form]}' is '$str_norm_hex'" . "\terror info: '$error_message' ($error_code)\n" . ""; - + $is_norm = ut_norm_is_normalized( $str, $form ); $error_code = intl_get_error_code(); $error_message = intl_get_error_message(); - $res_str .= " is in form '{$forms_str[$form]}'? = " . ($is_norm ? "yes" : "no") + $res_str .= " is in form '{$forms_str[$form]}'? = " . ($is_norm ? "yes" : "no") . "\terror info: '$error_message' ($error_code)\n" . ""; } |