The is_string()
PHP function is used to check if a type of variable is a
string. A
string is a data type, such as floating point or integer, but it represents text rather than numbers. A
string uses a set of characters that includes spaces and numbers. ... Since "Hello World" is a
string, this would echo "Yes."
read more >>