3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $contator = 0; while ($contador < 10) { echo "$contador <br/>"; $contador = $contador + 1; }
based on DnM9M
Output for 5.0.4 - 7.2.0
Notice: Undefined variable: contador in /in/ItqSD on line 5 Notice: Undefined variable: contador in /in/ItqSD on line 6 <br/> Notice: Undefined variable: contador in /in/ItqSD on line 7 1 <br/>2 <br/>3 <br/>4 <br/>5 <br/>6 <br/>7 <br/>8 <br/>9 <br/>
Output for 4.3.0 - 5.0.3
Notice: Undefined variable: contador in /in/ItqSD on line 5 Notice: Undefined variable: contador in /in/ItqSD on line 6 <br/> Notice: Undefined variable: contador in /in/ItqSD on line 7 1 <br/>2 <br/>3 <br/>4 <br/>5 <br/>6 <br/>7 <br/>8 <br/>9 <br/>