METAPHONE
Calculate the metaphone key of a string
SYNTAX
metaphone ( string $str [, int $phonemes = 0 ] ) : string
PARAMETERS
str
The input string.
phonemes
This parameter restricts the returned metaphone key to phonemes characters in length. The default value of 0 means no restriction.
RETURN
Returns the metaphone key as a string, or FALSE on failure.
EXAMPLES
STR
PRKRMNK
PHONEMES
PRKRM