3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time1=date('H:i:s',strtotime('now')); $time2= date('H:i:s',strtotime('now')); $timeform= new DateTime($time2); $newtime2= $timeform->format('H:i:s'); echo $total=$time1+$newtime2;

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.0110.01116.88
8.3.50.0100.00822.03
8.3.40.0120.00318.92
8.3.30.0070.00719.17
8.3.20.0000.00820.33
8.3.10.0040.00423.53
8.3.00.0100.00619.50
8.2.180.0070.01118.51
8.2.170.0100.01022.96
8.2.160.0100.00320.43
8.2.150.0040.00424.18
8.2.140.0030.01024.66
8.2.130.0000.00726.16
8.2.120.0040.00422.13
8.2.110.0100.00722.25
8.2.100.0040.00817.97
8.2.90.0000.00819.20
8.2.80.0000.00817.97
8.2.70.0030.00617.75
8.2.60.0040.00417.93
8.2.50.0040.00418.07
8.2.40.0030.00619.92
8.2.30.0000.00818.15
8.2.20.0070.00017.85
8.2.10.0030.00517.92
8.2.00.0030.00517.87
8.1.280.0070.00725.92
8.1.270.0050.00323.83
8.1.260.0030.00526.35
8.1.250.0060.00328.09
8.1.240.0040.00423.81
8.1.230.0040.00717.45
8.1.220.0040.00417.74
8.1.210.0070.00318.77
8.1.200.0040.00417.47
8.1.190.0000.00817.48
8.1.180.0000.01018.10
8.1.170.0030.00518.52
8.1.160.0070.00021.95
8.1.150.0080.00018.76
8.1.140.0040.00417.48
8.1.130.0000.00717.89
8.1.120.0000.00717.58
8.1.110.0040.00417.55
8.1.100.0040.00417.55
8.1.90.0000.00817.53
8.1.80.0020.00517.52
8.1.70.0040.00417.46
8.1.60.0060.00317.66
8.1.50.0000.00817.56
8.1.40.0050.00217.63
8.1.30.0040.00417.62
8.1.20.0000.00717.73
8.1.10.0040.00417.59
8.1.00.0040.00417.67
8.0.300.0050.00218.77
8.0.290.0040.00417.00
8.0.280.0040.00418.42
8.0.270.0000.00717.34
8.0.260.0060.00017.31
8.0.250.0030.00517.12
8.0.240.0070.00017.18
8.0.230.0030.00317.10
8.0.220.0070.00017.11
8.0.210.0030.00316.99
8.0.200.0030.00517.16
8.0.190.0070.00317.04
8.0.180.0040.00417.17
8.0.170.0050.00216.95
8.0.160.0050.00317.02
8.0.150.0040.00417.07
8.0.140.0070.00017.06
8.0.130.0000.00613.39
8.0.120.0000.00817.02
8.0.110.0020.00517.07
8.0.100.0040.00417.05
8.0.90.0070.00017.04
8.0.80.0140.00416.97
8.0.70.0000.01017.08
8.0.60.0050.00317.08
8.0.50.0070.00017.09
8.0.30.0140.00517.24
8.0.20.0100.00717.40
8.0.10.0040.00417.17
8.0.00.0160.00616.99
7.4.330.0020.00215.04
7.4.320.0030.00316.47
7.4.300.0030.00316.68
7.4.290.0030.00316.66
7.4.280.0030.00316.69
7.4.270.0000.00816.50
7.4.260.0030.00316.54
7.4.250.0060.00316.71
7.4.240.0020.00516.56
7.4.230.0030.00316.71
7.4.220.0130.00516.54
7.4.210.0080.00816.62
7.4.200.0040.00416.77
7.4.190.0000.00716.75
7.4.160.0150.00816.46
7.4.150.0100.00717.40
7.4.140.0110.00717.86
7.4.130.0110.00916.66
7.4.120.0120.00516.60
7.4.110.0130.00316.80
7.4.100.0100.00716.48
7.4.90.0070.01116.67
7.4.80.0080.01319.39
7.4.70.0100.00716.46
7.4.60.0080.00816.44
7.4.50.0060.00316.31
7.4.40.0130.01016.86
7.4.30.0090.00716.64
7.4.00.0130.00315.17
7.3.330.0030.00313.19
7.3.320.0000.00513.12
7.3.310.0020.00516.23
7.3.300.0030.00316.38
7.3.290.0090.00916.39
7.3.280.0080.00816.34
7.3.270.0100.00717.40
7.3.260.0070.01116.56
7.3.250.0140.00716.60
7.3.240.0060.01016.45
7.3.230.0030.01316.50
7.3.210.0090.01516.55
7.3.200.0170.00019.39
7.3.190.0110.01116.79
7.3.180.0030.01516.48
7.3.170.0130.00716.51
7.3.160.0130.00316.79
7.3.120.0120.00014.78
7.2.330.0080.01116.80
7.2.320.0110.00817.00
7.2.310.0060.01516.82
7.2.300.0030.01316.79
7.2.290.0110.00616.93
7.2.60.0040.00816.64
7.2.00.0060.00619.58
7.1.200.0030.00715.96
7.1.100.0000.01118.02
7.1.70.0040.00417.34
7.1.60.0060.01919.46
7.1.50.0130.02035.00
7.1.00.0000.08022.37
7.0.200.0040.00416.80
7.0.140.0100.06722.15
7.0.100.0030.04719.93
7.0.90.0030.09019.96
7.0.80.0100.08319.91
7.0.70.0030.07019.89
7.0.60.0070.08319.78
7.0.50.0100.08320.29
7.0.40.0170.06320.04
7.0.30.0100.08720.01
7.0.20.0030.08720.14
7.0.10.0070.08720.04
7.0.00.0030.04720.03
5.6.280.0000.07721.13
5.6.250.0130.07720.66
5.6.240.0170.07720.69
5.6.230.0100.05320.62
5.6.220.0100.06320.55
5.6.210.0100.04720.66
5.6.200.0070.06721.09
5.6.190.0030.04721.02
5.6.180.0030.07721.02
5.6.170.0130.05721.10
5.6.160.0170.07021.03
5.6.150.0030.05021.02
5.6.140.0100.07721.08
5.6.130.0000.07021.11
5.6.120.0200.05321.07
5.6.110.0130.07720.98
5.6.100.0100.07721.09
5.6.90.0130.08320.99
5.6.80.0100.07320.55
5.6.70.0130.03720.38
5.6.60.0070.07720.43
5.6.50.0030.05020.39
5.6.40.0170.07020.44
5.6.30.0100.07320.43
5.6.20.0170.03320.36
5.6.10.0000.05020.40
5.6.00.0000.08720.50
5.5.380.0070.08320.46
5.5.370.0030.04720.50
5.5.360.0100.07720.41
5.5.350.0100.04320.40
5.5.340.0100.08020.64
5.5.330.0100.07320.86
5.5.320.0070.07720.76
5.5.310.0170.08020.79
5.5.300.0070.06320.90
5.5.290.0070.08320.63
5.5.280.0100.07320.90
5.5.270.0030.09020.89
5.5.260.0130.07720.86
5.5.250.0030.08720.67
5.5.240.0100.07320.02
5.5.230.0100.07320.30
5.5.220.0100.07720.16
5.5.210.0070.09020.29
5.5.200.0070.06720.18
5.5.190.0070.05320.10
5.5.180.0070.07720.27
5.5.160.0170.05320.18
5.5.150.0100.05020.27
5.5.140.0030.04020.07
5.5.130.0100.07720.12
5.5.120.0000.06019.98
5.5.110.0100.03320.23
5.5.100.0100.07020.11
5.5.90.0100.05720.12
5.5.80.0100.04020.14
5.5.70.0070.07720.03
5.5.60.0100.08020.05
5.5.50.0070.09320.14
5.5.40.0070.04320.08
5.5.30.0130.07020.05
5.5.20.0070.06720.05
5.5.10.0100.08020.05
5.5.00.0170.06320.03
5.4.450.0030.04719.56
5.4.440.0070.06019.13
5.4.430.0170.05719.46
5.4.420.0170.07319.13
5.4.410.0030.07318.98
5.4.400.0030.04019.12
5.4.390.0030.04318.96
5.4.380.0100.06018.81
5.4.370.0070.07319.23
5.4.360.0030.08018.91
5.4.350.0170.06719.14
5.4.340.0130.07319.23
5.4.320.0130.07019.04
5.4.310.0070.08019.06
5.4.300.0170.06318.80
5.4.290.0100.07019.09
5.4.280.0070.07719.06
5.4.270.0170.06718.79
5.4.260.0100.07019.09
5.4.250.0030.07718.89
5.4.240.0000.04318.80
5.4.230.0070.07018.89
5.4.220.0030.04718.89
5.4.210.0130.05019.07
5.4.200.0100.06719.05
5.4.190.0030.04719.05
5.4.180.0100.04019.03
5.4.170.0100.05719.03
5.4.160.0030.08019.10
5.4.150.0070.06318.88
5.4.140.0070.07716.43
5.4.130.0030.06716.32
5.4.120.0100.04016.43
5.4.110.0100.06716.46
5.4.100.0000.07316.46
5.4.90.0070.07316.45
5.4.80.0030.07716.36
5.4.70.0100.07016.27
5.4.60.0100.06716.18
5.4.50.0130.07016.30
5.4.40.0030.04016.36
5.4.30.0170.06316.28
5.4.20.0000.04316.28
5.4.10.0070.07716.27
5.4.00.0170.05315.82
5.3.290.0000.05014.61
5.3.280.0070.07714.57
5.3.270.0000.08314.46
5.3.260.0030.06714.46
5.3.250.0030.05014.52
5.3.240.0030.04314.59
5.3.230.0100.04714.59
5.3.220.0100.07014.55
5.3.210.0100.07014.53
5.3.200.0030.07714.52
5.3.190.0000.08314.50
5.3.180.0170.04314.52
5.3.170.0100.05314.57
5.3.160.0100.04314.42
5.3.150.0070.03314.54
5.3.140.0130.05314.50
5.3.130.0000.08314.48
5.3.120.0100.05714.55
5.3.110.0100.05714.46
5.3.100.0070.08013.89
5.3.90.0070.06714.00
5.3.80.0030.04313.92
5.3.70.0100.07013.98
5.3.60.0030.07713.99
5.3.50.0170.06313.90
5.3.40.0100.06013.80
5.3.30.0100.06313.87
5.3.20.0100.04313.66
5.3.10.0070.07313.66
5.3.00.0100.07013.57
5.2.170.0130.05710.93
5.2.160.0100.04311.15
5.2.150.0000.04311.19
5.2.140.0030.06310.97
5.2.130.0070.05711.14
5.2.120.0030.06310.95
5.2.110.0100.05010.93
5.2.100.0070.03010.89
5.2.90.0130.04311.09
5.2.80.0030.03010.89
5.2.70.0030.03310.88
5.2.60.0000.03710.91
5.2.50.0100.04311.06
5.2.40.0070.05310.95
5.2.30.0070.05710.93
5.2.20.0030.05010.95
5.2.10.0000.05710.93
5.2.00.0070.05710.61
5.1.60.0070.0239.98
5.1.50.0030.05710.05
5.1.40.0030.0439.97
5.1.30.0000.05010.37
5.1.20.0000.06010.38
5.1.10.0000.0279.91
5.1.00.0000.04310.13
5.0.50.0100.0378.39
5.0.40.0070.0308.39
5.0.30.0000.0508.17
5.0.20.0030.0438.26
5.0.10.0000.0408.23
5.0.00.0070.0638.17
4.4.90.0000.0208.17
4.4.80.0000.0338.17
4.4.70.0000.0338.17
4.4.60.0030.0238.17
4.4.50.0030.0178.17
4.4.40.0000.0308.17
4.4.30.0030.0338.17
4.4.20.0030.0238.17
4.4.10.0000.0408.17
4.4.00.0000.0608.17
4.3.110.0000.0338.17
4.3.100.0030.0338.17
4.3.90.0030.0338.17
4.3.80.0000.0378.17
4.3.70.0100.0208.17
4.3.60.0070.0308.17
4.3.50.0030.0278.17
4.3.40.0030.0438.17
4.3.30.0070.0308.17
4.3.20.0070.0338.17
4.3.10.0000.0338.17
4.3.00.0000.0278.17

preferences:
50.26 ms | 401 KiB | 5 Q