Name

similar_text

Synopsis

int similar_text(string one, string two[, double percent])

Calculates the similarity between the strings one and two. If passed by reference, percent gets the percent by which the two strings differ.

Get Programming PHP now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.