php toUml

a guest Jan 16th, 2019 71 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <? function toUml($s){
  2. $a=array(array('ä','&auml;'),array('ö','&ouml;'),array('ü','&uuml;'),array('Ä','&Auml;'),array('Ö','&Ouml;'),array('Ü','&Uuml;'),array('ß','&szlig;')
  3. ,array('ä','&auml;'),array('ö','&ouml;'),array('ü','&uuml;'),array('Ä','&Auml;'),array('Ö','&Ouml;'),array('Ü','&Uuml;'),array('ß','&szlig;')
  4. );for($i=0;$i<count($a);$i++){$s=str_replace($a[$i][0],$a[$i][1],$s);}return $s;}?>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand