"; $enda=""; $ea=">"; $za="<"; $wastext=$intext; if (strpos($objphp, $enda) === false && strpos($objphp, ':') !== false) { $enda='~'; $endspan='|'; $ea="~"; $za="|"; $emarrpre=explode($ea, $objphp); $objphp=$ea; $emarr=[]; $emarrlens=[]; for ($ib=0; $ib 'z') && (substr(($thingos[0 + $kb] . ' '), 0, 1) < 'a' || substr(($thingos[0 + $kb] . ' '), 0, 1) > 'z')) { $pref=substr((' ' . $thingos[-1 + $kb]), -1); $suff=substr(($thingos[0 + $kb] . ' '), 0, 1); //echo "pref=" . $pref . ' and tonexta=' . $tonexta . ' and thingos[-1 + kb]=' . $thingos[-1 + $kb] . '?'; //exit; //$intext=str_replace($tonexta, strtolower($tonexta), $intext); //$intext=str_replace(strtolower($tonexta), '' . $fromprevspan . '', $intext); $intext=str_replace(($pref . $tonexta . $suff), strtolower(($pref . $tonexta . $suff)), $intext); $intext=str_replace(strtolower($pref . $tonexta . $suff), $pref . '' . $fromprevspan . '' . $suff, $intext); } } } else { $intext=str_replace($tonexta, '' . $fromprevspan . '', $intext); } } } } if (!file_exists('./fillin_gaps_with_emojis.tt') && $emlist != '') { file_put_contents('./fillin_gaps_with_emojis.tt', '~' . $emlist); } } if ($intext != '') { echo "Emoji-ize Text - RJM Programming - June, 2021

" . str_replace("\n","
",str_replace("$@!"," ",trim($intext))) . "

"; } //echo "\n\n" . $emlist; exit; ?>