This is triggered until the 13th character is reached. As soon as str_ireplace gets into "cyper", "str" stops working.
Is there a limit to how big the array is? Keep in mind if the type is "abgf" I get "nots", but if I type "abgrf" when I get "notes", I get "notrs". Stacked my brain can not figure it out.
$_cypher = array("n","o","p","q","r","s","t","u","v","w","x","y","z","a","b","c","d","e","f","g","h","i","j","k","l","m"); $_needle = array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z"); $_decryptedText = str_ireplace($_cypher, $_needle, $_text); echo $_decryptedText;
reference