3v4l.org

run code in 300+ PHP versions simultaneously
<?php $act = new DateTime('2016-04-01 23:00:00'); $prev = null; $finish = new DateTime('2016-03-27 01:00:00'); while ($act > $finish) { $prev = clone $act; $act->sub(new DateInterval('PT1H')); $passed = assert($prev != $act); if (!$passed) { break; } } var_dump( $act );

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.1.130.0000.00817.70
8.1.120.0040.00417.68
8.1.110.0000.00917.54
8.1.100.0000.00717.57
8.1.90.0050.00317.72
8.1.80.0000.00717.66
8.1.70.0000.00717.68
8.1.60.0040.00417.63
8.1.50.0040.00417.63
8.1.40.0080.00017.62
8.1.30.0080.00017.68
8.1.20.0040.00417.78
8.1.10.0040.00417.61
8.1.00.0000.00817.61
8.0.260.0000.00717.00
8.0.250.0080.00017.10
8.0.240.0000.00817.15
8.0.230.0030.00317.08
8.0.220.0040.00417.17
8.0.210.0000.00717.17
8.0.200.0070.00017.20
8.0.190.0060.00317.21
8.0.180.0030.00517.17
8.0.170.0000.00717.09
8.0.160.0100.00017.02
8.0.150.0000.00717.03
8.0.140.0060.00317.01
8.0.130.0030.00313.49
8.0.120.0000.00817.08
8.0.110.0030.00517.16
8.0.100.0050.00217.05
8.0.90.0060.00317.15
8.0.80.0090.00617.13
8.0.70.0000.00717.03
8.0.60.0040.00417.17
8.0.50.0040.00416.98
8.0.30.0080.01017.27
8.0.20.0110.01317.40
8.0.10.0040.00417.15
8.0.00.0130.00616.91
7.4.330.0060.00015.21
7.4.320.0030.00316.75
7.4.300.0000.00616.73
7.4.290.0040.00416.62
7.4.280.0040.00416.55
7.4.270.0030.00316.58
7.4.260.0040.00416.54
7.4.250.0040.00416.60
7.4.240.0030.00316.71
7.4.230.0030.00316.53
7.4.220.0160.00316.68
7.4.210.0070.01316.75
7.4.200.0040.00416.53
7.4.160.0090.00716.76
7.4.150.0040.01517.40
7.4.140.0060.01517.86
7.4.130.0120.00516.81
7.4.120.0090.00816.89
7.4.110.0120.00616.52
7.4.100.0110.00616.65
7.4.90.0080.00816.56
7.4.80.0070.01019.39
7.4.70.0090.00916.87
7.4.60.0130.00316.62
7.4.50.0050.00516.57
7.4.40.0040.01316.62
7.4.30.0030.01316.74
7.4.00.0060.00914.95
7.3.330.0000.00513.39
7.3.320.0000.00613.39
7.3.310.0070.00016.41
7.3.300.0000.00816.36
7.3.290.0030.00316.40
7.3.280.0100.00816.52
7.3.270.0140.00417.40
7.3.260.0150.00316.63
7.3.250.0110.00916.49
7.3.240.0080.01316.57
7.3.230.0000.01816.54
7.3.210.0060.01216.71
7.3.200.0120.00316.56
7.3.190.0060.01016.61
7.3.180.0110.00716.68
7.3.170.0060.01016.54
7.3.160.0030.01816.46
7.2.330.0120.00516.89
7.2.320.0110.00616.95
7.2.310.0110.00616.64
7.2.300.0170.01016.64
7.2.290.0060.01516.67
7.2.60.0060.00616.98
7.2.00.0000.01519.29
7.1.200.0100.00315.86
7.1.100.0260.00317.54
7.1.70.0000.00817.52
7.1.60.0070.00317.05
7.1.50.0060.00616.79
7.1.40.0040.00816.65
7.1.30.0000.01116.88
7.1.20.0070.00716.96
7.1.10.0000.01016.93
7.1.00.0040.00416.83
7.0.200.0030.00316.86
7.0.190.0000.00816.78
7.0.180.0000.00716.70
7.0.170.0040.00416.59
7.0.160.0020.00516.55
7.0.150.0000.00916.61
7.0.140.0000.00816.46
7.0.130.0000.00816.80
7.0.120.0040.00416.55
7.0.110.0050.00316.59
7.0.100.0040.00816.70
7.0.90.0030.00516.57
7.0.80.0040.00416.49
7.0.70.0020.00516.39
7.0.60.0000.00916.10
7.0.50.0070.00016.36
7.0.40.0000.00715.37
7.0.30.0000.01015.37
7.0.20.0080.00015.37
7.0.10.0000.01715.37
7.0.00.0060.00915.37
5.6.300.0070.03620.79
5.6.290.0070.03720.78
5.6.280.0030.04121.07
5.6.270.0000.04421.06
5.6.260.0030.04020.91
5.6.250.0000.04420.96
5.6.240.0030.04120.87
5.6.230.0030.04320.80
5.6.220.0070.03820.94
5.6.210.0070.03921.07
5.6.200.0000.04521.03
5.6.190.0030.04520.83
5.6.180.0070.03920.97
5.6.170.0130.03021.03
5.6.160.0100.07320.94
5.6.150.0030.04220.74
5.6.140.0030.07321.02
5.6.130.0000.04420.83
5.6.120.0070.04521.05
5.6.110.0070.03720.98
5.6.100.0000.04720.73
5.6.90.0030.04220.80
5.6.80.0030.04120.41
5.6.70.0070.03620.36
5.6.60.0030.04520.22
5.6.50.0070.03720.36
5.6.40.0130.06820.10
5.6.30.0140.03420.18
5.6.20.0030.03920.10
5.6.10.0070.07120.22
5.6.00.0070.08120.25
5.5.380.0000.04317.44
5.5.370.0030.04317.51
5.5.360.0100.04417.58
5.5.350.0030.03817.53
5.5.340.0030.03918.02
5.5.330.0070.04418.07
5.5.320.0030.04218.12
5.5.310.0030.03817.96
5.5.300.0030.04517.95
5.5.290.0070.07617.97
5.5.280.0030.04417.99
5.5.270.0000.04317.99
5.5.260.0030.04718.01
5.5.250.0000.04317.83
5.5.240.0060.03517.22
5.5.230.0030.04017.41
5.5.220.0060.03517.31
5.5.210.0070.04217.32
5.5.200.0000.08517.29
5.5.190.0070.04017.19
5.5.180.0030.03817.21
5.5.160.0060.04817.05
5.5.150.0000.06017.28
5.5.140.0070.07117.29
5.5.130.0100.06417.38
5.5.120.0060.03517.31
5.5.110.0070.04117.29
5.5.100.0030.04217.29
5.5.90.0110.03917.31
5.5.80.0030.03717.09
5.5.70.0070.03417.36
5.5.60.0060.03917.30
5.5.50.0030.03717.24
5.5.40.0000.04217.29
5.5.30.0030.03717.27
5.5.20.0030.03817.26
5.5.10.0060.04517.21
5.5.00.0030.04317.17
5.4.450.0060.05719.35
5.4.440.0030.04819.50
5.4.430.0030.04119.30
5.4.420.0000.04319.34
5.4.410.0030.04119.08
5.4.400.0030.03719.07
5.4.390.0000.04319.04
5.4.380.0060.03518.98
5.4.370.0030.07519.07
5.4.360.0070.06618.86
5.4.350.0000.04018.88
5.4.340.0030.04518.98
5.4.320.0030.05619.05
5.4.310.0030.08219.08
5.4.300.0100.06919.04
5.4.290.0140.03519.09
5.4.280.0130.03518.99
5.4.270.0000.04419.02
5.4.260.0000.04219.13
5.4.250.0030.03919.13
5.4.240.0130.02719.06
5.4.230.0000.04018.90
5.4.220.0070.03919.08
5.4.210.0000.04019.13
5.4.200.0000.04218.85
5.4.190.0000.04719.04
5.4.180.0070.05418.97
5.4.170.0000.04419.06
5.4.160.0040.03919.04
5.4.150.0060.04119.05
5.4.140.0000.04416.54
5.4.130.0030.04216.44
5.4.120.0000.06416.44
5.4.110.0130.06816.62
5.4.100.0070.03516.68
5.4.90.0000.03916.69
5.4.80.0070.03716.39
5.4.70.0000.03816.69
5.4.60.0070.04016.61
5.4.50.0030.03816.50
5.4.40.0130.05816.60
5.4.30.0070.03316.55
5.4.20.0000.03916.58
5.4.10.0030.04716.64
5.4.00.0070.03316.05
5.3.290.0030.07015.37
5.3.280.0000.04215.37
5.3.270.0030.06315.37
5.3.260.0060.03515.37
5.3.250.0090.03115.37
5.3.240.0030.06715.37
5.3.230.0000.08015.37
5.3.220.0000.04415.37
5.3.210.0070.07815.37
5.3.200.0000.04515.37
5.3.190.0100.02915.37
5.3.180.0040.03915.37
5.3.170.0000.04015.37
5.3.160.0070.04315.37
5.3.150.0000.04315.37
5.3.140.0000.04815.37
5.3.130.0000.04015.37
5.3.120.0030.03715.37
5.3.110.0000.04515.37
5.3.100.0100.03415.37
5.3.90.0030.03515.37
5.3.80.0000.04615.37
5.3.70.0000.03715.37
5.3.60.0130.02615.37
5.3.50.0000.03815.37
5.3.40.0000.04015.37
5.3.30.0030.04015.37
5.3.20.0000.03915.37
5.3.10.0060.02915.37
5.3.00.0000.04215.37
5.2.170.0060.02615.37
5.2.160.0030.03115.37
5.2.150.0000.03315.37
5.2.140.0030.03115.37
5.2.130.0030.02915.37
5.2.120.0030.02615.37
5.2.110.0000.03015.37
5.2.100.0000.03015.37
5.2.90.0070.02315.37
5.2.80.0030.02715.37
5.2.70.0000.03115.37
5.2.60.0030.03015.37
5.2.50.0030.02715.37
5.2.40.0030.02615.37
5.2.30.0030.03015.37
5.2.20.0000.03315.37
5.2.10.0030.02915.37
5.2.00.0000.03115.37
5.1.60.0000.03015.37
5.1.50.0070.02015.37
5.1.40.0030.02315.37
5.1.30.0100.01715.37
5.1.20.0000.02715.37
5.1.10.0030.02615.37
5.1.00.0000.02815.37
5.0.50.0090.01215.37
5.0.40.0000.02215.37
5.0.30.0000.03215.37
5.0.20.0000.02315.37
5.0.10.0030.01715.37
5.0.00.0000.03115.37
4.4.90.0030.01315.37
4.4.80.0000.01615.37
4.4.70.0000.01615.37
4.4.60.0000.01615.37
4.4.50.0000.01615.37
4.4.40.0060.01915.37
4.4.30.0000.01715.37
4.4.20.0000.01615.37
4.4.10.0030.01315.37
4.4.00.0000.02515.37
4.3.110.0000.01615.37
4.3.100.0000.01615.37
4.3.90.0000.01615.37
4.3.80.0000.02515.37
4.3.70.0000.01615.37
4.3.60.0000.01615.37
4.3.50.0030.01315.37
4.3.40.0030.02215.37
4.3.30.0000.02015.37
4.3.20.0060.01615.37
4.3.10.0000.01715.37
4.3.00.0000.01615.37

preferences:
59.61 ms | 406 KiB | 5 Q