3v4l.org

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