Start your All-Access Pass to unlock this challenge
Challenge 2 / 2
Let's look at this code block:
$animals = array('cat', 'dog', 'hamster');
// let's add a new animal!
$animals[2] = 'elephant';
echo count($animals);
What will this print?
Skip challenges and go to theNext Chapter