Which of the following is the correct way to concatenate two strings in PHP?

Mark as favorite
Answer the question in 30 seconds!

What is the output of the following code snippet? $str = ‘Hello World!’; echo str_replace(‘World’, ‘PHP’, $str);

Mark as favorite
Answer the question in 30 seconds!