3v4l.org

run code in 300+ PHP versions simultaneously
<?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;

preferences:
67.67 ms | 402 KiB | 5 Q