3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = strtotime('now'); $next_monday = strtotime('Monday'); if (date('d', $next_monday-$now) < 3){ $next_monday = $next_monday + 60000; echo date('Y-m-d', $next_monday) . "T00:00:00"; }else{ echo date('Y-m-d', $next_monday) . "T00:00:00"; } ?>

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.3.60.0040.01116.75
8.3.50.0130.00718.19
8.3.40.0100.01018.92
8.3.30.0070.00719.04
8.3.20.0080.00020.07
8.3.10.0000.01023.56
8.3.00.0080.00020.97
8.2.180.0120.00318.18
8.2.170.0070.00722.96
8.2.160.0000.01420.52
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0040.00422.31
8.2.110.0060.00322.29
8.2.100.0110.00019.57
8.2.90.0040.00419.22
8.2.80.0050.00317.97
8.2.70.0030.00617.75
8.2.60.0050.00317.89
8.2.50.0060.00318.07
8.2.40.0030.00620.01
8.2.30.0040.00418.42
8.2.20.0040.00417.93
8.2.10.0060.00318.17
8.2.00.0070.00017.92
8.1.270.0040.00422.25
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0160.00023.99
8.1.230.0110.00019.15
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0060.00317.63
8.1.190.0050.00317.48
8.1.180.0030.00718.10
8.1.170.0080.00018.79
8.1.160.0000.00722.10
8.1.150.0000.00718.91
8.1.140.0000.00717.70
8.1.130.0030.00317.93
8.1.120.0000.00817.61
8.1.110.0040.00717.70
8.1.100.0030.00417.75
8.1.90.0040.00417.71
8.1.80.0030.00517.61
8.1.70.0000.00717.66
8.1.60.0000.00817.82
8.1.50.0030.00517.66
8.1.40.0050.00317.69
8.1.30.0040.00417.79
8.1.20.0070.00017.66
8.1.10.0000.00817.65
8.1.00.0080.00017.57
8.0.300.0070.00018.77
8.0.290.0030.00317.18
8.0.280.0000.00718.43
8.0.270.0000.00717.30
8.0.260.0000.00617.38
8.0.250.0070.00017.21
8.0.240.0000.00817.09
8.0.230.0000.00717.16
8.0.220.0070.00017.15
8.0.210.0000.00717.17
8.0.200.0070.00017.18
8.0.190.0070.00017.21
8.0.180.0040.00417.19
8.0.170.0040.00417.08
8.0.160.0000.00717.02
8.0.150.0030.00517.12
8.0.140.0030.00517.09
8.0.130.0050.00313.51
8.0.120.0000.00817.10
8.0.110.0040.00417.16
8.0.100.0000.00817.03
8.0.90.0040.00417.18
8.0.80.0090.00917.17
8.0.70.0040.00417.04
8.0.60.0000.00717.14
8.0.50.0080.00017.02
8.0.30.0120.00617.04
8.0.20.0110.00917.40
8.0.10.0000.00717.22
8.0.00.0070.01117.03
7.4.330.0060.00015.09
7.4.320.0030.00316.78
7.4.300.0060.00016.55
7.4.290.0000.00716.76
7.4.280.0030.00316.68
7.4.270.0000.00716.70
7.4.260.0050.00516.60
7.4.250.0040.00416.80
7.4.240.0040.00416.73
7.4.230.0000.00716.67
7.4.220.0070.01016.82
7.4.210.0050.01016.85
7.4.200.0070.00016.69
7.4.190.0070.00016.61
7.4.160.0120.01216.51
7.4.150.0070.01017.40
7.4.140.0140.00717.86
7.4.130.0060.01216.68
7.4.120.0090.01216.68
7.4.110.0070.01016.70
7.4.100.0110.00616.70
7.4.90.0090.00916.65
7.4.80.0100.00719.39
7.4.70.0100.00916.61
7.4.60.0150.00316.78
7.4.50.0030.00316.79
7.4.40.0060.01016.51
7.4.30.0000.01716.60
7.4.00.0070.00715.44
7.3.330.0030.00313.28
7.3.320.0030.00313.35
7.3.310.0000.00716.52
7.3.300.0030.00316.42
7.3.290.0060.01316.53
7.3.280.0080.00916.50
7.3.270.0070.01017.40
7.3.260.0130.00316.90
7.3.250.0110.00916.71
7.3.240.0060.01016.52
7.3.230.0060.01116.71
7.3.210.0070.01116.48
7.3.200.0130.00316.76
7.3.190.0060.01016.41
7.3.180.0070.00716.71
7.3.170.0080.00816.79
7.3.160.0080.01116.71
7.3.120.0040.01214.63
7.2.330.0090.00916.66
7.2.320.0060.00916.98
7.2.310.0070.01016.87
7.2.300.0120.00616.73
7.2.290.0030.01916.60
7.2.00.0070.00719.79
7.1.100.0000.01018.23
7.1.70.0040.00417.20
7.1.60.0140.01019.46
7.1.50.0170.00717.20
7.1.00.0030.07722.44
7.0.200.0070.00316.71
7.0.140.0000.07022.09
7.0.100.0100.04719.93
7.0.90.0070.08319.98
7.0.80.0070.08019.96
7.0.70.0170.04319.85
7.0.60.0030.08719.95
7.0.50.0030.04320.32
7.0.40.0070.07720.17
7.0.30.0070.03720.18
7.0.20.0070.08320.11
7.0.10.0030.09020.18
7.0.00.0100.08020.10
5.6.280.0030.07320.92
5.6.250.0070.06320.60
5.6.240.0170.07320.60
5.6.230.0070.06720.52
5.6.220.0270.05020.70
5.6.210.0130.07320.60
5.6.200.0130.07721.02
5.6.190.0070.09021.04
5.6.180.0030.08720.95
5.6.170.0130.08021.04
5.6.160.0100.08021.02
5.6.150.0070.07021.07
5.6.140.0130.07721.04
5.6.130.0100.07320.93
5.6.120.0070.09021.04
5.6.110.0100.08720.99
5.6.100.0130.06320.99
5.6.90.0030.07321.11
5.6.80.0100.08020.30
5.6.70.0130.07020.38
5.6.60.0170.06320.54
5.6.50.0100.04320.45
5.6.40.0100.07320.44
5.6.30.0030.07320.32
5.6.20.0030.04020.44
5.6.10.0030.03720.30
5.6.00.0070.07320.42
5.5.380.0130.07320.49
5.5.370.0070.07020.54
5.5.360.0270.06020.52
5.5.350.0100.07720.38
5.5.340.0070.05320.73
5.5.330.0130.07720.90
5.5.320.0100.08020.80
5.5.310.0100.06320.79
5.5.300.0070.07720.82
5.5.290.0000.06720.82
5.5.280.0070.08720.90
5.5.270.0030.05720.90
5.5.260.0200.03720.90
5.5.250.0230.06720.58
5.5.240.0130.06720.21
5.5.230.0170.07320.29
5.5.220.0130.06720.23
5.5.210.0070.07720.11
5.5.200.0100.08020.14
5.5.190.0030.08020.23
5.5.180.0100.03319.99
5.5.160.0030.03320.12
5.5.150.0070.06720.07
5.5.140.0100.06020.14
5.5.130.0030.08020.10
5.5.120.0070.08020.20
5.5.110.0130.04020.25
5.5.100.0000.04720.01
5.5.90.0070.07020.02
5.5.80.0100.08020.05
5.5.70.0070.07320.14
5.5.60.0070.07720.02
5.5.50.0070.05020.02
5.5.40.0100.03320.03
5.5.30.0130.06320.05
5.5.20.0100.07719.95
5.5.10.0070.06320.02
5.5.00.0130.06319.95
5.4.450.0030.08719.43
5.4.440.0100.08019.37
5.4.430.0100.06719.45
5.4.420.0070.04319.29
5.4.410.0070.04719.22
5.4.400.0000.06319.06
5.4.390.0070.07719.03
5.4.380.0070.06018.96
5.4.370.0130.06718.96
5.4.360.0070.04319.12
5.4.350.0070.06318.79
5.4.340.0030.07319.24
5.4.320.0030.03719.14
5.4.310.0100.07319.07
5.4.300.0070.04018.78
5.4.290.0100.06719.11
5.4.280.0030.05318.97
5.4.270.0070.07019.11
5.4.260.0070.05319.09
5.4.250.0030.07719.02
5.4.240.0070.05018.94
5.4.230.0100.04019.04
5.4.220.0100.07318.91
5.4.210.0070.05019.11
5.4.200.0070.07319.07
5.4.190.0030.07319.07
5.4.180.0100.08018.93
5.4.170.0030.05018.95
5.4.160.0070.04019.00
5.4.150.0070.06719.04
5.4.140.0100.04016.12
5.4.130.0130.06316.33
5.4.120.0070.07316.11
5.4.110.0070.06716.43
5.4.100.0030.07316.41
5.4.90.0100.03716.39
5.4.80.0170.06016.46
5.4.70.0100.04016.35
5.4.60.0100.07016.34
5.4.50.0030.06316.29
5.4.40.0100.06716.37
5.4.30.0030.07316.19
5.4.20.0070.07316.30
5.4.10.0030.07316.28
5.4.00.0000.06015.80
5.3.290.0030.08014.67
5.3.280.0100.06014.50
5.3.270.0030.04014.61
5.3.260.0100.05314.60
5.3.250.0100.05014.59
5.3.240.0030.05314.61
5.3.230.0070.06314.57
5.3.220.0130.06714.43
5.3.210.0130.05314.48
5.3.200.0000.07314.54
5.3.190.0130.07014.39
5.3.180.0070.08314.42
5.3.170.0100.06314.55
5.3.160.0100.07014.52
5.3.150.0030.05314.40
5.3.140.0100.07314.39
5.3.130.0070.05314.52
5.3.120.0070.04014.40
5.3.110.0070.05314.41
5.3.100.0030.04713.91
5.3.90.0130.06013.96
5.3.80.0100.07014.01
5.3.70.0070.04313.97
5.3.60.0030.05013.98
5.3.50.0070.06313.71
5.3.40.0000.06313.89
5.3.30.0100.04013.77
5.3.20.0030.03313.54
5.3.10.0000.04013.61
5.3.00.0000.03713.59
5.2.170.0070.06312.79
5.2.160.0000.05312.79
5.2.150.0070.06012.79
5.2.140.0030.03012.79
5.2.130.0030.02712.79
5.2.120.0000.03012.79
5.2.110.0030.03312.79
5.2.100.0030.02712.79
5.2.90.0000.03012.79
5.2.80.0000.03312.79
5.2.70.0000.03312.79
5.2.60.0000.03312.79
5.2.50.0030.03012.79
5.2.40.0000.03012.79
5.2.30.0100.03712.79
5.2.20.0000.03012.79
5.2.10.0030.02712.79
5.2.00.0000.03312.79
5.1.60.0030.03312.79
5.1.50.0030.02312.79
5.1.40.0070.02012.79
5.1.30.0000.02712.79
5.1.20.0070.03712.79
5.1.10.0000.02712.79
5.1.00.0030.02312.79
5.0.50.0070.01312.79
5.0.40.0000.02012.79
5.0.30.0000.04712.79
5.0.20.0000.02712.79
5.0.10.0000.03012.79
5.0.00.0000.03712.79
4.4.90.0000.01712.79
4.4.80.0000.02012.79
4.4.70.0000.01712.79
4.4.60.0000.01712.79
4.4.50.0030.01312.79
4.4.40.0000.02712.79
4.4.30.0030.01312.79
4.4.20.0030.01312.79
4.4.10.0000.01712.79
4.4.00.0030.03712.79
4.3.110.0030.01312.79
4.3.100.0000.02712.79
4.3.90.0070.03012.79
4.3.80.0000.02712.79
4.3.70.0030.02312.79
4.3.60.0030.01312.79
4.3.50.0000.02012.79
4.3.40.0000.02312.79
4.3.30.0000.01712.79
4.3.20.0000.01712.79
4.3.10.0000.01712.79
4.3.00.0000.01312.79

preferences:
42.11 ms | 400 KiB | 5 Q