for loops continues after it’s done

<?php
for ( $i=0; $i <= 5; $i++ ) {
    echo "for $i <br/>\n";
}

echo "done $i <br/>\n";

What will $i be, when the loop is done?

It will be 6 not 5.
Can be useful if you need to skip the last item in a (numbered) array