3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php mb_internal_encoding ('utf-8'); $start=10000; $age=16; $percent=1.1; $y=1; for($i; $i < 20; $i ++){ $start = $start * $percent; $y ++; $age ++; } echo $age;
based on COWUJ
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.3.0beta1
Notice: Undefined variable: i in /in/egf6R on line 10 Notice: Undefined variable: i in /in/egf6R on line 10 36
Output for hhvm-3.12.14 - 3.17.3
Notice: Undefined variable: i in /in/egf6R on line 14 Notice: Undefined variable: i in /in/egf6R on line 10 Notice: Undefined variable: i in /in/egf6R on line 10 36