String adding in PHPWe can add two strings and generate a new string in PHP by using a single dot. This way we can add any number of strings by using " . " ( dot ) in between them. We will learn different types of string addition in PHP. Let us start with simple adding of two strings by using a single dot between them. Here is the example.
$string1="Welcome to plus2net.com";
The out put of the above command will give the full sentence