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.

BY Best Interview Question ON 31 Mar 2019

Example

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

Suggest An Answer