In your code array $asoundexCode and $aphonixCode are on some Arabic characters which are not readable on windows XP,
Can you please guide me how I can read them to get how you convert words on soundex.
Also kindly can u guide how you fix weights for each letter.
Hope you response in details.