3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump((new \DateTimeImmutable()->setTimestamp(-100)));

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
5.6.80.0030.08320.28
5.5.240.0000.08320.18
5.4.400.0170.06318.47
5.4.390.0200.05018.72
5.4.380.0130.07018.69
5.4.370.0100.06718.50
5.4.360.0230.06318.62
5.4.350.0230.06018.54
5.4.340.0230.05018.72
5.4.320.0130.06018.49
5.4.310.0100.06018.76
5.4.300.0170.06018.78
5.4.290.0270.05018.55
5.4.280.0300.04718.71
5.4.270.0200.05318.55
5.4.260.0200.05018.61
5.4.250.0230.05018.80
5.4.240.0170.06018.52
5.4.230.0230.04718.68
5.4.220.0230.05318.71
5.4.210.0330.04718.52
5.4.200.0200.05316.63
5.4.190.0200.05018.45
5.4.180.0170.05718.53
5.4.170.0230.06018.77
5.4.160.0300.06018.78
5.4.150.0130.06318.73
5.4.140.0100.06316.34
5.4.130.0170.05016.42
5.4.120.0100.05716.22
5.4.110.0300.04016.24
5.4.100.0170.05716.34
5.4.90.0200.04716.15
5.4.80.0070.07316.31
5.4.70.0200.05316.20
5.4.60.0100.06016.22
5.4.50.0300.05016.15
5.4.40.0130.05316.24
5.4.30.0230.05316.27
5.4.20.0170.05016.11
5.4.10.0270.06016.20
5.4.00.0200.04715.88
5.3.290.0170.06014.72
5.3.280.0130.05714.66
5.3.270.0130.06014.59
5.3.260.0130.06014.59
5.3.250.0400.04714.58
5.3.240.0170.06314.54
5.3.230.0230.06014.63
5.3.220.0070.06314.52
5.3.210.0200.06014.64
5.3.200.0200.05314.50
5.3.190.0230.05314.72
5.3.180.0370.03714.56
5.3.170.0230.06714.64
5.3.160.0170.05314.72
5.3.150.0100.06014.54
5.3.140.0170.07714.46
5.3.130.0200.07314.61
5.3.120.0330.06314.49
5.3.110.0170.07714.46
5.3.100.0170.07013.97
5.3.90.0200.07014.12
5.3.80.0130.05713.99
5.3.70.0200.07013.93
5.3.60.0270.06313.97
5.3.50.0100.06013.90
5.3.40.0100.06313.95
5.3.30.0270.05013.94
5.3.20.0170.05013.79
5.3.10.0200.05013.61
5.3.00.0200.06313.61
5.2.170.0230.04711.12
5.2.160.0170.05311.17
5.2.150.0170.06011.29
5.2.140.0170.05711.07
5.2.130.0270.04311.13
5.2.120.0070.04711.05
5.2.110.0070.04711.16
5.2.100.0130.04011.09
5.2.90.0200.04711.08
5.2.80.0130.04711.10
5.2.70.0200.04711.14
5.2.60.0200.05311.09
5.2.50.0130.05711.16
5.2.40.0200.04310.96
5.2.30.0070.04710.89
5.2.20.0100.04311.07
5.2.10.0200.03310.95
5.2.00.0230.04010.81
5.1.60.0130.03310.03
5.1.50.0100.05010.02
5.1.40.0170.04310.02
5.1.30.0130.03710.49
5.1.20.0070.04310.50
5.1.10.0170.04310.20
5.1.00.0170.04710.08
5.0.50.0100.0378.69
5.0.40.0130.0378.43
5.0.30.0030.0578.27
5.0.20.0070.0278.38
5.0.10.0100.0278.24
5.0.00.0200.0378.19
4.4.90.0030.0235.89
4.4.80.0070.0305.94
4.4.70.0070.0305.93
4.4.60.0070.0275.87
4.4.50.0030.0235.91
4.4.40.0070.0405.92
4.4.30.0070.0235.90
4.4.20.0130.0235.95
4.4.10.0100.0275.88
4.4.00.0100.0375.85
4.3.110.0030.0335.82
4.3.100.0100.0235.82
4.3.90.0100.0235.86
4.3.80.0070.0435.77
4.3.70.0030.0305.82
4.3.60.0000.0335.77
4.3.50.0070.0235.88
4.3.40.0030.0375.88
4.3.30.0070.0204.64
4.3.20.0070.0204.53
4.3.10.0030.0304.50
4.3.00.0100.0136.91

preferences:
139.42 ms | 1394 KiB | 7 Q