public function mb_str_to_upper_words($a) { if ($this->is_mb) { return mb_convert_case($a, MB_CASE_TITLE, $this->encoding); } return ucwords(strtolower($a)); }