ALIAS

gleven()

ShortPHP reference for grapheme_levenshtein().

Signature

grapheme_levenshtein(string $string1, string $string2, int $insertion_cost = 1, int $replacement_cost = 1, int $deletion_cost = 1): int

Example

gleven(...);

PHP equivalent

grapheme_levenshtein() is the canonical PHP function. ShortPHP provides gleven() as the convenience alias.

Extension: intl

Official PHP manual ↗

Reference navigation

Previous: env()

Next: h()

Back to reference