3v4l.org

run code in 300+ PHP versions simultaneously
<?php $now = new \DateTime(null, new DateTimeZone('Berlin')); $soon = $now->add(new DateInterval('P1D')); echo ($soon->diff($now))->format('%a');

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.0090.00616.38
8.3.50.0110.00821.93
8.3.40.0150.00018.92
8.3.30.0040.01119.13
8.3.20.0040.00420.35
8.3.10.0040.00421.81
8.3.00.0080.00017.80
8.2.180.0140.00718.41
8.2.170.0110.00422.96
8.2.160.0130.00320.51
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00821.11
8.2.110.0030.00622.16
8.2.100.0070.00717.78
8.2.90.0080.00018.84
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0000.00917.93
8.2.50.0040.00418.07
8.2.40.0000.00718.03
8.2.30.0050.00317.88
8.2.20.0030.00517.81
8.2.10.0000.00718.00
8.2.00.0070.00017.68
8.1.280.0130.00625.92
8.1.270.0050.00523.78
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.91
8.1.230.0120.00019.07
8.1.220.0000.00717.74
8.1.210.0040.00418.77
8.1.200.0040.00417.35
8.1.190.0040.00417.10
8.1.180.0000.00818.10
8.1.170.0080.00018.50
8.1.160.0050.00221.80
8.1.150.0070.00018.71
8.1.140.0040.00417.39
8.1.130.0000.00717.76
8.1.120.0000.00717.30
8.1.110.0040.00417.41
8.1.100.0070.00017.37
8.1.90.0000.00717.38
8.1.80.0040.00317.32
8.1.70.0000.00717.33
8.1.60.0000.01017.50
8.1.50.0000.00817.48
8.1.40.0040.00417.45
8.1.30.0080.00017.63
8.1.20.0040.00417.63
8.1.10.0000.00717.48
8.1.00.0040.00417.30
8.0.300.0030.00318.77
8.0.290.0000.00716.88
8.0.280.0030.00318.30
8.0.270.0000.00717.11
8.0.260.0060.00017.11
8.0.250.0000.00716.95
8.0.240.0000.00716.99
8.0.230.0070.00017.06
8.0.220.0030.00316.87
8.0.210.0000.00716.87
8.0.200.0060.00016.98
8.0.190.0040.00417.08
8.0.180.0020.00516.96
8.0.170.0000.00816.91
8.0.160.0070.00017.05
8.0.150.0030.00516.87
8.0.140.0000.00816.97
8.0.130.0000.00613.36
8.0.120.0050.00316.84
8.0.110.0000.00816.93
8.0.100.0020.00516.82
8.0.90.0070.00016.84
8.0.80.0120.00617.01
8.0.70.0040.00416.98
8.0.60.0020.00516.86
8.0.50.0000.00716.91
8.0.30.0080.01217.11
8.0.20.0110.00817.40
8.0.10.0040.00417.01
8.0.00.0080.01216.77
7.4.330.0020.00215.00
7.4.320.0070.00016.45
7.4.300.0000.00716.46
7.4.290.0000.00716.49
7.4.280.0000.00716.52
7.4.270.0040.00416.47
7.4.260.0000.00716.36
7.4.250.0040.00416.55
7.4.240.0000.00816.52
7.4.230.0070.00016.34
7.4.220.0160.00316.58
7.4.210.0000.01416.39
7.4.200.0040.00416.54
7.4.160.0110.00716.66
7.4.150.0110.00617.40
7.4.140.0100.00717.86
7.4.130.0100.00716.67
7.4.120.0100.00716.50
7.4.110.0080.00816.41
7.4.100.0030.01416.57
7.4.90.0030.01316.44
7.4.80.0160.00619.39
7.4.70.0060.01416.51
7.4.60.0100.00716.65
7.4.50.0030.00516.55
7.4.40.0150.00816.22
7.4.30.0120.00916.70
7.4.00.0150.00015.07
7.3.330.0000.00513.31
7.3.320.0030.00313.17
7.3.310.0040.00416.47
7.3.300.0040.00416.32
7.3.290.0080.00816.45
7.3.280.0060.00916.30
7.3.270.0100.00717.40
7.3.260.0100.01016.43
7.3.250.0140.00616.55
7.3.240.0120.00916.44
7.3.230.0130.00316.50
7.3.210.0120.00616.12
7.3.200.0140.01119.39
7.3.190.0100.01316.46
7.3.180.0110.00916.57
7.3.170.0120.00316.51
7.3.160.0110.01116.49
7.3.120.0110.00014.88
7.2.330.0200.01516.65
7.2.320.0040.01516.72
7.2.310.0080.01216.54
7.2.300.0090.00616.52
7.2.290.0140.00716.61
7.2.60.0050.00516.84
7.2.00.0000.01119.20
7.1.200.0030.00915.42
7.1.100.0030.00818.08
7.1.70.0050.00217.20
7.1.60.0060.01919.14
7.1.50.0000.01216.86
7.1.00.0030.07322.34
7.0.200.0000.01016.88
7.0.140.0030.07322.04
7.0.60.0170.07720.00
7.0.50.0030.06317.68
7.0.40.0100.07320.20
7.0.30.0300.07720.00
7.0.20.0170.04320.20
7.0.10.0070.04020.19
7.0.00.0070.05020.12
5.6.280.0100.06721.07
5.6.210.0100.08320.61
5.6.200.0070.04718.18
5.6.190.0130.07720.50
5.6.180.0300.08020.45
5.6.170.0200.03720.46
5.6.160.0130.08020.54
5.6.150.0130.07318.21
5.6.140.0070.06018.11
5.6.130.0000.05318.17
5.6.120.0100.08320.98
5.6.110.0030.04321.14
5.6.100.0070.05721.03
5.6.90.0170.07720.97
5.6.80.0100.06720.42
5.6.70.4370.03720.37
5.5.350.0170.03020.42
5.5.340.0030.04017.99
5.5.330.0130.03020.33
5.5.320.0330.07720.25
5.5.310.0170.04320.23
5.5.300.0100.03318.03
5.5.290.0100.07317.98
5.5.280.0070.04720.77
5.5.270.0130.07720.97
5.5.260.0030.04320.88
5.5.250.0030.08720.75
5.5.240.0230.07020.36
5.4.450.0170.04719.28
5.4.440.0300.05019.54
5.4.430.0300.05019.54
5.4.420.0530.04019.16
5.4.410.0100.04719.14
5.4.400.0400.04019.09
5.4.390.0400.04019.15
5.4.380.0200.04718.58
5.4.370.0200.05018.74
5.4.360.0070.06018.73
5.4.350.0230.04318.74
5.4.340.0030.06018.50
5.4.320.0040.03712.50
5.4.310.0100.03912.49
5.4.300.0060.03512.50
5.4.290.0070.03512.49
5.4.280.0080.04012.39
5.4.270.0050.04412.39
5.4.260.0050.05212.39
5.4.250.0100.03512.39
5.4.240.0060.03512.39
5.4.230.0050.03812.38
5.4.220.0050.03612.39
5.4.210.0040.04412.39
5.4.200.0100.04112.39
5.4.190.0080.03412.38
5.4.180.0070.03512.38
5.4.170.0090.03212.39
5.4.160.0050.03612.39
5.4.150.0030.03812.38
5.4.140.0050.03712.07
5.4.130.0060.04212.05
5.4.120.0060.04112.02
5.4.110.0090.03512.01
5.4.100.0040.03612.01
5.4.90.0080.03412.00
5.4.80.0070.03612.02
5.4.70.0060.03412.01
5.4.60.0050.03512.01
5.4.50.0070.03812.01
5.4.40.0050.03712.00
5.4.30.0060.04012.00
5.4.20.0060.03511.99
5.4.10.0050.03412.00
5.4.00.0090.04511.49
5.3.290.0190.04212.80
5.3.280.0060.05012.71
5.3.270.0040.04012.73
5.3.260.0070.04312.72
5.3.250.0040.03912.71
5.3.240.0070.03612.72
5.3.230.0070.03612.71
5.3.220.0090.03312.68
5.3.210.0110.03512.68
5.3.200.0110.03812.68
5.3.190.0080.03912.68
5.3.180.0050.04112.67
5.3.170.0050.03712.67
5.3.160.0070.04012.68
5.3.150.0040.03912.67
5.3.140.0060.03612.66
5.3.130.0070.03812.66
5.3.120.0060.03812.66
5.3.110.0080.03612.66
5.3.100.0060.03612.12
5.3.90.0070.03412.08
5.3.80.0080.03912.07
5.3.70.0060.04212.07
5.3.60.0100.03412.06
5.3.50.0040.03712.00
5.3.40.0050.03712.00
5.3.30.0060.03311.96
5.3.20.0070.03711.75
5.3.10.0080.03611.71
5.3.00.0030.03711.70
5.2.170.0070.0289.18
5.2.160.0080.0319.18
5.2.150.0080.0359.18
5.2.140.0060.0319.18
5.2.130.0020.0319.14
5.2.120.0030.0299.14
5.2.110.0030.0309.15
5.2.100.0070.0289.14
5.2.90.0030.0309.15
5.2.80.0070.0299.14
5.2.70.0070.0329.14
5.2.60.0080.0299.09
5.2.50.0050.0309.06
5.2.40.0040.0309.04
5.2.30.0020.0339.02
5.2.20.0060.0299.00
5.2.10.0050.0318.92
5.2.00.0050.0308.79
5.1.60.0070.0228.07
5.1.50.0030.0258.07
5.1.40.0060.0298.05
5.1.30.0060.0298.40
5.1.20.0010.0298.42
5.1.10.0030.0268.14
5.1.00.0070.0308.15
5.0.50.0030.0206.63
5.0.40.0040.0186.48
5.0.30.0040.0306.30
5.0.20.0040.0196.27
5.0.10.0040.0196.24
5.0.00.0020.0386.24
4.4.90.0010.0184.78
4.4.80.0030.0144.75
4.4.70.0040.0214.76
4.4.60.0030.0254.75
4.4.50.0040.0204.77
4.4.40.0030.0244.71
4.4.30.0050.0224.76
4.4.20.0040.0144.84
4.4.10.0070.0194.84
4.4.00.0020.0254.76
4.3.110.0050.0134.67
4.3.100.0030.0144.66
4.3.90.0050.0174.64
4.3.80.0050.0264.58
4.3.70.0020.0154.63
4.3.60.0030.0154.63
4.3.50.0020.0194.63
4.3.40.0020.0294.54
4.3.30.0020.0173.29
4.3.20.0020.0173.27
4.3.10.0010.0173.22
4.3.00.0030.02012.97

preferences:
42.07 ms | 401 KiB | 5 Q