Which of the following is the correct way to concatenate two strings in PHP? Mark as favorite Copy Link Answer the question in 30 seconds! $string1 . $string2 $string1 + $string2 $string1 : $string2 $string1 - $string2 Check Answer
What is the output of the following code snippet? $str = ‘Hello World!’; echo str_replace(‘World’, ‘PHP’, $str); Mark as favorite Copy Link Answer the question in 30 seconds! Hello PHP! Hello World! World PHP! PHP Hello! Check Answer