metaphone
PHP 4, PHP 5, PHP 7, PHP 8
metaphone - Calculate the metaphone key of a string
Example #1 metaphone basic example
Result: string(7) "PRKRMNK"
string(6) "PRKRMR"
Example #2 Using the <span class='function-parameter'>max_phonemes</span> parameter
Result: string(5) "PRKRM"
string(5) "PRKRM"
Example #3 Using the <span class='function-parameter'>max_phonemes</span> parameter
Result: string(6) "ASTRKS"
Example #4 of metaphone