Example is Incorrect


#1

The first example on the "Writing Your First "For" Loop" page states:

A for loop that prints out the numbers 1 through 10 might look something like this:

 for ($i = 0; $i < 11; $i++) {
    echo $i;
}

Which actually outputs the numbers 0-10. $i should be initially set to 1 in order to correctly output the numbers 1-10.

Just a heads up.


#2

In addition couple lines below there is a typo. There is missing $ before i:

"Instead of $i++, we have $i = i + 5 to count up by 5, all the way to 10."

Correct explanation should be:
"Instead of $i++, we have $i = $i + 5 to count up by 5, all the way to 10."