3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(getdate());
Output for 4.3.0 - 4.4.2, 4.4.4 - 5.6.30, hhvm-3.10.1 - 3.17.3, 7.0.0 - 7.2.0
array(11) { ["seconds"]=> int(58) ["minutes"]=> int(13) ["hours"]=> int(16) ["mday"]=> int(17) ["wday"]=> int(3) ["mon"]=> int(5) ["year"]=> int(2017) ["yday"]=> int(136) ["weekday"]=> string(9) "Wednesday" ["month"]=> string(3) "May" [0]=> int(1495030438) }
Output for 4.4.3
array(11) { ["seconds"]=> int(57) ["minutes"]=> int(13) ["hours"]=> int(16) ["mday"]=> int(17) ["wday"]=> int(3) ["mon"]=> int(5) ["year"]=> int(2017) ["yday"]=> int(136) ["weekday"]=> string(9) "Wednesday" ["month"]=> string(3) "May" [0]=> int(1495030437) }