Display Even Indices in an Array

I’m trying to display only the even Indices of an array, but it’s not working. Here is my code: $color = array( “Red”, “Pink”, “Blue”, “Baby Blue”, “Green”, “Lime”, “Gray”, “Sunshine”); for ($i = …