3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo date('c', mktime(0,0,0, 1, 0)) . "\n"; echo date('c', mktime(0,0,0, 12, 31));
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.28, 7.0.0 - 7.0.20, 7.1.0 - 7.1.25, 7.2.0 - 7.2.33, 7.3.0 - 7.3.31, 7.4.0 - 7.4.33, 8.0.0 - 8.0.12, 8.0.14 - 8.0.30, 8.1.0 - 8.1.29, 8.2.0 - 8.2.23, 8.3.0 - 8.3.11
2014-12-31T00:00:00+01:00 2015-12-31T00:00:00+01:00
Output for 7.3.32 - 7.3.33, 8.0.13
2014-12-31T00:00:00+00:00 2015-12-31T00:00:00+00:00

preferences:
74.1 ms | 407 KiB | 5 Q