MCQs > IT & Programming > PHP 5 > $x = 'New '; $y = $x . 'Example '; echo $y; $x = 'New '; $x .= 'Example '; echo $x; ?>

PHP 5 MCQs

What will be the output of the following PHP 7.1 code.

$x = "New ";

$y = $x . "Example ";

echo $y;

$x = "New ";

$x .= "Example ";

echo $x;

?>


Answer

Correct Answer:

New Example New Example 

Explanation:

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

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it