xref: /PHP-8.3/ext/mbstring/tests/casefold.phpt (revision a06d015e)
1--TEST--
2mb_strtoupper() / mb_strtolower()
3--EXTENSIONS--
4mbstring
5--INI--
6output_handler=
7--FILE--
8<?php
9    mb_internal_encoding( 'ISO-8859-1' );
10    print mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" );
11    print mb_strtoupper( mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ) );
12    print mb_strtoupper( "���\n" );
13    print mb_convert_case( "���\n", MB_CASE_TITLE );
14?>
15--EXPECT--
16abcdefghijklmnopqrstuvwxyz
17ABCDEFGHIJKLMNOPQRSTUVWXYZ
18���
19���
20