Implementation of the Jaro Winkler distance algorithm using php