3v4l.org

run code in 300+ PHP versions simultaneously
<?php $timezone = 'Europe/Berlin'; $date = gmdate('M d Y H:i:s', 1401886870 - 100000); $takeIn = new \DateTime($date, new \DateTimeZone($timezone)); $date = gmdate('M d Y H:i:s', 1401886870); $actualTakeIn = new \DateTime($date, new \DateTimeZone($timezone)); $interval = $takeIn->diff($actualTakeIn); echo $interval->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.0160.00616.75
8.3.50.0140.00722.07
8.3.40.0120.00618.82
8.3.30.0040.01119.21
8.3.20.0080.00020.35
8.3.10.0050.00323.84
8.3.00.0050.00319.51
8.2.180.0060.00918.67
8.2.170.0070.01122.96
8.2.160.0100.00320.39
8.2.150.0060.00324.18
8.2.140.0050.00224.66
8.2.130.0040.01526.16
8.2.120.0040.00422.26
8.2.110.0030.00622.25
8.2.100.0120.00017.97
8.2.90.0040.00419.34
8.2.80.0080.00017.97
8.2.70.0050.00517.62
8.2.60.0040.00417.93
8.2.50.0080.00018.07
8.2.40.0000.00819.89
8.2.30.0000.00718.19
8.2.20.0000.00817.87
8.2.10.0080.00018.13
8.2.00.0030.00817.75
8.1.280.0100.01025.92
8.1.270.0090.00023.91
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0030.00623.92
8.1.230.0100.00318.93
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0000.00917.48
8.1.190.0030.00517.53
8.1.180.0060.00318.10
8.1.170.0060.00318.59
8.1.160.0040.00421.83
8.1.150.0000.00918.68
8.1.140.0040.00417.55
8.1.130.0030.00317.79
8.1.120.0080.00017.62
8.1.110.0060.00317.48
8.1.100.0070.00017.58
8.1.90.0000.00717.53
8.1.80.0050.00217.62
8.1.70.0000.00817.56
8.1.60.0030.00517.54
8.1.50.0050.00317.48
8.1.40.0000.00717.54
8.1.30.0050.00317.70
8.1.20.0040.00417.57
8.1.10.0000.00717.76
8.1.00.0000.00717.65
8.0.300.0070.00020.56
8.0.290.0050.00217.05
8.0.280.0000.00818.42
8.0.270.0030.00317.21
8.0.260.0030.00317.24
8.0.250.0030.00317.17
8.0.240.0080.00017.12
8.0.230.0040.00417.13
8.0.220.0030.00317.08
8.0.210.0070.00017.05
8.0.200.0040.00417.11
8.0.190.0040.00416.93
8.0.180.0000.00717.09
8.0.170.0050.00316.90
8.0.160.0030.00316.90
8.0.150.0050.00216.99
8.0.140.0000.00717.02
8.0.130.0000.00613.46
8.0.120.0000.00817.03
8.0.110.0040.00417.02
8.0.100.0030.00517.09
8.0.90.0000.00716.90
8.0.80.0130.00416.97
8.0.70.0000.00717.02
8.0.60.0040.00416.81
8.0.50.0070.00016.92
8.0.30.0120.00817.33
8.0.20.0090.00917.41
8.0.10.0040.00417.07
8.0.00.0140.00416.86
7.4.330.0000.00515.00
7.4.320.0000.00616.68
7.4.300.0000.00616.68
7.4.290.0000.00716.48
7.4.280.0000.00716.70
7.4.270.0050.00316.70
7.4.260.0070.00016.56
7.4.250.0030.00616.63
7.4.240.0030.00416.59
7.4.230.0030.00316.51
7.4.220.0070.01116.62
7.4.210.0090.00516.69
7.4.200.0000.00716.68
7.4.190.0000.00716.66
7.4.160.0000.01616.77
7.4.150.0070.01017.40
7.4.140.0100.00817.86
7.4.130.0110.00816.64
7.4.120.0090.00916.67
7.4.110.0120.00616.55
7.4.100.0070.01116.75
7.4.90.0070.01116.63
7.4.80.0140.00419.39
7.4.70.0100.00716.63
7.4.60.0080.00816.57
7.4.50.0030.00316.70
7.4.40.0060.00922.77
7.4.30.0090.00916.69
7.4.10.0070.01114.95
7.4.00.0100.00715.06
7.3.330.0000.00713.11
7.3.320.0000.00613.01
7.3.310.0030.00616.18
7.3.300.0030.00616.11
7.3.290.0090.00616.34
7.3.280.0070.01116.24
7.3.270.0120.00617.40
7.3.260.0140.01016.36
7.3.250.0110.01016.46
7.3.240.0110.01016.55
7.3.230.0080.01516.39
7.3.210.0030.01416.44
7.3.200.0060.00916.28
7.3.190.0150.00616.50
7.3.180.0110.01116.29
7.3.170.0120.00316.41
7.3.160.0090.00816.50
7.3.130.0060.00914.57
7.3.120.0050.01114.89
7.3.110.0050.01214.79
7.3.100.0090.00714.89
7.3.90.0030.01214.96
7.3.80.0050.00914.88
7.3.70.0020.01114.79
7.3.60.0080.00714.81
7.3.50.0050.00514.87
7.3.40.0060.00914.78
7.3.30.0040.00814.91
7.3.20.0050.01016.75
7.3.10.0050.01016.61
7.3.00.0060.00716.58
7.2.330.0090.01216.55
7.2.320.0100.00716.94
7.2.310.0060.01616.92
7.2.300.0030.01416.73
7.2.290.0130.00716.88
7.2.260.0030.01615.23
7.2.250.0090.00915.11
7.2.240.0030.01415.00
7.2.230.0100.01015.02
7.2.220.0090.00715.16
7.2.210.0070.00714.80
7.2.200.0050.00715.17
7.2.190.0020.01414.98
7.2.180.0010.01015.20
7.2.170.0030.01215.16
7.2.160.0000.01115.20
7.2.150.0080.00316.98
7.2.140.0070.00317.10
7.2.130.0070.00416.95
7.2.120.0100.00316.87
7.2.110.0060.00816.94
7.2.100.0070.00716.99
7.2.90.0040.00817.01
7.2.80.0070.00817.03
7.2.70.0030.01017.03
7.2.60.0060.00716.92
7.2.50.0030.00916.90
7.2.40.0050.00817.10
7.2.30.0080.00717.07
7.2.20.0030.01116.98
7.2.10.0060.00817.11
7.2.00.0030.00917.67
7.1.330.0030.01015.80
7.1.320.0070.00616.01
7.1.310.0030.01015.75
7.1.300.0040.00715.72
7.1.290.0050.00715.96
7.1.280.0070.00515.77
7.1.270.0060.00715.73
7.1.260.0140.00515.95
7.1.250.0070.00815.64
7.1.240.0070.00715.82
7.1.230.0130.00315.65
7.1.220.0060.01215.72
7.1.210.0040.01115.91
7.1.200.0090.00616.00
7.1.190.0040.00415.79
7.1.180.0030.00615.83
7.1.170.0060.00315.85
7.1.160.0030.01315.89
7.1.150.0040.00715.71
7.1.140.0070.00716.01
7.1.130.0030.00715.88
7.1.120.0030.01215.77
7.1.110.0040.00715.91
7.1.100.0050.00717.03
7.1.90.0030.01015.68
7.1.80.0080.00515.85
7.1.70.0080.00516.66
7.1.60.0070.01017.72
7.1.50.0060.00916.50
7.1.40.0040.00715.80
7.1.30.0070.00715.86
7.1.20.0060.00315.75
7.1.10.0060.00315.91
7.1.00.0070.04219.08
7.0.330.0080.00415.48
7.0.320.0000.01715.59
7.0.310.0000.01315.71
7.0.300.0000.01215.44
7.0.290.0030.01415.63
7.0.280.0030.01015.71
7.0.270.0070.00715.32
7.0.260.0000.01015.74
7.0.250.0000.01315.63
7.0.240.0030.00515.78
7.0.230.0000.01115.34
7.0.220.0100.00315.38
7.0.210.0000.01515.74
7.0.200.0090.00116.18
7.0.190.0000.01215.39
7.0.180.0030.00715.50
7.0.170.0000.01315.62
7.0.160.0130.00015.51
7.0.150.0060.00615.46
7.0.140.0050.04218.83
7.0.130.0030.01315.42
7.0.120.0030.00615.64
7.0.110.0000.01315.71
7.0.100.0000.01415.34
7.0.90.0070.01015.70
7.0.80.0030.01015.43
7.0.70.0060.00615.59
7.0.60.0070.04317.81
7.0.50.0080.04316.63
7.0.40.0030.02816.93
7.0.30.0320.03816.92
7.0.20.0140.04916.88
7.0.10.0180.03216.96
7.0.00.0040.04617.00
5.6.400.0060.00914.01
5.6.390.0060.00714.46
5.6.380.0060.01114.27
5.6.370.0100.00314.58
5.6.360.0040.01114.78
5.6.350.0090.00614.38
5.6.340.0030.00914.31
5.6.330.0070.01014.32
5.6.320.0030.00914.71
5.6.310.0000.01014.50
5.6.300.0000.01414.70
5.6.290.0070.01114.20
5.6.280.0080.04017.70
5.6.270.0040.01114.64
5.6.260.0000.01514.68
5.6.250.0030.01414.59
5.6.240.0030.01414.63
5.6.230.0090.00314.46
5.6.220.0060.00914.18
5.6.210.0070.03017.41
5.6.200.0050.03016.43
5.6.190.0100.04617.51
5.6.180.0170.04017.45
5.6.170.0220.03817.50
5.6.160.0020.05017.33
5.6.150.0070.04316.44
5.6.140.0040.03716.24
5.6.130.0080.03016.33
5.6.120.0090.03517.77
5.6.110.0100.04017.86
5.6.100.0090.04517.86
5.6.90.0150.03017.85
5.6.80.0060.02517.40
5.6.70.0180.03817.57
5.6.60.0040.00814.28
5.6.50.0030.00614.30
5.6.40.0060.00614.30
5.6.30.0000.00914.40
5.6.20.0060.00314.09
5.6.10.0070.00714.32
5.6.00.0030.01314.32
5.5.380.0030.01014.47
5.5.370.0080.00414.38
5.5.360.0030.01214.47
5.5.350.0060.02117.46
5.5.340.0070.02316.20
5.5.330.0050.02717.33
5.5.320.0250.04017.60
5.5.310.0180.04517.40
5.5.300.0020.02916.14
5.5.290.0030.03316.25
5.5.280.0130.03317.63
5.5.270.0100.04217.51
5.5.260.0090.03817.66
5.5.250.0030.04817.50
5.5.240.0070.03417.38
5.5.230.0070.00714.42
5.5.220.0090.00314.27
5.5.210.0040.00414.24
5.5.200.0110.00314.64
5.5.190.0060.00314.18
5.5.180.0110.00414.51
5.5.170.0070.01014.34
5.5.160.0140.00314.50
5.5.150.0070.00714.27
5.5.140.0070.00714.50
5.5.130.0090.00614.61
5.5.120.0060.00914.36
5.5.110.0070.00714.39
5.5.100.0070.00414.31
5.5.90.0070.00714.27
5.5.80.0000.01414.57
5.5.70.0060.00614.68
5.5.60.0070.01114.42
5.5.50.0070.00414.57
5.5.40.0000.01414.22
5.5.30.0090.00314.29
5.5.20.0040.00814.14
5.5.10.0040.01114.52
5.5.00.0000.00814.15
5.4.450.0430.03316.13
5.4.440.0450.02716.14
5.4.430.0330.03816.00
5.4.420.0370.03516.20
5.4.410.0360.03115.95
5.4.400.0120.03416.04
5.4.390.0340.03116.03
5.4.380.0200.02815.69
5.4.370.0260.02715.74
5.4.360.0180.02815.76
5.4.350.0210.02715.65
5.4.340.0180.02815.64
5.4.330.0030.01212.79
5.4.320.0070.02112.62
5.4.310.0060.02612.62
5.4.300.0040.02212.62
5.4.290.0080.02012.62
5.4.280.0040.02412.57
5.4.270.0050.02212.57
5.4.260.0020.02612.57
5.4.250.0020.02512.57
5.4.240.0060.01812.57
5.4.230.0020.02612.56
5.4.220.0070.01712.56
5.4.210.0050.02112.56
5.4.200.0080.02012.56
5.4.190.0020.02212.56
5.4.180.0050.02412.56
5.4.170.0080.03712.57
5.4.160.0090.02012.56
5.4.150.0070.02012.56
5.4.140.0090.02012.40
5.4.130.0070.03312.40
5.4.120.0070.02012.38
5.4.110.0060.02212.38
5.4.100.0080.02212.38
5.4.90.0060.02412.38
5.4.80.0060.02112.38
5.4.70.0060.02112.38
5.4.60.0040.02212.37
5.4.50.0070.01912.38
5.4.40.0060.02312.37
5.4.30.0040.02312.37
5.4.20.0030.03012.37
5.4.10.0050.02212.37
5.4.00.0020.02612.11
5.3.290.0070.02712.79
5.3.280.0080.02212.75
5.3.270.0060.03012.76
5.3.260.0040.03012.75
5.3.250.0080.03012.75
5.3.240.0070.04112.76
5.3.230.0110.02812.75
5.3.220.0040.03412.74
5.3.210.0070.02212.73
5.3.200.0040.03312.73
5.3.190.0040.02312.73
5.3.180.0070.02712.73
5.3.170.0040.02812.73
5.3.160.0050.02412.73
5.3.150.0090.02112.73
5.3.140.0050.03012.72
5.3.130.0070.03112.72
5.3.120.0060.03212.72
5.3.110.0050.03412.72
5.3.100.0050.03212.45
5.3.90.0070.03212.44
5.3.80.0070.02912.43
5.3.70.0060.02812.43
5.3.60.0090.03312.43
5.3.50.0090.02912.39
5.3.40.0100.03612.40
5.3.30.0070.02512.37
5.3.20.0090.03212.26
5.3.10.0040.03312.25
5.3.00.0100.03212.24
5.2.170.0110.0669.19
5.2.160.0080.0499.19
5.2.150.0090.0359.19
5.2.140.0070.0419.19
5.2.130.0050.0419.14
5.2.120.0030.0439.14
5.2.110.0080.0389.15
5.2.100.0100.0369.15
5.2.90.0100.0349.14
5.2.80.0070.0319.14
5.2.70.0070.0319.14
5.2.60.0050.0329.09
5.2.50.0040.0339.07
5.2.40.0040.0319.04
5.2.30.0020.0359.02
5.2.20.0060.0319.01
5.2.10.0050.0308.93
5.2.00.0160.0528.79
5.1.60.0030.0268.07
5.1.50.0050.0338.07
5.1.40.0060.0278.04
5.1.30.0130.0538.40
5.1.20.0110.0498.42
5.1.10.0050.0448.15
5.1.00.0050.0418.14
5.0.50.0070.0306.65
5.0.40.0030.0306.51
5.0.30.0030.0446.32
5.0.20.0080.0256.29
5.0.10.0050.0216.26
5.0.00.0030.0336.26
4.4.90.0020.0174.77
4.4.80.0030.0164.75
4.4.70.0020.0184.75
4.4.60.0040.0154.76
4.4.50.0050.0154.77
4.4.40.0040.0264.71
4.4.30.0000.0194.76
4.4.20.0040.0164.84
4.4.10.0020.0174.85
4.4.00.0050.0244.76
4.3.110.0000.0204.67
4.3.100.0050.0154.66
4.3.90.0060.0154.63
4.3.80.0070.0254.59
4.3.70.0050.0164.63
4.3.60.0050.0354.63
4.3.50.0050.0194.63
4.3.40.0040.0344.54
4.3.30.0060.0203.31
4.3.20.0050.0203.29
4.3.10.0040.0153.25
4.3.00.0000.01310.54

preferences:
37.71 ms | 401 KiB | 5 Q