3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $today = getdate(); print_r($today);
Output for 4.3.0 - 7.1.0
Array ( [seconds] => 22 [minutes] => 8 [hours] => 21 [mday] => 22 [wday] => 2 [mon] => 4 [year] => 2014 [yday] => 111 [weekday] => Tuesday [month] => April [0] => 1398193702 )