MCQs > IT & Programming > PHP > Correct way to join strings? $str = 'abcdef' + 'ghi'; $str = 'abcdef' . 'ghi'; $str = join('abcdef','ghi'); $str = 'abcdef' plus 'ghi'

PHP MCQs

What is the correct way to join strings in php? $str = "abcdef" + "ghi"; $str = "abcdef" . "ghi"; $str = join("abcdef","ghi"); $str = "abcdef" plus "ghi"

Answer

Correct Answer: $str = "abcdef" . "ghi";

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it