3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // get number days of year for 2008 // result 366 echo date("z", mktime(0,0,0,12,31,2008)) + 1; ?>
Output for 4.3.0 - 7.1.0
366