Files
php-src/ext/mbstring/tests/casefold.phpt
Nikita Popov a06d015e61 Remove unnecessary mbstring skipifs
These functions are always available (if the extension is available
at all).
2021-06-14 15:27:28 +02:00

20 lines
448 B
PHP

--TEST--
mb_strtoupper() / mb_strtolower()
--EXTENSIONS--
mbstring
--INI--
output_handler=
--FILE--
<?php
mb_internal_encoding( 'ISO-8859-1' );
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
ÄËÏ
Äëï