3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 1; $year = 2014; for($i=0;$i<10;$i++){ echo $test++.' '.$year++.'<br/>'; }
Output for 4.3.0 - 7.1.0
1 2014<br/>2 2015<br/>3 2016<br/>4 2017<br/>5 2018<br/>6 2019<br/>7 2020<br/>8 2021<br/>9 2022<br/>10 2023<br/>