3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i == 0; while($i < 30) { $i++; echo $i.'<br>'; }
Output for 5.0.4 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
Notice: Undefined variable: i in /in/bTZ4q on line 3 Notice: Undefined variable: i in /in/bTZ4q on line 3 Notice: Undefined variable: i in /in/bTZ4q on line 3 1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10<br>11<br>12<br>13<br>14<br>15<br>16<br>17<br>18<br>19<br>20<br>21<br>22<br>23<br>24<br>25<br>26<br>27<br>28<br>29<br>30<br>
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: i in /in/bTZ4q on line 3 Notice: Undefined variable: i in /in/bTZ4q on line 3 Notice: Undefined variable: i in /in/bTZ4q on line 3 1<br>2<br>3<br>4<br>5<br>6<br>7<br>8<br>9<br>10<br>11<br>12<br>13<br>14<br>15<br>16<br>17<br>18<br>19<br>20<br>21<br>22<br>23<br>24<br>25<br>26<br>27<br>28<br>29<br>30<br>