3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function days_in_month($year, $month) { return( date( "t", mktime( 0, 0, 0, $month, 1, $year) ) ); }
Output for 4.3.0 - 7.1.0