Course 1: How to win friends & develop in PHP
Arrays and Loops
  Start your All-Access Pass to unlock this challenge
Buy Access Login

Challenge 2 / 2

Read the docs about the array_reverse() built-in function and try to guess what the next code will output:

$array = array_reverse(array('🍎', '🍌', '🍕', '🎂'), true);
echo $array[2];
Skip challenges and go to theNext Chapter

Turn Challenges Off?

All further challenges will be skipped automatically.
You can re-enable challenges at any time on this page or from your account page.