Which operator is used to join two strings together in PHP?
Correct answer D. . (dot)
Explanation
PHP uses the dot operator for string concatenation, so "Hello " . "World" produces "Hello World". The plus sign performs arithmetic addition.
Answer checked How we write and check questions
Discussion