3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = new DateTime; for ($w = 52; $w <= 54; $w++) { $dt->setISODate(2013, $w); print_r($dt); echo $dt->format('Y W') . "\n\n"; }

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.0080.00017.84
8.4.10.0060.00319.75
8.3.140.0140.00416.66
8.3.130.0080.00018.59
8.3.120.0120.00818.97
8.3.110.0060.00320.94
8.3.100.0050.00516.45
8.3.90.0050.00316.87
8.3.80.0030.00719.36
8.3.70.0110.00418.43
8.3.60.0100.01016.63
8.3.50.0110.01017.35
8.3.40.0120.00318.66
8.3.30.0040.01418.64
8.3.20.0040.00418.91
8.3.10.0050.00320.61
8.3.00.0060.00317.63
8.2.260.0110.00320.01
8.2.250.0000.00816.61
8.2.240.0060.00318.88
8.2.230.0040.00422.58
8.2.220.0040.00424.06
8.2.210.0080.00026.77
8.2.200.0070.00316.50
8.2.190.0110.00416.63
8.2.180.0040.01116.50
8.2.170.0120.00622.96
8.2.160.0090.00522.13
8.2.150.0050.00225.66
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0050.00317.75
8.2.110.0050.00520.89
8.2.100.0100.00017.84
8.2.90.0070.00321.09
8.2.80.0000.00817.93
8.2.70.0040.00717.75
8.2.60.0040.00418.04
8.2.50.0060.00318.07
8.2.40.0040.00418.34
8.2.30.0050.00318.19
8.2.20.0050.00317.90
8.2.10.0050.00217.86
8.2.00.0000.00717.91
8.1.310.0080.00016.81
8.1.300.0090.00020.38
8.1.290.0030.00718.88
8.1.280.0130.00625.92
8.1.270.0030.00323.99
8.1.260.0050.00326.35
8.1.250.0000.00728.09
8.1.240.0110.00420.62
8.1.230.0060.00620.92
8.1.220.0080.00017.78
8.1.210.0050.00318.94
8.1.200.0050.00517.47
8.1.190.0000.00717.52
8.1.180.0040.00418.10
8.1.170.0030.00618.84
8.1.160.0040.00418.96
8.1.150.0040.00418.77
8.1.140.0070.00017.63
8.1.130.0030.00317.78
8.1.120.0000.00817.65
8.1.110.0040.00417.53
8.1.100.0030.00317.54
8.1.90.0000.00717.50
8.1.80.0030.00417.53
8.1.70.0000.00717.56
8.1.60.0070.00017.57
8.1.50.0040.00417.57
8.1.40.0040.00417.57
8.1.30.0050.00217.60
8.1.20.0000.00817.68
8.1.10.0000.00817.76
8.1.00.0050.00317.73
8.0.300.0000.00720.03
8.0.290.0040.00417.00
8.0.280.0030.00318.43
8.0.270.0050.00317.20
8.0.260.0000.00816.93
8.0.250.0070.00017.03
8.0.240.0030.00517.05
8.0.230.0050.00317.19
8.0.220.0000.00617.09
8.0.210.0000.00817.05
8.0.200.0030.00317.05
8.0.190.0070.00017.20
8.0.180.0040.00417.11
8.0.170.0050.00517.06
8.0.160.0030.00317.11
8.0.150.0000.00816.93
8.0.140.0040.00417.05
8.0.130.0000.00513.44
8.0.120.0000.00817.04
8.0.110.0070.00017.09
8.0.100.0000.00716.98
8.0.90.0050.00317.04
8.0.80.0060.00917.14
8.0.70.0040.00416.96
8.0.60.0000.00817.09
8.0.50.0070.00017.03
8.0.30.0090.01217.21
8.0.20.0160.01217.13
8.0.10.0040.00417.13
8.0.00.0110.00716.89
7.4.330.0020.00213.05
7.4.320.0000.00616.50
7.4.300.0000.00616.68
7.4.290.0030.00316.61
7.4.280.0000.00716.69
7.4.270.0030.00516.66
7.4.260.0030.00313.17
7.4.250.0040.00416.58
7.4.240.0070.00016.60
7.4.230.0030.00316.59
7.4.220.0120.00916.57
7.4.210.0100.00516.67
7.4.200.0070.00016.66
7.4.190.0040.00416.73
7.4.160.0120.00316.55
7.4.150.0110.00616.65
7.4.140.0140.00816.75
7.4.130.0080.00916.63
7.4.120.0120.00616.68
7.4.110.0110.00816.82
7.4.100.0090.00916.71
7.4.90.0160.00316.57
7.4.80.0130.00316.79
7.4.70.0090.00816.36
7.4.60.0070.01016.62
7.4.50.0040.00016.52
7.4.40.0100.00716.29
7.4.30.0130.00316.74
7.4.00.0050.01115.05
7.3.330.0000.00613.12
7.3.320.0050.00013.15
7.3.310.0080.00016.30
7.3.300.0000.00716.41
7.3.290.0120.00316.43
7.3.280.0060.01116.43
7.3.270.0210.01416.70
7.3.260.0110.00616.65
7.3.250.0150.00816.77
7.3.240.0120.00616.52
7.3.230.0100.00716.78
7.3.210.0060.01016.76
7.3.200.0100.00719.39
7.3.190.0130.00716.46
7.3.180.0100.00716.49
7.3.170.0200.00316.40
7.3.160.0090.00616.73
7.3.120.0060.01014.91
7.3.110.0100.00714.89
7.3.100.0100.00715.13
7.3.90.0030.01315.05
7.3.80.0070.00314.97
7.3.70.0030.00615.03
7.3.60.0060.00614.95
7.3.50.0000.00815.06
7.3.40.0070.00714.93
7.3.30.0040.01015.00
7.3.20.0030.01016.88
7.3.10.0020.01116.71
7.3.00.0040.01116.77
7.2.330.0140.00316.75
7.2.320.0120.00916.75
7.2.310.0150.00916.81
7.2.300.0080.00816.62
7.2.290.0100.00716.70
7.2.250.0000.01815.38
7.2.240.0030.01715.14
7.2.230.0030.01715.37
7.2.220.0070.00715.43
7.2.210.0100.00315.25
7.2.200.0030.00615.20
7.2.190.0070.00715.25
7.2.180.0060.00915.12
7.2.170.0000.01115.23
7.2.130.0000.01317.02
7.2.120.0040.01117.24
7.2.110.0040.01117.08
7.2.100.0090.00016.98
7.2.90.0070.00717.16
7.2.80.0060.00617.06
7.2.70.0100.00717.11
7.2.60.0050.00817.19
7.2.50.0030.00617.16
7.2.40.0060.00917.16
7.2.30.0040.00817.12
7.2.20.0060.01217.12
7.2.10.0060.00616.91
7.2.00.0040.00818.17
7.1.330.0030.01016.21
7.1.320.0000.01416.02
7.1.310.0000.01215.90
7.1.300.0070.00716.09
7.1.290.0030.01015.78
7.1.280.0100.00315.79
7.1.270.0040.00415.71
7.1.260.0120.00016.11
7.1.250.0030.01015.97
7.1.240.0000.00915.98
7.1.230.0060.00915.81
7.1.220.0000.01216.02
7.1.210.0040.00415.75
7.1.200.0070.00915.80
7.1.190.0090.00015.94
7.1.180.0070.00715.89
7.1.170.0070.00716.19
7.1.160.0070.00415.95
7.1.150.0040.01115.82
7.1.140.0000.01116.04
7.1.130.0070.00715.71
7.1.120.0060.00315.69
7.1.110.0110.00016.04
7.1.100.0020.01117.23
7.1.90.0040.01116.06
7.1.80.0030.00716.05
7.1.70.0050.00716.50
7.1.60.0040.01117.78
7.1.50.0050.00916.50
7.1.40.0000.00716.05
7.1.30.0030.00615.61
7.1.20.0040.00816.06
7.1.10.0040.00815.75
7.1.00.0070.03719.10
7.0.330.0040.00715.66
7.0.320.0030.01015.50
7.0.310.0040.01215.63
7.0.300.0060.00315.46
7.0.290.0000.01015.46
7.0.280.0070.00715.53
7.0.270.0030.00515.55
7.0.260.0070.00715.47
7.0.250.0080.00515.56
7.0.240.0030.00615.28
7.0.230.0050.00315.66
7.0.220.0030.01015.72
7.0.210.0070.00315.22
7.0.200.1230.00915.08
7.0.190.0030.00715.43
7.0.180.0100.00715.42
7.0.170.0040.00415.66
7.0.160.0000.01715.48
7.0.150.0000.00715.77
7.0.140.0020.04318.69
7.0.130.0040.01115.67
7.0.120.0050.00515.59
7.0.110.0060.02217.71
7.0.100.0060.03017.74
7.0.90.0030.03417.65
7.0.80.0050.03017.78
7.0.70.0080.02417.79
7.0.60.0020.04617.89
7.0.50.0050.02517.93
7.0.40.0060.02116.89
7.0.30.0100.04017.01
7.0.20.0050.04016.93
7.0.10.0050.02316.84
7.0.00.0040.02916.88
5.6.380.0030.00714.61
5.6.370.0070.00714.50
5.6.360.0040.00814.65
5.6.350.0080.00014.54
5.6.340.0110.00014.48
5.6.330.0030.01014.73
5.6.320.0040.00714.53
5.6.310.0060.00314.41
5.6.300.0000.01114.52
5.6.290.0050.00214.49
5.6.280.0000.04217.71
5.6.270.0140.00014.21
5.6.260.0100.00714.52
5.6.250.0110.03317.37
5.6.240.0030.02417.70
5.6.230.0040.02417.52
5.6.220.0040.02217.54
5.6.210.0050.03917.54
5.6.200.0090.04417.78
5.6.190.0080.03017.81
5.6.180.0050.04017.79
5.6.170.0030.02517.82
5.6.160.0050.02117.69
5.6.150.0060.02217.68
5.6.140.0050.02317.60
5.6.130.0010.03917.63
5.6.120.0020.03417.76
5.6.110.0040.02517.62
5.6.100.0030.03717.75
5.6.90.0040.03217.60
5.6.80.0060.02017.37
5.6.70.0050.03017.42
5.6.60.0020.02517.41
5.6.50.0000.02917.19
5.6.40.0020.02517.37
5.6.30.0020.02517.29
5.6.20.0080.02817.53
5.6.10.0050.04517.30
5.6.00.0040.04017.38
5.5.380.0070.02215.78
5.5.370.0020.02315.83
5.5.360.0090.02715.81
5.5.350.0030.02215.85
5.5.340.0070.04116.15
5.5.330.0040.03715.94
5.5.320.0080.02315.99
5.5.310.0030.02515.94
5.5.300.0030.02715.98
5.5.290.0040.02516.12
5.5.280.0040.04416.09
5.5.270.0030.03516.06
5.5.260.0080.02215.93
5.5.250.0070.02315.83
5.5.240.0050.01915.54
5.5.230.0040.02215.63
5.5.220.0070.02215.80
5.5.210.0030.02515.66
5.5.200.0060.02215.79
5.5.190.0020.02715.65
5.5.180.0010.03915.62
5.5.170.0070.00311.18
5.5.160.0020.04915.77
5.5.150.0040.04515.62
5.5.140.0180.03315.76
5.5.130.0070.02715.63
5.5.120.0100.03815.57
5.5.110.0030.04515.51
5.5.100.0030.02815.61
5.5.90.0050.02915.60
5.5.80.0030.03515.47
5.5.70.0050.04615.69
5.5.60.0090.03815.53
5.5.50.0120.03915.51
5.5.40.0110.03815.59
5.5.30.0130.03315.65
5.5.20.0050.04015.58
5.5.10.0050.04215.66
5.5.00.0030.03315.63
5.4.450.0040.02115.43
5.4.440.0060.02115.42
5.4.430.0050.02015.37
5.4.420.0000.02815.19
5.4.410.0050.02515.05
5.4.400.0030.02215.18
5.4.390.0030.02415.13
5.4.380.0060.02014.91
5.4.370.0090.01914.97
5.4.360.0050.02215.10
5.4.350.0020.02715.13
5.4.340.0100.01814.91
5.4.330.0030.00510.73
5.4.320.0070.02714.94
5.4.310.0100.04015.11
5.4.300.0090.03814.96
5.4.290.0080.03614.93
5.4.280.0120.03814.86
5.4.270.0070.03815.13
5.4.260.0030.04114.97
5.4.250.0040.03615.11
5.4.240.0100.03415.04
5.4.230.0050.04314.98
5.4.220.0080.03614.89
5.4.210.0110.03715.03
5.4.200.0030.03915.13
5.4.190.0030.02815.02
5.4.180.0070.03714.88
5.4.170.0050.04215.13
5.4.160.0080.02314.96
5.4.150.0070.03614.93
5.4.140.0050.04113.71
5.4.130.0070.04013.63
5.4.120.0050.03913.83
5.4.110.0060.04013.83
5.4.100.0030.04113.79
5.4.90.0010.03813.65
5.4.80.0120.02713.79
5.4.70.0110.03313.77
5.4.60.0050.04013.75
5.4.50.0090.03713.64
5.4.40.0040.03813.90
5.4.30.0120.03113.89
5.4.20.0100.03513.63
5.4.10.0110.03413.66
5.4.00.0060.04113.47
5.3.290.0050.03012.64
5.3.280.0030.03612.60
5.3.270.0090.03512.64
5.3.260.0070.03712.52
5.3.250.0090.02112.59
5.3.240.0060.03812.56
5.3.230.0100.02212.67
5.3.220.0070.04112.50
5.3.210.0050.02312.62
5.3.200.0030.04212.42
5.3.190.0030.04412.42
5.3.180.0040.04012.58
5.3.170.0080.03712.56
5.3.160.0070.04012.58
5.3.150.0050.04212.62
5.3.140.0050.04212.59
5.3.130.0070.03812.47
5.3.120.0050.03712.54
5.3.110.0100.02712.55
5.3.100.0050.04212.36
5.3.90.0080.03712.32
5.3.80.0070.04112.23
5.3.70.0030.03312.22
5.3.60.0080.03512.23
5.3.50.0060.03812.15
5.3.40.0050.03912.31
5.3.30.0050.03612.27
5.3.20.0060.04112.05
5.3.10.0000.04512.00
5.3.00.0030.04011.93
5.2.170.0030.02810.62
5.2.160.0080.02610.66
5.2.150.0030.03910.55
5.2.140.0070.03210.60
5.2.130.0030.03110.63
5.2.120.0020.03310.54
5.2.110.0090.01810.61
5.2.100.0130.02310.64
5.2.90.0130.02210.67
5.2.80.0050.03510.59
5.2.70.0040.03410.63
5.2.60.0040.03410.69
5.2.50.0030.03510.67
5.2.40.0080.03010.56
5.2.30.0030.03010.46
5.2.20.0070.02710.54
5.2.10.0030.03510.48
5.2.00.0050.03310.48
5.1.60.0050.02810.42
5.1.50.0060.02210.42
5.1.40.0060.02310.42
5.1.30.0030.02710.42
5.1.20.0070.02710.42
5.1.10.0040.02910.42
5.1.00.0030.02910.42
5.0.50.0050.02710.42
5.0.40.0000.01710.42
5.0.30.0050.03010.42
5.0.20.0050.01810.42
5.0.10.0020.01610.42
5.0.00.0030.03010.42
4.4.90.0070.01410.42
4.4.80.0000.01310.42
4.4.70.0050.01210.42
4.4.60.0020.01910.42
4.4.50.0040.01410.42
4.4.40.0050.02510.42
4.4.30.0000.02210.42
4.4.20.0020.02110.42
4.4.10.0030.01810.42
4.4.00.0050.01710.42
4.3.110.0020.01910.42
4.3.100.0030.01910.42
4.3.90.0040.01710.42
4.3.80.0050.01510.42
4.3.70.0020.01810.42
4.3.60.0000.02110.42
4.3.50.0030.01810.42
4.3.40.0020.02410.42
4.3.30.0020.01810.42
4.3.20.0050.01510.42
4.3.10.0040.01710.42
4.3.00.0030.01710.42

preferences:
81.97 ms | 403 KiB | 5 Q