3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2017-08-07 00:00:00'); // initial date var_dump($date , new DateTime()); $dateInterval = $date->diff(new \DateTime()); // now $hours = ((int)$dateInterval->format('%a') * 24) + (int)$dateInterval->format('%h'); printf('%s:%s:%s' , $hours , $dateInterval->format('%I'), $dateInterval->format('%S'));

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.0180.00318.41
8.3.50.0180.00018.38
8.3.40.0070.00718.79
8.3.30.0030.01018.84
8.3.20.0040.00420.20
8.3.10.0040.00420.91
8.3.00.0030.00620.83
8.2.180.0040.01816.75
8.2.170.0120.00322.96
8.2.160.0140.00021.95
8.2.150.0000.00824.18
8.2.140.0040.00424.66
8.2.130.0080.00021.12
8.2.120.0040.00426.35
8.2.110.0060.00619.24
8.2.100.0090.00317.97
8.2.90.0040.00419.29
8.2.80.0030.00518.03
8.2.70.0030.00617.75
8.2.60.0030.00917.93
8.2.50.0040.00418.10
8.2.40.0050.00322.31
8.2.30.0000.00819.46
8.2.20.0000.00718.22
8.2.10.0000.00818.15
8.2.00.0040.00418.06
8.1.280.0130.00325.92
8.1.270.0120.00323.97
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0150.00023.98
8.1.230.0040.00817.82
8.1.220.0040.00417.76
8.1.210.0000.00818.77
8.1.200.0030.00617.50
8.1.190.0040.00417.48
8.1.180.0040.00418.10
8.1.170.0000.00818.78
8.1.160.0000.00719.16
8.1.150.0040.00418.97
8.1.140.0000.00719.48
8.1.130.0040.00418.91
8.1.120.0000.00717.67
8.1.110.0070.00017.64
8.1.100.0000.00817.64
8.1.90.0070.00017.67
8.1.80.0070.00017.68
8.1.70.0070.00317.74
8.1.60.0060.00317.75
8.1.50.0020.00517.70
8.1.40.0030.00617.50
8.1.30.0000.00917.79
8.1.20.0030.00617.64
8.1.10.0040.00417.78
8.1.00.0030.00517.75
8.0.300.0040.00418.77
8.0.290.0000.00816.75
8.0.280.0040.00418.54
8.0.270.0000.00717.32
8.0.260.0000.00618.92
8.0.250.0070.00017.09
8.0.240.0040.00417.10
8.0.230.0030.00317.05
8.0.220.0000.00717.10
8.0.210.0080.00017.07
8.0.200.0000.00717.11
8.0.190.0040.00417.09
8.0.180.0060.00317.12
8.0.170.0000.00717.14
8.0.160.0030.00517.10
8.0.150.0000.00716.99
8.0.140.0060.00316.92
8.0.130.0060.00013.47
8.0.120.0030.00516.98
8.0.110.0040.00417.06
8.0.100.0000.00717.09
8.0.90.0040.00417.08
8.0.80.0060.00917.07
8.0.70.0040.00417.07
8.0.60.0070.00317.00
8.0.50.0000.00817.13
8.0.30.0140.00617.48
8.0.20.0170.00517.41
8.0.10.0040.00417.25
8.0.00.0030.01616.94
7.4.330.0030.00315.55
7.4.320.0000.00716.73
7.4.300.0000.00716.66
7.4.290.0000.00816.77
7.4.280.0000.00816.71
7.4.270.0000.00716.67
7.4.260.0030.00616.58
7.4.250.0000.00716.69
7.4.240.0040.00416.60
7.4.230.0000.00716.88
7.4.220.0130.00616.63
7.4.210.0100.01016.87
7.4.200.0000.00816.50
7.4.160.0090.00916.77
7.4.150.0080.01117.40
7.4.140.0150.00617.86
7.4.130.0170.00316.77
7.4.120.0110.01116.75
7.4.110.0070.01016.61
7.4.100.0190.00916.90
7.4.90.0090.00916.56
7.4.80.0030.01519.39
7.4.70.0080.00916.67
7.4.60.0100.01316.58
7.4.50.0080.00816.33
7.4.40.0060.01016.66
7.4.30.0130.00416.40
7.4.00.0090.00915.05
7.3.330.0000.00513.14
7.3.320.0030.00313.20
7.3.310.0050.00316.19
7.3.300.0070.00016.38
7.3.290.0050.01016.34
7.3.280.0090.00916.40
7.3.270.0130.00717.40
7.3.260.0070.01216.60
7.3.250.0090.01016.38
7.3.240.0100.00816.58
7.3.230.0110.00916.77
7.3.210.0140.00316.70
7.3.200.0060.01216.52
7.3.190.0130.00316.47
7.3.180.0080.00816.42
7.3.170.0090.01216.41
7.3.160.0090.01516.41
7.2.330.0140.00416.68
7.2.320.0070.01316.76
7.2.310.0170.00716.75
7.2.300.0060.01216.68
7.2.290.0080.00916.66
7.2.60.0110.00416.74
7.1.200.0030.00915.94
7.1.80.0100.00718.06
7.1.70.0080.00817.19
7.1.60.0270.01335.12
7.1.50.0250.01134.88
7.1.40.0250.02034.54
7.1.30.0220.02034.47
7.1.20.0180.01434.67
7.1.10.0100.00716.66
7.1.00.0120.00617.06
7.0.200.0060.00916.69
7.0.190.0100.00916.70
7.0.180.0100.01116.27
7.0.170.0040.01516.44
7.0.160.0050.01216.19
7.0.150.0110.00716.36
7.0.140.0090.00816.34
7.0.130.0090.00916.56
7.0.120.0060.00916.58
7.0.110.0060.01316.47
7.0.100.0030.01516.45
7.0.90.0100.02216.47
7.0.80.0100.00716.27
7.0.70.0070.01116.34
7.0.60.0030.01016.14
7.0.50.0040.01416.64
7.0.40.0060.00816.50
7.0.30.0030.01216.66
7.0.20.0060.00916.66
7.0.10.0030.01216.29
7.0.00.0110.00316.34

preferences:
60.54 ms | 401 KiB | 5 Q