MCQs > IT & Programming > PHP 5 > What will be the output? $example = true; example_y(); if ($example){ function example_x() { echo 'PHP\n'; } } if ($example)example_x(); function example_y() { echo 'Example\n'; } ?>

PHP 5 MCQs

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

$example = true;

example_y();

if ($example){

function example_x()

{

echo "PHP\n";

}

}

if ($example)example_x();

function example_y()

{

echo "Example\n";

}

?>


Answer

Correct Answer:

Example

PHP


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

More PHP 5 MCQ Questions

search

PHP 5 Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it