3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $num = 3; while($num-- > 0){ var_dump($num); }
Output for 4.3.0 - 7.1.0
int(2) int(1) int(0)