3. Your first while loop -How is this an infinite loop?


#1

$num = 1;
while ($num < 10) {
echo $num;
$num ++;
}

I'm not sure how this is an infinite loop. Any help would be much appreciated


#2

@explvcit,
Try using

$num++

without the space-character.......