3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $date = "Wed Jun 05 2013 00:00:00 GMT-0400 (Eastern Daylight Time)"; echo getDate($date);
Output for hhvm-3.10.0 - 3.13.2, 7.0.0 - 7.1.0
Warning: getdate() expects parameter 1 to be integer, string given in /in/Uh5dP on line 3
Output for 5.1.0 - 5.6.28
Warning: getdate() expects parameter 1 to be long, string given in /in/Uh5dP on line 3
Output for 4.3.0 - 5.0.5
Array