Annotation of embedaddon/php/ext/mbstring/tests/casefold.phpt, revision 1.1.1.1
1.1 misho 1: --TEST--
2: mb_strtoupper() / mb_strtolower()
3: --SKIPIF--
4: <?php
5: extension_loaded('mbstring') or die('skip mbstring not available');
6: function_exists('mb_strtolower') and
7: function_exists('mb_convert_case' ) or die("skip mb_convert_case() is not available");
8: ?>
9: --INI--
10: output_handler=
11: --FILE--
12: <?php
13: mb_internal_encoding( 'ISO-8859-1' );
14: print mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" );
15: print mb_strtoupper( mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ) );
16: print mb_strtoupper( "äëï\n" );
17: print mb_convert_case( "äëï\n", MB_CASE_TITLE );
18: ?>
19:
20: --EXPECT--
21: abcdefghijklmnopqrstuvwxyz
22: ABCDEFGHIJKLMNOPQRSTUVWXYZ
23: ÄËÏ
24: Äëï
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>