MCQs > IT & Programming > PHP 5 > $fruit = 'orange'; echo 'She likes the juice of fruit Sfruit.'.PHP_EOL; echo 'She was asking for the juice of ${fruit}s.'.PHP_EOL; echo 'She is very fond of Sfruit fruit juice.'; ?>

PHP 5 MCQs

What will be the output of the following PHP code?

$fruit = "orange";

echo "She likes the juice of fruit Sfruit.".PHP_EOL;

echo "She was asking for the juice of ${fruit}s.".PHP_EOL;

echo "She is very fond of Sfruit fruit juice.";

?>

Answer

Correct Answer:

She likes the juice of fruit orange.

She was asking for the juice of oranges.

She is very fond of orange fruit juice.


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