what is the syntax of the METAPHONE() function in php?
metaphone(string,length)
Parameter | Description |
---|---|
string | Required. Specifies the string to check |
length | Optional. Specifies the maximum length of the metaphone key |
examples of the METAPHONE() function
Example 1. In this example, we calculate the metaphone key of “World”.
<?php
echo metaphone("World");
?>