I have 2 lines that I would like to compare, and return the positions of different characters in the second line.
For example, if I have
"The brown fox jumps over the lazy dog""The quick brown fox jumped over the lazy dog"
I want it to highlight "fast" and "ed". What is the best way to do this in PHP?
David source
share