Php Replace String Array Keyboard