How to make the function work for pair words?
问题 My function now only works with one word. For example, I have words in an associative array. And my function replaces the array key with its value in the text. And the function to keep the words in the lower case, but when you replace words it will return the incoming word register that is written on the text. Now the function can not work with pairs of words to replace pairs of words with other pairs of words. Example: // Function: function replaceKeyToValue($request, $dict){ $response =