I'm new to PHP and below is one of my first codes that I have tried, for understanding the basic concept and syntax. I'm running the code using XAMPP server.

```
<?php
$var=1;
while($var<10){
    if($var==2) continue;
              echo "$var <br>";
$var++;
  }
?>

```

I'm getting the following error :- 

> 
> 1 
> 
> 
> Fatal error: Maximum execution time of 30 seconds exceeded in
>  C:\xampp\htdocs\day\BreakDemo.php on line 4
> 
> 
> 

Why does it throw the error ?