3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = date('Y-m-d H:m:s'); $end = date('Y-m-d H:m:s', strtotime($start . ' +24 hours')); //$days = date('Y-m-d', $end) - date('Y-m-d', $start); echo $days . " " . date('Y-m-d', strtotime($end)) . " " . date('Y-m-d', strtotime($start)); ?>

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.0120.00918.80
8.3.50.0110.00821.27
8.3.40.0070.00718.72
8.3.30.0100.00320.29
8.3.20.0070.00020.39
8.3.10.0040.00421.89
8.3.00.0080.00022.37
8.2.180.0150.00318.79
8.2.170.0040.01122.96
8.2.160.0110.00722.23
8.2.150.0080.00024.18
8.2.140.0030.00524.66
8.2.130.0000.00826.16
8.2.120.0080.00020.87
8.2.110.0060.00322.39
8.2.100.0060.00617.97
8.2.90.0040.00418.03
8.2.80.0080.00017.97
8.2.70.0040.00417.88
8.2.60.0100.00017.93
8.2.50.0050.00318.07
8.2.40.0040.00420.07
8.2.30.0050.00219.55
8.2.20.0000.00817.96
8.2.10.0030.00517.88
8.2.00.0000.00817.92
8.1.280.0170.00025.92
8.1.270.0050.00323.99
8.1.260.0040.00426.35
8.1.250.0000.00828.09
8.1.240.0090.00020.77
8.1.230.0060.00620.88
8.1.220.0080.00017.79
8.1.210.0000.00818.82
8.1.200.0090.00017.60
8.1.190.0000.00817.65
8.1.180.0000.00819.07
8.1.170.0030.00518.96
8.1.160.0000.00719.10
8.1.150.0030.00518.90
8.1.140.0000.00717.67
8.1.130.0000.00718.00
8.1.120.0000.00717.64
8.1.110.0000.00717.74
8.1.100.0040.00417.71
8.1.90.0040.00417.77
8.1.80.0050.00217.77
8.1.70.0030.00517.68
8.1.60.0000.00817.77
8.1.50.0080.00017.60
8.1.40.0000.00817.74
8.1.30.0080.00017.86
8.1.20.0000.00817.82
8.1.10.0000.00717.73
8.1.00.0030.00617.67
8.0.300.0000.00720.07
8.0.290.0040.00417.05
8.0.280.0070.00018.54
8.0.270.0070.00017.30
8.0.260.0040.00417.13
8.0.250.0030.00317.16
8.0.240.0060.00317.24
8.0.230.0050.00217.29
8.0.220.0000.00817.18
8.0.210.0070.00017.11
8.0.200.0030.00317.15
8.0.190.0080.00017.14
8.0.180.0000.00717.25
8.0.170.0000.00817.11
8.0.160.0040.00417.12
8.0.150.0040.00417.21
8.0.140.0040.00417.20
8.0.130.0060.00013.64
8.0.120.0000.00817.16
8.0.110.0070.00017.08
8.0.100.0040.00417.11
8.0.90.0040.00417.10
8.0.80.0100.01017.18
8.0.70.0000.00717.00
8.0.60.0000.00717.03
8.0.50.0040.00417.17
8.0.30.0030.01517.30
8.0.20.0110.00717.40
8.0.10.0000.00717.17
8.0.00.0030.01717.05
7.4.330.0000.00615.00
7.4.320.0040.00416.70
7.4.300.0030.00316.68
7.4.290.0000.00716.64
7.4.280.0050.00316.65
7.4.270.0030.00316.71
7.4.260.0060.00013.34
7.4.250.0000.00816.73
7.4.240.0020.00516.73
7.4.230.0030.00516.73
7.4.220.0100.00716.76
7.4.210.0090.00616.66
7.4.200.0040.00416.82
7.4.190.0070.00016.78
7.4.160.0000.01616.79
7.4.150.0090.01517.40
7.4.140.0090.00917.86
7.4.130.0060.01116.72
7.4.120.0100.00716.83
7.4.110.0090.00616.94
7.4.100.0070.01016.80
7.4.90.0140.00416.73
7.4.80.0100.01119.39
7.4.70.0090.00916.91
7.4.60.0150.00316.43
7.4.50.0060.00316.42
7.4.40.0120.00622.77
7.4.30.0090.00616.75
7.4.10.0030.01315.06
7.4.00.0080.00915.14
7.3.330.0000.00513.38
7.3.320.0000.00513.35
7.3.310.0000.00716.59
7.3.300.0000.00716.54
7.3.290.0040.01016.63
7.3.280.0090.00816.49
7.3.270.0100.01317.40
7.3.260.0160.00016.71
7.3.250.0090.01416.66
7.3.240.0030.01316.58
7.3.230.0100.00716.63
7.3.210.0130.00316.58
7.3.200.0090.00919.39
7.3.190.0100.01116.55
7.3.180.0140.00316.70
7.3.170.0040.01116.78
7.3.160.0080.01116.69
7.3.130.0080.00815.13
7.3.120.0060.01015.05
7.3.110.0100.00715.05
7.3.100.0050.00715.00
7.3.90.0070.00915.10
7.3.80.0060.00715.09
7.3.70.0070.00514.99
7.3.60.0060.00914.86
7.3.50.0060.00914.96
7.3.40.0050.00715.04
7.3.30.0080.00615.01
7.3.20.0070.00816.91
7.3.10.0050.00916.86
7.3.00.0040.01016.92
7.2.330.0000.01616.99
7.2.320.0030.01417.03
7.2.310.0120.00916.64
7.2.300.0070.01016.84
7.2.290.0180.00316.76
7.2.260.0000.01815.19
7.2.250.0070.00915.20
7.2.240.0060.01015.43
7.2.230.0040.01315.23
7.2.220.0080.00615.27
7.2.210.0040.01115.20
7.2.200.0080.00615.32
7.2.190.0030.01115.00
7.2.180.0030.01315.05
7.2.170.0080.00515.33
7.2.160.0090.00615.32
7.2.150.0100.00317.12
7.2.140.0060.00517.07
7.2.130.0060.01017.02
7.2.120.0060.01116.99
7.2.110.0090.00516.94
7.2.100.0070.00916.92
7.2.90.0110.00516.97
7.2.80.0060.00917.08
7.2.70.0080.00817.24
7.2.60.0050.00917.05
7.2.50.0060.01017.15
7.2.40.0080.00717.12
7.2.30.0070.00917.02
7.2.20.0080.00817.16
7.2.10.0070.00917.00
7.2.00.0020.01117.63
7.1.330.0030.01016.02
7.1.320.0050.00715.96
7.1.310.0060.00715.96
7.1.300.0060.00915.92
7.1.290.0080.00516.02
7.1.280.0040.01115.87
7.1.270.0030.00815.89
7.1.260.0090.00515.73
7.1.250.0040.00916.01
7.1.240.0030.01015.91
7.1.230.0050.00715.95
7.1.220.0040.00615.97
7.1.210.0110.00415.91
7.1.200.0070.00715.96
7.1.190.0050.00915.88
7.1.180.0050.00915.95
7.1.170.0050.00715.86
7.1.160.0040.00716.06
7.1.150.0100.00315.79
7.1.140.0050.00816.10
7.1.130.0070.00716.03
7.1.120.0080.00515.98
7.1.110.0030.00916.11
7.1.100.0040.00716.67
7.1.90.0030.00816.06
7.1.80.0070.00515.90
7.1.70.0030.00816.47
7.1.60.0090.00717.15
7.1.50.0060.01216.40
7.1.40.0060.00616.03
7.1.30.0060.00615.88
7.1.20.0010.00815.84
7.1.10.0030.00915.92
7.1.00.0060.01818.13
7.0.330.0060.00615.46
7.0.320.0040.00615.44
7.0.310.0060.00615.53
7.0.300.0060.00815.46
7.0.290.0080.00315.61
7.0.280.0100.00315.34
7.0.270.0040.01015.31
7.0.260.0050.00815.54
7.0.250.0030.01015.58
7.0.240.0060.00615.47
7.0.230.0040.01115.41
7.0.220.0110.00115.64
7.0.210.0050.00515.51
7.0.200.0160.00515.29
7.0.190.0090.00615.58
7.0.180.0070.00615.53
7.0.170.0080.00215.51
7.0.160.0040.00915.67
7.0.150.0030.00615.61
7.0.140.0050.02717.61
7.0.130.0050.00715.40
7.0.120.0020.01215.60
7.0.110.0020.01115.46
7.0.100.0050.01816.93
7.0.90.0070.01817.01
7.0.80.0040.01816.88
7.0.70.0100.00916.95
7.0.60.0040.02117.04
7.0.50.0060.01717.20
7.0.40.0050.03415.84
7.0.30.0020.03015.80
7.0.20.0060.03315.82
7.0.10.0060.02415.79
7.0.00.0070.03615.74
5.6.400.0060.00614.39
5.6.390.0000.01114.29
5.6.380.0020.01114.30
5.6.370.0080.00414.44
5.6.360.0080.00314.59
5.6.350.0070.00514.49
5.6.340.0050.00814.55
5.6.330.0050.00514.62
5.6.320.0050.00714.45
5.6.310.0060.00614.64
5.6.300.0020.01014.42
5.6.290.0010.01114.50
5.6.280.0060.02916.71
5.6.270.0060.00914.53
5.6.260.0050.00914.33
5.6.250.0060.01616.54
5.6.240.0010.02116.42
5.6.230.0020.02116.53
5.6.220.0030.01816.67
5.6.210.0030.01916.38
5.6.200.0050.02216.67
5.6.190.0060.01816.67
5.6.180.0020.02116.70
5.6.170.0080.03116.61
5.6.160.0070.01616.70
5.6.150.0060.03216.52
5.6.140.0020.02516.59
5.6.130.0040.03516.59
5.6.120.0060.03316.59
5.6.110.0130.03216.63
5.6.100.0040.02316.72
5.6.90.0080.03116.37
5.6.80.0090.02816.32
5.6.70.0050.02916.41
5.6.60.0060.01916.37
5.6.50.0060.02716.26
5.6.40.0040.03216.31
5.6.30.0030.02116.38
5.6.20.0040.03416.27
5.6.10.0080.02816.36
5.6.00.0070.03016.25
5.5.380.0060.01615.15
5.5.370.0100.01515.26
5.5.360.0050.01815.24
5.5.350.0020.01915.18
5.5.340.0100.01315.32
5.5.330.0060.01815.33
5.5.320.0040.01815.38
5.5.310.0110.02615.35
5.5.300.0050.02815.48
5.5.290.0070.01915.37
5.5.280.0060.02615.32
5.5.270.0070.03315.25
5.5.260.0080.02915.48
5.5.250.0040.03415.29
5.5.240.0070.01715.17
5.5.230.0060.02915.15
5.5.220.0060.03115.25
5.5.210.0060.03315.09
5.5.200.0050.03215.21
5.5.190.0050.03115.21
5.5.180.0090.02915.10
5.5.170.0090.00414.40
5.5.160.0090.02615.14
5.5.150.0080.02815.13
5.5.140.0060.03215.14
5.5.130.0030.02415.14
5.5.120.0090.03615.28
5.5.110.0060.03015.19
5.5.100.0050.03115.19
5.5.90.0060.02815.15
5.5.80.0050.03215.09
5.5.70.0070.01915.08
5.5.60.0120.02515.15
5.5.50.0070.02715.13
5.5.40.0060.02915.05
5.5.30.0050.02515.14
5.5.20.0080.01915.13
5.5.10.0080.01915.15
5.5.00.0090.02315.08
5.4.450.0040.03313.80
5.4.440.0070.02513.91
5.4.430.0060.03013.90
5.4.420.0110.01313.77
5.4.410.0080.02713.88
5.4.400.0040.02613.56
5.4.390.0030.03113.59
5.4.380.0040.02613.68
5.4.370.0060.02913.71
5.4.360.0060.02613.81
5.4.350.0020.02013.65
5.4.340.0060.03013.71
5.4.330.0030.00811.12
5.4.320.0030.03013.63
5.4.310.0020.02413.78
5.4.300.0050.03013.73
5.4.290.0040.02313.67
5.4.280.0080.01713.60
5.4.270.0060.01913.73
5.4.260.0070.02813.70
5.4.250.0060.02513.73
5.4.240.0030.03013.77
5.4.230.0050.02913.66
5.4.220.0050.03113.68
5.4.210.0050.02313.84
5.4.200.0040.02613.79
5.4.190.0060.02713.69
5.4.180.0010.02213.66
5.4.170.0070.02013.68
5.4.160.0080.02313.78
5.4.150.0050.02913.71
5.4.140.0090.02712.76
5.4.130.0060.02512.86
5.4.120.0030.02912.78
5.4.110.0040.03112.86
5.4.100.0080.01912.81
5.4.90.0100.02012.76
5.4.80.0030.02812.92
5.4.70.0060.02412.76
5.4.60.0060.02712.79
5.4.50.0040.02712.75
5.4.40.0080.01612.84
5.4.30.0060.02712.71
5.4.20.0060.02612.78
5.4.10.0030.02412.74
5.4.00.0030.01612.48
5.3.290.0070.02812.10
5.3.280.0050.02712.02
5.3.270.0070.02812.07
5.3.260.0070.02812.10
5.3.250.0040.03011.97
5.3.240.0040.02912.03
5.3.230.0040.02512.06
5.3.220.0040.02812.06
5.3.210.0070.02812.03
5.3.200.0080.02712.08
5.3.190.0080.02512.05
5.3.180.0050.03112.09
5.3.170.0090.02512.10
5.3.160.0040.02912.09
5.3.150.0060.01912.04
5.3.140.0030.03212.06
5.3.130.0010.02012.12
5.3.120.0060.02712.08
5.3.110.0080.02912.03
5.3.100.0050.01511.91
5.3.90.0060.02711.90
5.3.80.0060.02911.91
5.3.70.0060.02711.89
5.3.60.0080.02411.90
5.3.50.0070.02811.88
5.3.40.0060.03011.83
5.3.30.0090.02711.83
5.3.20.0060.02811.73
5.3.10.0040.02411.71
5.3.00.0020.03111.70
5.2.170.0050.03511.10
5.2.160.0030.02411.10
5.2.150.0030.03111.08
5.2.140.0030.03211.08
5.2.130.0050.03311.08
5.2.120.0060.02611.12
5.2.110.0080.03211.08
5.2.100.0030.03211.08
5.2.90.0020.03411.10
5.2.80.0030.03011.11
5.2.70.0030.03111.08
5.2.60.0030.03611.08
5.2.50.0040.03411.08
5.2.40.0030.02011.08
5.2.30.0070.03011.08
5.2.20.0070.02911.08
5.2.10.0050.03311.08
5.2.00.0030.03511.08
5.1.60.0090.02611.08
5.1.50.0020.02211.08
5.1.40.0030.01811.08
5.1.30.0050.02911.08
5.1.20.0040.03011.08
5.1.10.0050.02811.08
5.1.00.0050.03011.08
5.0.50.0050.02311.08
5.0.40.0010.02011.08
5.0.30.0070.03311.08
5.0.20.0050.01911.08
5.0.10.0030.02411.08
5.0.00.0020.02411.08
4.4.90.0010.02011.08
4.4.80.0000.02011.08
4.4.70.0020.01811.08
4.4.60.0000.02211.08
4.4.50.0030.01811.08
4.4.40.0020.03011.08
4.4.30.0020.02111.08
4.4.20.0020.01811.08
4.4.10.0080.01311.08
4.4.00.0020.03011.08
4.3.110.0000.02211.08
4.3.100.0000.02211.08
4.3.90.0030.01911.08
4.3.80.0020.02811.08
4.3.70.0020.02011.08
4.3.60.0020.01511.08
4.3.50.0020.01211.08
4.3.40.0000.02311.08
4.3.30.0050.01611.08
4.3.20.0050.01811.08
4.3.10.0000.01811.08
4.3.00.0030.01711.08

preferences:
39.8 ms | 401 KiB | 5 Q