Flag of Ukraine
SymfonyCasts stands united with the people of Ukraine
Next Chapter

Challenge #2 of 2


Q: 

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?

userVoice