What is the output of this script?'$fruits = ['apple', 'orange', 'pear', 'mango', 'papaya'];''$i = 0;''echo $fruits[$i+=3];'

🎲 Try a Random Question  |  Total Questions in Quiz: 81  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
PHP Test — practice the complete quiz, review flashcards, or try a random question.

PHP MCQs For LinkedIn Skill Assessments.


What is the output of this script?<br>'$fruits = ['apple', 'orange', 'pear', 'mango', 'papaya'];'<br>'$i = 0;'<br>'echo $fruits[$i+=3];'