new3시간 전· 1 sources
grapheme_levenshtein() in PHP 8.5: what the docs don't tell you
Why it matters
PHP's levenshtein() has always counted bytes. For English that's invisible. For Hungarian, Polish, Czech, or anything with accents, it quietly lies: levenshtein('szőke', 'szoke'); // 2, but it's one e...
1
Sources
+1
24h
—
Growth
1d
Active