1
0
mirror of https://github.com/php/php-src.git synced 2026-04-26 17:38:14 +02:00
Files
archived-php-src/ext/mbstring/tests/casefold.phpt
T
Moriyoshi Koizumi 069bfc57d9 Updated the test case
2002-10-23 20:38:18 +00:00

23 lines
536 B
PHP

--TEST--
mb_strtoupper() / mb_strtolower()
--SKIPIF--
<?php include('skipif.inc'); ?>
function_exists('mb_strtolower') and
function_exists('mb_convert_case' ) or die("SKIP");
--POST--
--GET--
--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
ÄËÏ
Äëï