ConFoo Montreal 2026: Call for Papers

Voting

: six plus one?
(Example: nine)

The Note You're Voting On

carey at NOSPAM dot internode dot net dot au
18 years ago
I have found that levenshtein is actually case-sensitive (in PHP 4.4.2 at least).

<?php
$distance
=levenshtein('hello','ELLO');
echo
"$distance";
?>

Outputs: "5", instead of "1". If you are implementing a fuzzy search feature that makes use of levenshtein, you will probably need to find a way to work around this.

<< Back to user notes page

To Top