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"
PHP Version:

Example #2 Using the <span class='function-parameter'>max_phonemes</span> parameter

Result: string(5) "PRKRM" string(5) "PRKRM"
PHP Version:

Example #3 Using the <span class='function-parameter'>max_phonemes</span> parameter

Result: string(6) "ASTRKS"
PHP Version:


Example #4 of metaphone

PHP Version:


Function metaphone:

Strings Functions

Most used PHP functions