From: Moriyoshi Koizumi Date: Wed, 23 Oct 2002 20:38:18 +0000 (+0000) Subject: Updated the test case X-Git-Tag: php-4.3.0pre2~138 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=069bfc57d9ea3e6e7a0e9b55f58d621344227d6d;p=php Updated the test case --- diff --git a/ext/mbstring/tests/casefold.phpt b/ext/mbstring/tests/casefold.phpt index 21b4d01f21..821b957af9 100644 --- a/ext/mbstring/tests/casefold.phpt +++ b/ext/mbstring/tests/casefold.phpt @@ -2,7 +2,8 @@ mb_strtoupper() / mb_strtolower() --SKIPIF-- -function_exists('mb_strtolower') or die("SKIP"); +function_exists('mb_strtolower') and +function_exists('mb_convert_case' ) or die("SKIP"); --POST-- --GET-- --FILE-- @@ -11,10 +12,11 @@ function_exists('mb_strtolower') or die("SKIP"); print mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ); print mb_strtoupper( mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ) ); print mb_strtoupper( "äëï\n" ); + print mb_convert_case( "äëï\n", MB_CASE_TITLE ); ?> --EXPECT-- abcdefghijklmnopqrstuvwxyz ABCDEFGHIJKLMNOPQRSTUVWXYZ ÄËÏ - +Äëï