3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $d = date ("l d m y", mktime(0,0,0,7,1,2010)); echo mktime(0,0,0,7,1,2010); print_r (getDate(mktime(0,0,0,7,1,2010))); //echo implode(", ", $d.getDate()); ?>
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
1277935200Array ( [seconds] => 0 [minutes] => 0 [hours] => 0 [mday] => 1 [wday] => 4 [mon] => 7 [year] => 2010 [yday] => 181 [weekday] => Thursday [month] => July [0] => 1277935200 )