Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

More Excitement with Arrays Quiz

The quiz has a question where the output needed is 19801985 but the order of the arrays had years of 1985 then 1980 so that no matter what variable is given, the code will not output the correct sequence of numbers. The answer however was not accepted as it was likely not realized that the numbers were in fact out of order. I just thought that the order should either be fixed or the answer should be changed.

1 Answer

Randy Hoyt
STAFF
Randy Hoyt
Treehouse Guest Teacher

Great catch! Sorry about that. I think you have diagnosed the issue correctly: I think I put the array elements in the wrong order. (Though it's possible I out-smarted myself and picked the wrong correct answer! :~) I edited the question to change the order of the array elements. Thanks!