1--TEST-- 2Bug #69267: mb_strtolower fails on titlecase characters 3--FILE-- 4<?php 5 6$str_l = "džljnjdz"; 7$str_u = "DŽLJNJDZ"; 8$str_t = "DžLjNjDz"; 9var_dump(mb_strtolower($str_l)); 10var_dump(mb_strtolower($str_u)); 11var_dump(mb_strtolower($str_t)); 12var_dump(mb_strtoupper($str_l)); 13var_dump(mb_strtoupper($str_u)); 14var_dump(mb_strtoupper($str_t)); 15var_dump(mb_convert_case($str_l, MB_CASE_TITLE)); 16var_dump(mb_convert_case($str_u, MB_CASE_TITLE)); 17var_dump(mb_convert_case($str_t, MB_CASE_TITLE)); 18 19$str_l = "ᾳ"; 20$str_t = "ᾼ"; 21var_dump(mb_strtolower($str_l)); 22var_dump(mb_strtolower($str_t)); 23var_dump(mb_strtoupper($str_l)); 24var_dump(mb_strtoupper($str_t)); 25var_dump(mb_convert_case($str_l, MB_CASE_TITLE)); 26var_dump(mb_convert_case($str_t, MB_CASE_TITLE)); 27 28?> 29--EXPECT-- 30string(8) "džljnjdz" 31string(8) "džljnjdz" 32string(8) "džljnjdz" 33string(8) "DŽLJNJDZ" 34string(8) "DŽLJNJDZ" 35string(8) "DŽLJNJDZ" 36string(8) "Džljnjdz" 37string(8) "Džljnjdz" 38string(8) "Džljnjdz" 39string(3) "ᾳ" 40string(3) "ᾳ" 41string(3) "ᾼ" 42string(3) "ᾼ" 43string(3) "ᾼ" 44string(3) "ᾼ" 45