2002-10-21 01:44:59 +00:00
|
|
|
|
--TEST--
|
|
|
|
|
mb_strtoupper() / mb_strtolower()
|
|
|
|
|
--SKIPIF--
|
2002-10-30 08:06:52 +00:00
|
|
|
|
<?php
|
|
|
|
|
extension_loaded('mbstring') or die('skip mbstring not available');
|
2002-10-23 20:38:18 +00:00
|
|
|
|
function_exists('mb_strtolower') and
|
2002-11-15 15:34:57 +00:00
|
|
|
|
function_exists('mb_convert_case' ) or die("skip mb_convert_case() is not available");
|
2002-10-30 08:06:52 +00:00
|
|
|
|
?>
|
2002-11-03 08:37:59 +00:00
|
|
|
|
--INI--
|
|
|
|
|
output_handler=
|
2002-10-21 01:44:59 +00:00
|
|
|
|
--FILE--
|
2002-10-21 19:19:05 +00:00
|
|
|
|
<?php
|
2002-10-22 20:34:53 +00:00
|
|
|
|
mb_internal_encoding( 'ISO-8859-1' );
|
2002-10-21 19:19:05 +00:00
|
|
|
|
print mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" );
|
|
|
|
|
print mb_strtoupper( mb_strtolower( "ABCDEFGHIJKLMNOPQRSTUVWXYZ\n" ) );
|
2002-10-22 20:34:53 +00:00
|
|
|
|
print mb_strtoupper( "<22><><EFBFBD>\n" );
|
2002-10-23 20:38:18 +00:00
|
|
|
|
print mb_convert_case( "<22><><EFBFBD>\n", MB_CASE_TITLE );
|
2002-10-21 19:19:05 +00:00
|
|
|
|
?>
|
|
|
|
|
|
2002-10-21 01:44:59 +00:00
|
|
|
|
--EXPECT--
|
|
|
|
|
abcdefghijklmnopqrstuvwxyz
|
|
|
|
|
ABCDEFGHIJKLMNOPQRSTUVWXYZ
|
2002-10-22 20:34:53 +00:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>
|
2002-10-23 20:38:18 +00:00
|
|
|
|
<EFBFBD><EFBFBD><EFBFBD>
|