For

suggest change
for($i = 0; $i -le 5; $i++){
    "$i"
}

A typical use of the for loop is to operate on a subset of the values in an array. In most cases, if you want to iterate all values in an array, consider using a foreach statement.

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:


Loops:
* Loops
* For
* Break
* While
* Do

Table Of Contents
1 Loops
19 XML
22 Strings
25 Aliases
47 MongoDB
65 AWS S3