Skip to content

Instantly share code, notes, and snippets.

@anova
Created October 1, 2013 08:45
Show Gist options
  • Save anova/6775577 to your computer and use it in GitHub Desktop.
Save anova/6775577 to your computer and use it in GitHub Desktop.
strtoupper Turkish
<?php
//strtoupper turkish
function strtoupper_tr($input) {
return str_replace(
array('a','b','c','ç','d','e','f','g','ğ','h','ı','i','j','k','l','m','n','o','ö','p','r','s','ş','t','u','ü','v','y','z','q','w','x'),
array('A','B','C','Ç','D','E','F','G','Ğ','H','I','İ','J','K','L','M','N','O','Ö','P','R','S','Ş','T','U','Ü','V','Y','Z','Q','W','X'),
$input);
}
?>
@Saithocaoglu
Copy link

thank you cnm :=))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment