3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $cos =1; while($cos < 500){ var_dump($cos); $cos+=30; }
Output for 4.3.0 - 7.1.0
int(1) int(31) int(61) int(91) int(121) int(151) int(181) int(211) int(241) int(271) int(301) int(331) int(361) int(391) int(421) int(451) int(481)