3v4l.org

run code in 300+ PHP versions simultaneously
<?php $start = date('Y-m-d H:i:s'); $init = new DateTime($start); $init->modify("+1 minute"); echo $init->format("Y-m-d H:i: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.0040.01116.75
8.3.50.0100.00517.22
8.3.40.0060.00919.02
8.3.30.0040.01118.80
8.3.20.0080.00018.73
8.3.10.0040.00418.69
8.3.00.0060.00319.34
8.2.180.0070.01118.39
8.2.170.0110.00322.96
8.2.160.0120.00419.02
8.2.150.0030.00724.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0050.00321.06
8.2.110.0070.00420.64
8.2.100.0090.00318.16
8.2.90.0000.00818.03
8.2.80.0080.00017.97
8.2.70.0060.00318.16
8.2.60.0080.00318.16
8.2.50.0090.00018.10
8.2.40.0040.00421.20
8.2.30.0000.00819.42
8.2.20.0030.00817.83
8.2.10.0000.00717.93
8.2.00.0000.00817.91
8.1.280.0140.00025.92
8.1.270.0000.00723.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.72
8.1.230.0110.00022.82
8.1.220.0040.00417.77
8.1.210.0050.00318.82
8.1.200.0030.00617.38
8.1.190.0000.00917.48
8.1.180.0040.00418.10
8.1.170.0040.00418.71
8.1.160.0080.00019.20
8.1.150.0040.00418.88
8.1.140.0070.00017.59
8.1.130.0030.00517.64
8.1.120.0040.00417.58
8.1.110.0040.00417.57
8.1.100.0040.00417.57
8.1.90.0000.00717.58
8.1.80.0000.00717.64
8.1.70.0030.00317.69
8.1.60.0030.00617.60
8.1.50.0040.00417.62
8.1.40.0050.00317.64
8.1.30.0030.00517.61
8.1.20.0060.00317.73
8.1.10.0000.00717.76
8.1.00.0000.00817.72
8.0.300.0000.00820.08
8.0.290.0080.00017.00
8.0.280.0040.00418.50
8.0.270.0030.00617.27
8.0.260.0000.00916.99
8.0.250.0040.00417.15
8.0.240.0080.00017.13
8.0.230.0000.00817.16
8.0.220.0000.00817.00
8.0.210.0000.00817.05
8.0.200.0030.00317.14
8.0.190.0040.00417.18
8.0.180.0060.00317.10
8.0.170.0070.00316.99
8.0.160.0050.00217.05
8.0.150.0070.00016.93
8.0.140.0080.00417.11
8.0.130.0000.00513.38
8.0.120.0000.01017.00
8.0.110.0050.00217.12
8.0.100.0040.00417.11
8.0.90.0040.00416.96
8.0.80.0100.00617.11
8.0.70.0020.00516.98
8.0.60.0030.00617.15
8.0.50.0000.00817.12
8.0.30.0000.01817.26
8.0.20.0120.00617.21
8.0.10.0040.00417.23
8.0.00.0110.00917.07
7.4.330.0000.00613.12
7.4.320.0030.00316.73
7.4.300.0030.00316.76
7.4.290.0030.00716.70
7.4.280.0070.00016.71
7.4.270.0020.00516.65
7.4.260.0000.00713.37
7.4.250.0040.00416.75
7.4.240.0000.00716.78
7.4.230.0080.00016.73
7.4.220.0070.01816.62
7.4.210.0070.01016.78
7.4.200.0040.00416.64
7.4.190.0040.00316.52
7.4.160.0040.01116.71
7.4.150.0030.01416.53
7.4.140.0110.00717.86
7.4.130.0060.01316.57
7.4.120.0090.01416.77
7.4.110.0090.00916.73
7.4.100.0150.00916.77
7.4.90.0090.00916.73
7.4.80.0080.00819.39
7.4.70.0070.01116.82
7.4.60.0060.01116.70
7.4.50.0030.00616.72
7.4.40.0100.00716.43
7.4.30.0130.00316.42
7.4.00.0080.00815.39
7.3.330.0000.00613.09
7.3.320.0050.00013.20
7.3.310.0000.00716.54
7.3.300.0030.00316.33
7.3.290.0020.01416.34
7.3.280.0170.00416.36
7.3.270.0060.01016.51
7.3.260.0070.01316.45
7.3.240.0140.00316.27
7.3.230.0090.00916.71
7.3.210.0000.01616.50
7.3.200.0090.00616.23
7.3.190.0120.00416.32
7.3.180.0060.00916.45
7.3.170.0080.01216.69
7.3.160.0040.01116.45
7.3.120.0040.01115.09
7.3.10.0170.00316.26
7.3.00.0100.00716.54
7.2.330.0040.01316.47
7.2.320.0150.00616.81
7.2.310.0060.01616.52
7.2.300.0070.01016.79
7.2.290.0170.00416.92
7.2.130.0110.00616.67
7.2.120.0090.00617.02
7.2.110.0120.00416.96
7.2.100.0070.01016.64
7.2.90.0110.00716.86
7.2.80.0060.00917.04
7.2.70.0140.00416.79
7.2.60.0100.00717.01
7.2.50.0110.00717.18
7.2.40.0160.00016.95
7.2.30.0070.01117.02
7.2.20.0070.01116.81
7.2.10.0140.00316.72
7.2.00.0100.00518.22
7.1.250.0130.00315.80
7.1.240.0070.00415.67
7.1.230.0130.00615.63
7.1.220.0110.00815.82
7.1.210.0060.01015.71
7.1.200.0050.00915.50
7.1.190.0090.00915.98
7.1.180.0090.01215.69
7.1.170.0070.01316.00
7.1.160.0150.00315.61
7.1.150.0150.00315.99
7.1.140.0110.00615.91
7.1.130.0120.00815.54
7.1.120.0130.00415.62
7.1.110.0100.00715.66
7.1.100.0170.00616.89
7.1.90.0070.01415.81
7.1.80.0110.00415.63
7.1.70.0070.00716.52
7.1.60.0130.01017.40
7.1.50.0130.00916.45
7.1.40.0120.00915.56
7.1.30.0090.00615.59
7.1.20.0070.01115.65
7.1.10.0060.01115.57
7.1.00.0060.03719.00
7.0.330.0080.00815.22
7.0.320.0100.00315.41
7.0.310.0060.00915.48
7.0.300.0070.01115.05
7.0.290.0140.00015.05
7.0.280.0060.00615.39
7.0.270.0070.00715.38
7.0.260.0110.00414.96
7.0.250.0080.00815.52
7.0.240.0180.00015.51
7.0.230.0030.01015.11
7.0.220.0100.00715.58
7.0.210.0030.00915.29
7.0.200.0090.00515.88
7.0.190.0130.00715.38
7.0.180.0060.00915.20
7.0.170.0030.01015.45
7.0.160.0100.00315.39
7.0.150.0100.00715.09
7.0.140.0070.03918.61
7.0.130.0060.00915.30
7.0.120.0070.02318.76
7.0.110.0040.02417.69
7.0.100.0040.03317.56
7.0.90.0030.02817.63
7.0.80.0070.02417.71
7.0.70.0070.02717.51
7.0.60.0030.02817.63
7.0.50.0080.03217.90
7.0.40.0020.03716.92
7.0.30.0050.02716.71
7.0.20.0070.02216.84
7.0.10.0050.02516.63
7.0.00.0040.02716.75
5.6.380.0000.01514.25
5.6.370.0030.01114.48
5.6.360.0030.00914.69
5.6.350.0070.00714.04
5.6.340.0030.01014.52
5.6.330.0060.00913.99
5.6.320.0130.00014.33
5.6.310.0050.00513.92
5.6.300.0100.01013.98
5.6.290.0100.00314.34
5.6.280.0030.04217.61
5.6.270.0070.00714.45
5.6.260.0090.02617.30
5.6.250.0020.02417.46
5.6.240.0070.04117.43
5.6.230.0050.02617.34
5.6.220.0060.02317.37
5.6.210.0090.02217.40
5.6.200.0030.03217.49
5.6.190.0070.02317.64
5.6.180.0070.02417.64
5.6.170.0080.02317.54
5.6.160.0040.02617.66
5.6.150.0070.02217.60
5.6.140.0030.02317.64
5.6.130.0020.03017.78
5.6.120.0040.02817.44
5.6.110.0030.03117.46
5.6.100.0050.02417.59
5.6.90.0030.05017.68
5.6.80.0170.03617.27
5.6.70.0080.04317.56
5.6.60.0050.04317.32
5.6.50.0050.04417.66
5.6.40.0100.02517.28
5.6.30.0020.04417.35
5.6.20.0030.04517.19
5.6.10.0130.03617.47
5.6.00.0130.03717.42
5.5.380.0090.04015.84
5.5.370.0070.02715.62
5.5.360.0030.02515.72
5.5.350.0060.03015.54
5.5.340.0050.02415.86
5.5.330.0020.02715.94
5.5.320.0050.02315.84
5.5.310.0030.02615.81
5.5.300.0020.02516.06
5.5.290.0060.02115.87
5.5.280.0070.02315.99
5.5.270.0050.02516.01
5.5.260.0090.03016.06
5.5.250.0090.03415.74
5.5.240.0020.03015.66
5.5.230.0100.03615.87
5.5.220.0090.02615.61
5.5.210.0080.03715.72
5.5.200.0050.04515.49
5.5.190.0070.04315.54
5.5.180.0080.03715.56
5.5.170.0110.00411.14
5.5.160.0090.02415.55
5.5.150.0100.04015.53
5.5.140.0070.04515.48
5.5.130.0080.03515.60
5.5.120.0150.02415.44
5.5.110.0120.03315.70
5.5.100.0040.03915.38
5.5.90.0080.03315.64
5.5.80.0100.03715.65
5.5.70.0030.04315.50
5.5.60.0000.04615.48
5.5.50.0070.04215.44
5.5.40.0160.02115.61
5.5.30.0060.02815.55
5.5.20.0050.04315.56
5.5.10.0070.03915.63
5.5.00.0090.04015.37
5.4.450.0070.02015.35
5.4.440.0060.02215.15
5.4.430.0000.02415.04
5.4.420.0060.02815.22
5.4.410.0040.04114.93
5.4.400.0040.02214.89
5.4.390.0050.04414.97
5.4.380.0020.04414.88
5.4.370.0070.02314.94
5.4.360.0050.04214.95
5.4.350.0030.04514.93
5.4.340.0070.04014.89
5.4.330.0100.00210.59
5.4.320.0030.03614.95
5.4.310.0050.04214.98
5.4.300.0030.02914.89
5.4.290.0080.03815.07
5.4.280.0050.04014.80
5.4.270.0090.03915.09
5.4.260.0090.03714.96
5.4.250.0030.02514.92
5.4.240.0070.03714.89
5.4.230.0100.03514.82
5.4.220.0030.04315.08
5.4.210.0110.03615.09
5.4.200.0080.03815.15
5.4.190.0060.04014.75
5.4.180.0120.03114.87
5.4.170.0130.03715.06
5.4.160.0050.04015.06
5.4.150.0080.03114.91
5.4.140.0050.04013.54
5.4.130.0050.04013.42
5.4.120.0050.04113.63
5.4.110.0040.03913.61
5.4.100.0070.03513.72
5.4.90.0050.04013.79
5.4.80.0050.04213.84
5.4.70.0020.04213.75
5.4.60.0030.03613.46
5.4.50.0050.02513.70
5.4.40.0080.03813.60
5.4.30.0050.04013.73
5.4.20.0030.03613.65
5.4.10.0080.03813.78
5.4.00.0060.03813.29
5.3.290.0110.03812.61
5.3.280.0080.03812.55
5.3.270.0090.04212.62
5.3.260.0080.04312.49
5.3.250.0100.04212.61
5.3.240.0120.03912.56
5.3.230.0090.03812.61
5.3.220.0070.04312.49
5.3.210.0060.03112.39
5.3.200.0070.04212.49
5.3.190.0080.04112.58
5.3.180.0120.03712.62
5.3.170.0080.04012.57
5.3.160.0070.02312.57
5.3.150.0080.03512.51
5.3.140.0100.03812.52
5.3.130.0080.03612.63
5.3.120.0050.04012.40
5.3.110.0080.03712.52
5.3.100.0080.03712.25
5.3.90.0080.03712.12
5.3.80.0050.04212.21
5.3.70.0050.03312.13
5.3.60.0020.04312.25
5.3.50.0090.03412.19
5.3.40.0070.03712.03
5.3.30.0010.04112.12
5.3.20.0050.03812.02
5.3.10.0100.03011.92
5.3.00.0080.03511.96
5.2.170.0090.01610.81
5.2.160.0030.03610.70
5.2.150.0070.02710.81
5.2.140.0070.02610.76
5.2.130.0050.02110.70
5.2.120.0050.03310.74
5.2.110.0020.03910.72
5.2.100.0070.02810.74
5.2.90.0020.03910.68
5.2.80.0070.03110.53
5.2.70.0020.03010.66
5.2.60.0070.03010.59
5.2.50.0060.02010.57
5.2.40.0020.02210.65
5.2.30.0060.03110.63
5.2.20.0080.02310.60
5.2.10.0030.03210.56
5.2.00.0120.02710.47
5.1.60.0050.02510.11
5.1.50.0070.02210.15
5.1.40.0020.02010.29
5.1.30.0050.02910.39
5.1.20.0010.03110.22
5.1.10.0050.02910.20
5.1.00.0080.02810.20
5.0.50.0000.02610.11
5.0.40.0030.02110.11
5.0.30.0060.02910.11
5.0.20.0030.02310.11
5.0.10.0030.02210.11
5.0.00.0030.03510.11
4.4.90.0020.01610.11
4.4.80.0070.01210.11
4.4.70.0060.01010.11
4.4.60.0070.01410.11
4.4.50.0020.01210.11
4.4.40.0020.01810.11
4.4.30.0040.01310.11
4.4.20.0000.02210.11
4.4.10.0000.02010.11
4.4.00.0020.03010.11
4.3.110.0050.01810.11
4.3.100.0020.01510.11
4.3.90.0020.02010.11
4.3.80.0070.02310.11
4.3.70.0020.01910.11
4.3.60.0030.01810.11
4.3.50.0030.01710.11
4.3.40.0030.02610.11
4.3.30.0020.01810.11
4.3.20.0020.02010.11
4.3.10.0020.01810.11
4.3.00.0000.01410.11

preferences:
52.1 ms | 400 KiB | 5 Q