3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $y = 99; $current_year = 2017; $current_millenium = floor($current_year / 100)*100; echo $current_millenium;
based on f9pPk
Output for 5.6.0 - 5.6.38, hhvm-3.15.4, 7.0.0 - 7.3.0
2000