What is the syntax for concatenation in PHP?

To concatenate strings in PHP, you can use the dot (.) operator. This operator allows you to combine multiple strings together into a single string. Simply place a dot between the strings you want to concatenate.

$string1 = "Hello";
$string2 = "World";
$concatenatedString = $string1 . " " . $string2;
echo $concatenatedString; // Output: Hello World