In PHP, String is a collection of characters. It is one of the data types. We can declare variable and assign string characters to it and we can directly use them with echo statement.

Example

                                        

$var1 = “This is good interview Question”
echo $var1;

Suggest An Answer

No suggestions Available!