<?php $str = "This is çthe, sample ştext.üfor replace the each words in, array"; $str = ucwords(strtolower($str), ',\'. '); function customUpper($s) { $old = array('ş', 'i', 'ğ', 'ü', 'ö', 'ç', 'ı'); $new = array('Ş', 'İ', 'Ğ', 'Ü', 'Ö', 'Ç', 'I'); return str_replace($old, $new, $s); } echo customUpper($str);
You have javascript disabled. You will not be able to edit any code.
Value for `_results` contains invalid data `array`