Explain me soundex() and metaphone()?
Submitted by: Muhammadsoundex()
The soundex() function calculates the soundex key of a string. A soundex key is a four character long alphanumeric strings that represents English pronunciation of a word. The soundex() function can be used for spelling applications.
<?php
$str= “hello”;
Echo soundex($str);
?>
metaphone()
the metaphone() function calculates the metaphone key of a string. A metaphone key represents how a string sounds if pronounced by an English person. This function can also be used for spelling applications.
<?php
echo metaphone(“world”);
?>
Submitted by: Muhammad
The soundex() function calculates the soundex key of a string. A soundex key is a four character long alphanumeric strings that represents English pronunciation of a word. The soundex() function can be used for spelling applications.
<?php
$str= “hello”;
Echo soundex($str);
?>
metaphone()
the metaphone() function calculates the metaphone key of a string. A metaphone key represents how a string sounds if pronounced by an English person. This function can also be used for spelling applications.
<?php
echo metaphone(“world”);
?>
Submitted by: Muhammad
Read Online PHP Community Marketing Expert Job Interview Questions And Answers
Top PHP Community Marketing Expert Questions
☺ | Tell me what does the following code output? |
☺ | Tell me how would you declare a function that receives one parameter name hello? |
☺ | Tell me what is the output of the following code: |
☺ | Explain do you use Composer? If yes, what benefits have you found in it? |
Top Social Networking And Marketing Categories
☺ | SMM Interview Questions. |
☺ | Social Media Interview Questions. |
☺ | Online Media Operator Interview Questions. |
☺ | PHP Community Marketing Expert Interview Questions. |
☺ | Social Media Executive Interview Questions. |