I just find it ridiculous to use 3 extra lines of code in a while loop when that is what a for() loop is designed for.
The for() construct tells you exactly what is happening in 1 line of code.
The while() construct makes you have to look through the whole loop just to work out it is counting from 0-9
Its easy when there is only 1 or 2 lines of code, but if you have 50 lines inside the loop its a pain.
HalfaBee
$i=0;
while( $i<10 )
{
echo $i;
$i++;
}
for( $i=0;$i<10;$i++ )
echo $i