It calculates the soundex key of a string
- A soundex key is a four character long alphanumeric string that represent English pronunciation of a word.
- The soundex() function can be used for spelling applications.
- The soundex() function creates the same key for similar sounding words.
Example
<?php echo soundex("phpcode"); ?>
Output
P123