While-loop
==============================
Examples in php


```php

// Count from 0 to 9

$i = 0;

while ($i < 10) {
    echo $i;        // prints the current value
    $i++;           // increase $i with 1
}



```



Reference and read more
------------------------------

[While-loop](http://php.net/manual/en/control-structures.while.php)



Revision history
------------------------------

2015-08-17 (lew) PA1 First try.
