Code:

```
$start = 8;
$end = 550;
$step = 100;

for($i=$start; $i<$end; $i=$i+$step){
    $firstNum = $i;
    $lastNum = $i + $step;
    echo $firstNum.' - '.$lastNum;
    echo "<br>";
}

```

Output:

```
8 - 108
108 - 208
208 - 308
308 - 408
408 - 508
508 - 608

```

I want to my output should be like- 

```
8 - 100
101 - 200
201 - 300
301 - 400
401 - 500
501 - 600

```

How to do that in php code?