3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(new DateTime("last monday"));

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)
8.4.20.0110.01118.55
8.4.10.0070.01317.88
8.3.150.0130.00616.97
8.3.140.0060.00320.61
8.3.130.0070.00316.81
8.3.120.0030.00618.86
8.3.110.0110.00820.94
8.3.100.0040.01524.06
8.3.90.0140.00026.77
8.3.80.0030.00616.63
8.3.70.0130.00318.30
8.3.60.0100.01018.55
8.3.50.0180.00722.06
8.3.40.0030.01218.84
8.3.30.0070.00718.93
8.3.20.0040.00420.91
8.3.10.0070.00021.73
8.3.00.0000.00819.66
8.2.270.0100.01018.70
8.2.260.0100.00717.15
8.2.250.0090.00618.57
8.2.240.0050.00317.16
8.2.230.0050.00322.58
8.2.220.0040.00437.54
8.2.210.0030.01026.77
8.2.200.0090.00016.88
8.2.190.0070.01016.75
8.2.180.0110.00416.75
8.2.170.0100.00722.96
8.2.160.0070.00720.34
8.2.150.0050.00324.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0070.00021.16
8.2.110.0100.00019.33
8.2.100.0080.00317.77
8.2.90.0110.00017.97
8.2.80.0060.00319.06
8.2.70.0080.00017.80
8.2.60.0040.00817.70
8.2.50.0080.00417.79
8.2.40.0070.00419.11
8.2.30.0100.00318.30
8.2.20.0060.00517.68
8.2.10.0070.00617.80
8.2.00.0080.00417.56
8.1.310.0140.00416.88
8.1.300.0030.00619.83
8.1.290.0030.00618.88
8.1.280.0110.00425.92
8.1.270.0040.00421.98
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0060.00322.33
8.1.230.0090.00321.03
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0070.00317.48
8.1.190.0050.00417.30
8.1.180.0110.00217.55
8.1.170.0100.00317.86
8.1.160.0110.00419.66
8.1.150.0060.00718.13
8.1.140.0050.00618.35
8.1.130.0070.00617.31
8.1.120.0090.00417.37
8.1.110.0060.00717.36
8.1.100.0080.00417.25
8.1.90.0060.00717.37
8.1.80.0090.00417.31
8.1.70.0080.00417.36
8.1.60.0160.00017.44
8.1.50.0080.00617.42
8.1.40.0060.00617.49
8.1.30.0080.00517.58
8.1.20.0070.00517.44
8.1.10.0080.00517.59
8.1.00.0050.00817.40
8.0.300.0000.00720.08
8.0.290.0050.00317.00
8.0.280.0080.00317.60
8.0.270.0100.00216.85
8.0.260.0090.00316.81
8.0.250.0080.00316.88
8.0.240.0060.00516.89
8.0.230.0120.00216.77
8.0.220.0080.00316.75
8.0.210.0080.00416.85
8.0.200.0110.00116.77
8.0.190.0060.00716.82
8.0.180.0090.00416.91
8.0.170.0070.00516.92
8.0.160.0040.00916.81
8.0.150.0040.00716.69
8.0.140.0110.00216.87
8.0.130.0110.00215.04
8.0.120.0080.00416.69
8.0.110.0080.00316.70
8.0.100.0040.00816.73
8.0.90.0060.00616.76
8.0.80.0120.00416.80
8.0.70.0060.00716.71
8.0.60.0030.00816.82
8.0.50.0060.00616.76
8.0.30.0140.00517.00
8.0.20.0110.00817.18
8.0.10.0110.00116.72
8.0.00.0110.00616.91
7.4.330.0090.00016.03
7.4.320.0060.00616.53
7.4.300.0090.00116.59
7.4.290.0100.00316.58
7.4.280.0090.00416.60
7.4.270.0070.00516.57
7.4.260.0040.00716.57
7.4.250.0120.00016.57
7.4.240.0020.00916.57
7.4.230.0020.00916.54
7.4.220.0100.00816.57
7.4.210.0080.01016.61
7.4.200.0070.00416.44
7.4.190.0160.00016.52
7.4.180.0000.01816.52
7.4.160.0060.01016.59
7.4.150.0100.00716.96
7.4.140.0110.01017.52
7.4.130.0110.00716.59
7.4.120.0120.00516.57
7.4.110.0060.01016.60
7.4.100.0120.00316.55
7.4.90.0090.00816.44
7.4.80.0040.01317.96
7.4.70.0100.00616.66
7.4.60.0110.00616.56
7.4.50.0080.01016.43
7.4.40.0130.00516.61
7.4.30.0110.01016.52
7.4.20.0140.00616.42
7.4.10.0070.01316.56
7.4.00.0100.00915.88
7.3.330.0080.00114.90
7.3.320.0080.00414.86
7.3.310.0070.00516.47
7.3.300.0020.00816.44
7.3.290.0110.00616.35
7.3.280.0080.00916.35
7.3.270.0100.00516.96
7.3.260.0120.00816.40
7.3.250.0120.00716.49
7.3.240.0090.01116.40
7.3.230.0080.00816.55
7.3.220.0130.00316.52
7.3.210.0120.00416.62
7.3.200.0080.00816.52
7.3.190.0100.00816.48
7.3.180.0120.00416.42
7.3.170.0100.00716.41
7.3.160.0080.01116.51
7.3.150.0100.00916.55
7.3.140.0080.00816.49
7.3.130.0120.00716.52
7.3.120.0120.00816.53
7.3.110.0090.01316.46
7.3.100.0150.00716.56
7.3.90.0210.00316.49
7.3.80.0110.00816.44
7.3.70.0130.00816.48
7.3.60.0150.00516.48
7.3.50.0110.00816.54
7.3.40.0110.01016.45
7.3.30.0110.00815.92
7.3.20.0260.00515.81
7.3.10.0260.01015.96
7.3.00.0240.00516.12
7.2.340.0090.00616.52
7.2.330.0090.00916.47
7.2.320.0110.00516.49
7.2.310.0090.00916.56
7.2.300.0140.00516.52
7.2.290.0130.00516.56
7.2.280.0150.00416.48
7.2.270.0130.00616.51
7.2.260.0100.01116.56
7.2.250.0110.01016.60
7.2.240.0130.00716.58
7.2.230.0110.00816.64
7.2.220.0150.00716.56
7.2.210.0140.00616.56
7.2.200.0120.00916.49
7.2.190.0080.01016.53
7.2.180.0130.00716.54
7.2.170.0080.01116.58
7.2.160.0110.00815.95
7.2.150.0510.01416.03
7.2.140.0290.00816.03
7.2.130.0220.00516.29
7.2.120.0240.00816.28
7.2.110.0230.00716.31
7.2.100.0250.00516.12
7.2.90.0250.00416.15
7.2.80.0230.00816.24
7.2.70.0270.00916.28
7.2.60.0180.00716.40
7.2.50.0290.01016.31
7.2.40.0620.00916.90
7.2.30.0570.00916.86
7.2.20.0620.00816.70
7.2.10.0540.00916.85
7.2.00.0500.01016.84
7.1.330.0130.00916.03
7.1.320.0150.00815.97
7.1.310.0150.00615.98
7.1.300.0180.00916.13
7.1.290.0190.00615.95
7.1.280.0220.00316.04
7.1.270.0340.00415.41
7.1.260.0280.00615.35
7.1.250.0240.00715.47
7.1.240.0250.00915.45
7.1.230.0270.00715.53
7.1.220.0210.00915.32
7.1.210.0290.00515.55
7.1.200.0250.00715.50
7.1.190.0270.00615.50
7.1.180.0260.00715.43
7.1.170.0280.00415.43
7.1.160.0580.00915.92
7.1.150.0610.00915.84
7.1.140.0640.00715.98
7.1.130.0590.00915.99
7.1.120.0570.00815.97
7.1.110.0620.00515.80
7.1.100.0570.00615.69
7.1.90.0530.00815.73
7.1.80.0520.00815.73
7.1.70.0600.00515.70
7.1.60.0600.00720.77
7.1.50.0430.00821.35
7.1.40.0710.01021.22
7.1.30.0900.00921.27
7.1.20.0730.00921.33
7.1.10.0730.00715.23
7.1.00.0530.01916.34
7.0.330.0260.00515.15
7.0.320.0250.00415.17
7.0.310.0240.00815.21
7.0.300.0250.00515.18
7.0.290.0630.00815.61
7.0.280.0280.00415.21
7.0.270.0740.00715.65
7.0.260.0720.00815.58
7.0.250.0610.00615.44
7.0.240.0680.00715.40
7.0.230.0510.00715.49
7.0.220.0690.00715.39
7.0.210.0580.00615.04
7.0.200.0520.00715.31
7.0.190.0390.00715.03
7.0.180.0700.00614.98
7.0.170.0830.00915.02
7.0.160.0870.00714.99
7.0.150.0610.00915.03
7.0.140.0620.01815.92
7.0.130.0670.01416.01
7.0.120.0650.01415.98
7.0.110.0470.01415.96
7.0.100.0620.01515.94
7.0.90.0630.01416.07
7.0.80.0550.01415.97
7.0.70.0570.01415.92
7.0.60.0580.01515.89
7.0.50.0590.01616.02
7.0.40.0590.01415.80
7.0.30.0570.01515.84
7.0.20.0590.01415.68
7.0.10.0610.01915.73
7.0.00.0590.01315.79
5.6.400.0130.01115.66
5.6.390.0130.00915.61
5.6.380.0050.01315.23
5.6.370.0130.01015.16
5.6.360.0110.01015.34
5.6.350.0120.00815.16
5.6.340.0120.00815.14
5.6.330.0140.01115.20
5.6.320.0140.00915.21
5.6.310.0150.00515.26
5.6.300.0160.02417.12
5.6.290.0110.03017.65
5.6.280.0140.02917.67
5.6.270.0130.03017.70
5.6.260.0160.03017.77
5.6.250.0120.03017.65
5.6.240.0100.03417.62
5.6.230.0140.03017.66
5.6.220.0170.02817.63
5.6.210.0150.02817.74
5.6.200.0140.03117.67
5.6.190.0160.02917.80
5.6.180.0160.02917.64
5.6.170.0120.03017.69
5.6.160.0100.03217.67
5.6.150.0130.02917.69
5.6.140.0120.03017.63
5.6.130.0130.02717.62
5.6.120.0140.02817.65
5.6.110.0110.03317.72
5.6.100.0160.03017.59
5.6.90.0170.02617.70
5.6.80.0130.02917.30
5.6.70.0140.02817.39
5.6.60.0150.02917.30
5.6.50.0120.02917.40
5.6.40.0130.02817.31
5.6.30.0130.02817.41
5.6.20.0130.02817.33
5.6.10.0160.02717.34
5.6.00.0140.03117.38
5.5.380.0100.00316.52
5.5.370.0120.00216.52
5.5.360.0140.00016.52
5.5.350.0070.00716.52
5.5.340.0180.00416.52
5.5.330.0040.00916.52
5.5.320.0090.00416.52
5.5.310.0110.00416.52
5.5.300.0090.00416.52
5.5.290.0080.00516.52
5.5.280.0050.00916.52
5.5.270.0090.00316.52
5.5.260.0130.00016.52
5.5.250.0090.00416.52
5.5.240.0070.00616.52
5.5.230.0120.00016.52
5.5.220.0090.00316.52
5.5.210.0070.00516.52
5.5.200.0100.00316.52
5.5.190.0100.00316.52
5.5.180.0070.00516.52
5.5.170.0110.00416.52
5.5.160.0060.00616.52
5.5.150.0080.00816.52
5.5.140.0140.00016.52
5.5.130.0130.00016.52
5.5.120.0120.00016.52
5.5.110.0060.00616.52
5.5.100.0100.00516.52
5.5.90.0090.00316.52
5.5.80.0090.00316.52
5.5.70.0070.00816.52
5.5.60.0090.00416.52
5.5.50.0130.00016.52
5.5.40.0080.00416.52
5.5.30.0110.00316.52
5.5.20.0090.00416.52
5.5.10.0090.00616.52
5.5.00.0110.00516.52
5.4.450.0120.00016.52
5.4.440.0110.00016.52
5.4.430.0060.00316.52
5.4.420.0040.00616.52
5.4.410.0100.00016.52
5.4.400.0030.00716.52
5.4.390.0050.00516.52
5.4.380.0070.00316.52
5.4.370.0110.00016.52
5.4.360.0060.00616.52
5.4.350.0090.00316.52
5.4.340.0060.00416.52
5.4.330.0100.00016.52
5.4.320.0110.00016.52
5.4.310.0080.00416.52
5.4.300.0080.00416.52
5.4.290.0080.00316.52
5.4.280.0080.00316.52
5.4.270.0120.00016.52
5.4.260.0110.00016.52
5.4.250.0100.00016.52
5.4.240.0100.00016.52
5.4.230.0080.00316.52
5.4.220.0050.00516.52
5.4.210.0070.00416.52
5.4.200.0070.00316.52
5.4.190.0080.00316.52
5.4.180.0040.00716.52
5.4.170.0100.00016.52
5.4.160.0070.00416.52
5.4.150.0080.00316.52
5.4.140.0050.00516.52
5.4.130.0100.00016.52
5.4.120.0060.00616.52
5.4.110.0110.00016.52
5.4.100.0100.00016.52
5.4.90.0060.00616.52
5.4.80.0050.00516.52
5.4.70.0060.00316.52
5.4.60.0090.00016.52
5.4.50.0070.00216.52
5.4.40.0040.00716.52
5.4.30.0100.00016.52
5.4.20.0120.00016.52
5.4.10.0070.00316.52
5.4.00.0100.00016.52
5.3.290.0110.00016.52
5.3.280.0080.00316.52
5.3.270.0100.00016.52
5.3.260.0050.00516.52
5.3.250.0080.00416.52
5.3.240.0100.00216.52
5.3.230.0110.00016.52
5.3.220.0080.00316.52
5.3.210.0100.00016.52
5.3.200.0050.00516.52
5.3.190.0070.00416.52
5.3.180.0050.00516.52
5.3.170.0110.00016.52
5.3.160.0050.00516.52
5.3.150.0110.00016.52
5.3.140.0080.00316.52
5.3.130.0070.00316.52
5.3.120.0080.00416.52
5.3.110.0060.00616.52
5.3.100.0110.00016.52
5.3.90.0100.00016.52
5.3.80.0090.00016.52
5.3.70.0090.00016.52
5.3.60.0050.00516.52
5.3.50.0040.00716.52
5.3.40.0000.01216.52
5.3.30.0000.01016.52
5.3.20.0050.00516.52
5.3.10.0090.00016.52
5.3.00.0080.00416.52
5.2.170.0070.00216.52
5.2.160.0040.00416.52
5.2.150.0050.00316.52
5.2.140.0080.00016.52
5.2.130.0060.00216.52
5.2.120.0060.00316.52
5.2.110.0060.00316.52
5.2.100.0030.00616.52
5.2.90.0080.00016.52
5.2.80.0070.00216.52
5.2.70.0070.00216.52
5.2.60.0080.00016.52
5.2.50.0050.00316.52
5.2.40.0000.00816.52
5.2.30.0090.00016.52
5.2.20.0080.00016.52
5.2.10.0060.00316.52
5.2.00.0100.00216.52
5.1.60.0040.00416.52
5.1.50.0040.00416.52
5.1.40.0000.00716.52
5.1.30.0040.00416.52
5.1.20.0080.00016.52
5.1.10.0070.00016.52
5.1.00.0070.00016.52
5.0.50.0000.00616.52
5.0.40.0060.00016.52
5.0.30.0040.00216.52
5.0.20.0000.00616.52
5.0.10.0040.00216.52
5.0.00.0060.00016.52
4.4.90.0000.00316.52
4.4.80.0030.00016.52
4.4.70.0000.00316.52
4.4.60.0040.00016.52
4.4.50.0030.00016.52
4.4.40.0030.00016.52
4.4.30.0000.00316.52
4.4.20.0000.00316.52
4.4.10.0000.00316.52
4.4.00.0030.00016.52
4.3.110.0000.00316.52
4.3.100.0030.00016.52
4.3.90.0040.00016.52
4.3.80.0000.00316.52
4.3.70.0040.00016.52
4.3.60.0000.00316.52
4.3.50.0000.00316.52
4.3.40.0000.00316.52
4.3.30.0000.00316.52
4.3.20.0000.00316.52
4.3.10.0000.00316.52
4.3.00.0030.00016.52

preferences:
56.28 ms | 403 KiB | 5 Q