Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
i agree it will re execute the count in each iteration, but maybe he leave it like that to save 1 line of code at the cost of little eficiency.
Try to change indentation in tests from 4 to 2 spaces, I have the same problem and it works in my case.
I think it is not a best practice: $i < count($arr)