3v4l.org

run code in 300+ PHP versions simultaneously
<?php $y = 99; $current_year = 2017; $current_millenium = floor($current_year / 100)*100; echo $current_millenium;

preferences:
54.5 ms | 402 KiB | 5 Q