3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = new DateTime('2013-02-01'); $end = new DateTime('2013-02-17'); $interval = new DateInterval('P1D'); $period = new DatePeriod($start, $interval, $end); foreach ($period as $dt) { echo $dt->format("l Y-m-d") . PHP_EOL; }

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.4.20.0120.00917.88
8.4.10.0060.00317.64
8.3.150.0110.00717.42
8.3.140.0040.00416.85
8.3.130.0030.00618.41
8.3.120.0030.01220.61
8.3.110.0030.00620.94
8.3.100.0060.01316.48
8.3.90.0000.00818.32
8.3.80.0090.00016.63
8.3.70.0090.00616.63
8.3.60.0090.00918.32
8.3.50.0130.00521.21
8.3.40.0120.00319.04
8.3.30.0100.00720.34
8.3.20.0040.00418.83
8.3.10.0040.00420.89
8.3.00.0030.00522.21
8.2.270.0100.01018.77
8.2.260.0130.00620.35
8.2.250.0080.00018.39
8.2.240.0060.00316.92
8.2.230.0090.00622.58
8.2.220.0000.00824.06
8.2.210.0050.00326.77
8.2.200.0080.00316.50
8.2.190.0120.00316.75
8.2.180.0160.00016.34
8.2.170.0110.00422.96
8.2.160.0140.00020.34
8.2.150.0000.00824.18
8.2.140.0000.00824.66
8.2.130.0080.00026.16
8.2.120.0080.00019.48
8.2.110.0080.00020.56
8.2.100.0060.00617.97
8.2.90.0000.00817.88
8.2.80.0090.00018.89
8.2.70.0060.00317.97
8.2.60.0030.00517.93
8.2.50.0000.01018.07
8.2.40.0030.00618.22
8.2.30.0060.00318.05
8.2.20.0050.00317.78
8.2.10.0030.00517.98
8.2.00.0040.00417.79
8.1.310.0000.00818.81
8.1.300.0040.01218.24
8.1.290.0090.00018.88
8.1.280.0110.00725.92
8.1.270.0040.00421.94
8.1.260.0050.00326.35
8.1.250.0070.00028.09
8.1.240.0090.00022.04
8.1.230.0040.00723.89
8.1.220.0040.00417.79
8.1.210.0000.00818.77
8.1.200.0030.00717.47
8.1.190.0060.00617.35
8.1.180.0000.00918.10
8.1.170.0000.00818.82
8.1.160.0020.00518.85
8.1.150.0040.00418.76
8.1.140.0000.00817.59
8.1.130.0030.00317.73
8.1.120.0070.00017.63
8.1.110.0040.00417.48
8.1.100.0040.00417.60
8.1.90.0070.00017.56
8.1.80.0040.00417.57
8.1.70.0050.00217.55
8.1.60.0000.00917.70
8.1.50.0000.00817.61
8.1.40.0000.00817.52
8.1.30.0000.00717.64
8.1.20.0040.00417.75
8.1.10.0070.00017.59
8.1.00.0050.00317.58
8.0.300.0050.00518.77
8.0.290.0000.00817.00
8.0.280.0070.00018.40
8.0.270.0030.00317.43
8.0.260.0000.00817.32
8.0.250.0070.00017.20
8.0.240.0000.00817.14
8.0.230.0000.00717.16
8.0.220.0000.00717.13
8.0.210.0040.00417.05
8.0.200.0030.00317.10
8.0.190.0060.00317.11
8.0.180.0050.00317.09
8.0.170.0000.00917.12
8.0.160.0030.00417.05
8.0.150.0040.00417.13
8.0.140.0030.00616.97
8.0.130.0060.00013.41
8.0.120.0040.00417.01
8.0.110.0000.00717.00
8.0.100.0040.00416.92
8.0.90.0040.00416.97
8.0.80.0090.00617.09
8.0.70.0000.00817.07
8.0.60.0070.00016.99
8.0.50.0040.00417.00
8.0.30.0100.00917.16
8.0.20.0120.00817.40
8.0.10.0030.00617.24
8.0.00.0060.01216.91
7.4.330.0020.00316.79
7.4.320.0060.00016.55
7.4.300.0000.00616.75
7.4.290.0070.00016.71
7.4.280.0030.00316.73
7.4.270.0070.00016.64
7.4.260.0030.00313.31
7.4.250.0080.00016.69
7.4.240.0030.00516.62
7.4.230.0030.00316.45
7.4.220.0180.00316.63
7.4.210.0100.00616.74
7.4.200.0030.00316.65
7.4.190.0030.00316.80
7.4.160.0060.01016.49
7.4.150.0150.00917.40
7.4.140.0040.01317.86
7.4.130.0100.00716.69
7.4.120.0120.00716.70
7.4.110.0030.01316.50
7.4.100.0130.00316.60
7.4.90.0120.00916.53
7.4.80.0120.00619.39
7.4.70.0070.01116.45
7.4.60.0150.00816.57
7.4.50.0040.00416.44
7.4.40.0060.01022.77
7.4.30.0100.00716.43
7.4.00.0030.01315.14
7.3.330.0020.00213.29
7.3.320.0030.00313.12
7.3.310.0000.00716.47
7.3.300.0000.00716.23
7.3.290.0080.00816.39
7.3.280.0100.00916.43
7.3.270.0110.00817.40
7.3.260.0090.01218.24
7.3.250.0100.00616.45
7.3.240.0030.01816.68
7.3.230.0110.00616.63
7.3.210.0060.01516.51
7.3.200.0160.00619.39
7.3.190.0070.01516.73
7.3.180.0090.00816.65
7.3.170.0180.00616.53
7.3.160.0110.00616.52
7.3.120.0070.01015.14
7.3.110.0110.00715.03
7.3.100.0090.00615.23
7.3.90.0060.00614.68
7.3.80.0030.01315.05
7.3.70.0070.01014.74
7.3.60.0060.01314.95
7.3.50.0120.00414.67
7.3.40.0090.00614.75
7.3.30.0040.01215.00
7.3.20.0030.00616.64
7.3.10.0020.00816.73
7.3.00.0100.00316.84
7.2.330.0090.01216.85
7.2.320.0060.01516.90
7.2.310.0100.00716.84
7.2.300.0130.00316.61
7.2.290.0060.01216.87
7.2.250.0000.02115.39
7.2.240.0040.01815.42
7.2.230.0130.00315.00
7.2.220.0100.00615.30
7.2.210.0030.00915.22
7.2.200.0030.01315.30
7.2.190.0070.01415.39
7.2.180.0100.00715.34
7.2.170.0080.00415.19
7.2.130.0060.00917.03
7.2.120.0070.00316.77
7.2.110.0030.01316.69
7.2.100.0030.00616.65
7.2.90.0110.00316.59
7.2.80.0030.01017.11
7.2.70.1480.01016.02
7.2.60.0700.00816.43
7.2.50.1390.01215.97
7.2.40.1340.01116.08
7.2.30.1190.01016.00
7.2.20.1280.01215.89
7.2.10.0720.00915.94
7.2.00.0350.00517.23
7.1.330.0100.00316.14
7.1.320.0040.00716.17
7.1.310.0000.01015.74
7.1.300.0000.01315.79
7.1.290.0060.01015.75
7.1.280.0040.01215.95
7.1.270.0070.01015.90
7.1.260.0090.00615.80
7.1.250.0060.00615.83
7.1.200.0090.00615.95
7.1.170.2180.01314.14
7.1.160.2140.00714.14
7.1.150.2140.01313.96
7.1.140.1930.00913.98
7.1.130.1460.01013.85
7.1.120.2140.00713.68
7.1.110.0170.00914.05
7.1.100.0550.00916.12
7.1.90.0280.00713.79
7.1.80.1770.01713.64
7.1.70.0080.00815.65
7.1.60.0240.01625.38
7.1.50.0600.01433.21
7.1.40.3560.02231.77
7.1.30.1380.01631.69
7.1.20.1440.00631.64
7.1.10.1330.00813.74
7.1.00.0410.04318.28
7.0.300.2050.00713.40
7.0.290.2290.00613.69
7.0.270.1460.01013.47
7.0.260.0200.00713.56
7.0.250.0330.01113.66
7.0.240.0360.00613.69
7.0.230.0210.00713.74
7.0.220.0160.00713.86
7.0.210.0420.00713.82
7.0.200.0920.00415.46
7.0.190.0840.00713.72
7.0.180.1500.00713.81
7.0.170.1210.01013.43
7.0.160.1340.00713.64
7.0.150.1030.00913.80
7.0.140.0320.04217.83
7.0.130.0850.01513.79
7.0.120.1040.00313.63
7.0.110.0810.01213.54
7.0.100.0760.00913.80
7.0.90.0760.01613.55
7.0.80.0490.00913.63
7.0.70.0790.00813.79
7.0.60.0410.04317.69
7.0.50.0300.02115.84
7.0.40.0240.05116.93
7.0.30.0350.03616.96
7.0.20.0440.03116.92
7.0.10.0330.03116.95
7.0.00.0320.02916.83
5.6.300.0050.00914.15
5.6.290.0160.01114.37
5.6.280.0080.04417.74
5.6.270.0130.01314.40
5.6.260.0160.01014.46
5.6.250.0190.01214.44
5.6.240.0100.01714.52
5.6.230.0120.01914.34
5.6.220.0170.01214.55
5.6.210.0140.04017.43
5.6.200.0150.04616.24
5.6.190.0120.03717.35
5.6.180.0170.02517.52
5.6.170.0210.04117.41
5.6.160.0130.04117.49
5.6.150.0110.02116.22
5.6.140.0090.02716.38
5.6.130.0120.02716.21
5.6.120.0130.02617.70
5.6.110.0110.02317.75
5.6.100.0070.04317.59
5.6.90.0130.04017.77
5.6.80.0120.02517.43
5.6.70.0210.00314.20
5.6.60.0140.00914.59
5.6.50.0150.00814.25
5.6.40.0140.01414.26
5.6.30.0150.01214.18
5.6.20.0150.00314.14
5.6.10.0130.01014.16
5.6.00.0160.00414.16
5.5.380.0190.00611.07
5.5.370.0260.00011.32
5.5.360.0150.01211.30
5.5.350.0110.02015.86
5.5.340.0080.03114.46
5.5.330.0090.04615.71
5.5.320.0240.03115.80
5.5.310.0160.04115.91
5.5.300.0080.02814.60
5.5.290.0050.04614.51
5.5.280.0080.03816.12
5.5.270.0030.05115.98
5.5.260.0120.03516.12
5.5.250.0150.03815.92
5.5.240.0150.04715.68
5.5.230.0120.00811.18
5.5.220.0110.00811.00
5.5.210.0110.00410.88
5.5.200.0090.00911.09
5.5.190.0150.00010.82
5.5.180.0050.00811.18
5.5.160.0120.00910.89
5.5.150.0040.01211.12
5.5.140.0110.00511.01
5.5.130.0110.00711.24
5.5.120.0110.00611.19
5.5.110.0110.01111.02
5.5.100.0040.01411.27
5.5.90.0100.00711.25
5.5.80.0180.00011.28
5.5.70.0160.00311.15
5.5.60.0130.00710.98
5.5.50.0080.01110.93
5.5.40.0070.01110.93
5.5.30.0110.00711.19
5.5.20.0040.01110.85
5.5.10.0090.00911.05
5.5.00.0160.00010.98
5.4.450.0090.03915.07
5.4.440.0120.02015.23
5.4.430.0100.02415.07
5.4.420.0050.04215.07
5.4.410.0080.02715.24
5.4.400.0070.03115.21
5.4.390.0060.02615.03
5.4.380.0120.02315.10
5.4.370.0090.04114.94
5.4.360.0080.04214.93
5.4.350.0090.04015.02
5.4.340.0060.04114.89
5.4.320.0070.03015.00
5.4.310.0100.04315.10
5.4.300.0090.02615.22
5.4.290.0090.03915.20
5.4.280.0040.02615.21
5.4.270.0120.02215.10
5.4.260.0020.02614.89
5.4.250.0060.02615.09
5.4.240.0080.02215.07
5.4.230.0090.02014.97
5.4.220.0040.02814.95
5.4.210.0100.01815.05
5.4.200.0080.02015.03
5.4.190.0110.01915.13
5.4.180.0070.02215.21
5.4.170.0060.02314.98
5.4.160.0090.01914.95
5.4.150.0040.02814.94
5.4.140.0080.02113.70
5.4.130.0120.01813.63
5.4.120.0160.01213.67
5.4.110.0080.02013.69
5.4.100.0080.02213.68
5.4.90.0040.02113.60
5.4.80.0060.02113.69
5.4.70.0090.02113.74
5.4.60.0020.02513.77
5.4.50.0070.02213.66
5.4.40.0060.02013.78
5.4.30.0050.02213.76
5.4.20.0090.02213.52
5.4.10.0110.01713.71
5.4.00.0050.03313.49
5.3.290.0020.03412.52
5.3.280.0080.02112.57
5.3.270.0060.02312.62
5.3.260.0040.02412.49
5.3.250.0070.02112.64
5.3.240.0060.02112.47
5.3.230.0050.02312.58
5.3.220.0030.02512.45
5.3.210.0050.02412.51
5.3.200.0080.02012.44
5.3.190.0080.02012.44
5.3.180.0080.02512.59
5.3.170.0090.01812.61
5.3.160.0060.02112.58
5.3.150.0040.02412.55
5.3.140.0100.01812.48
5.3.130.0050.02412.43
5.3.120.0100.02312.57
5.3.110.0130.01812.53
5.3.100.0080.02412.25
5.3.90.0070.02412.18
5.3.80.0100.02512.17
5.3.70.0020.02912.17
5.3.60.0060.02812.28
5.3.50.0090.02112.22
5.3.40.0110.02212.20
5.3.30.0080.02112.15
5.3.20.0100.02312.15
5.3.10.0080.02411.98
5.3.00.0100.03711.98
5.2.170.0030.02210.41
5.2.160.0070.01710.41
5.2.150.0060.02310.42
5.2.140.0050.03610.36
5.2.130.0050.01810.25
5.2.120.0070.02710.18
5.2.110.0050.03510.25
5.2.100.0090.02710.38
5.2.90.0090.02710.20
5.2.80.0080.02110.23
5.2.70.0030.02510.22
5.2.60.0090.01810.22
5.2.50.0060.03010.28
5.2.40.0070.01610.15
5.2.30.0090.01510.20
5.2.20.0050.01710.03
5.2.10.0050.02510.01
5.2.00.0030.0289.91
5.1.60.0040.0189.41
5.1.50.0080.0289.50
5.1.40.0040.0209.45
5.1.30.0070.0259.53
5.1.20.0080.0139.60
5.1.10.0080.0189.47
5.1.00.0020.0189.46
5.0.50.0050.0258.73
5.0.40.0060.0148.63
5.0.30.0050.0198.53
5.0.20.0070.0128.51
5.0.10.0030.0188.51
5.0.00.0070.0328.58
4.4.90.0020.0158.16
4.4.80.0030.0208.16
4.4.70.0050.0098.16
4.4.60.0080.0088.16
4.4.50.0040.0128.16
4.4.40.0050.0208.16
4.4.30.0060.0108.16
4.4.20.0000.0138.16
4.4.10.0060.0168.16
4.4.00.0070.0258.16
4.3.110.0030.0188.16
4.3.100.0070.0148.16
4.3.90.0040.0108.16
4.3.80.0030.0218.16
4.3.70.0030.0138.16
4.3.60.0040.0188.16
4.3.50.0100.0138.16
4.3.40.0030.0288.16
4.3.30.0020.0158.16
4.3.20.0040.0188.16
4.3.10.0020.0178.16
4.3.00.0020.0148.16

preferences:
32.22 ms | 403 KiB | 5 Q