3v4l.org

run code in 300+ PHP versions simultaneously
<?php $limit = [null, null]; var_dump(min($limit)); $limit = [null]; var_dump(min($limit)); $limit = [5]; var_dump(min($limit)); $limit = [5, null]; var_dump(min($limit)); $limit = [null, 5]; var_dump(min($limit));

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.0110.00418.43
8.3.50.0100.00921.92
8.3.40.0140.00418.77
8.3.30.0090.00619.11
8.3.20.0040.00420.35
8.3.10.0080.00023.67
8.3.00.0040.00720.80
8.2.180.0090.00916.50
8.2.170.0100.00722.96
8.2.160.0060.01220.47
8.2.150.0080.00024.18
8.2.140.0000.00924.66
8.2.130.0040.00426.16
8.2.120.0030.00619.24
8.2.110.0030.00620.99
8.2.100.0040.00818.22
8.2.90.0060.00319.23
8.2.80.0040.00417.97
8.2.70.0060.00317.63
8.2.60.0060.00318.04
8.2.50.0030.00718.07
8.2.40.0040.00418.03
8.2.30.0030.00318.11
8.2.20.0040.00417.61
8.2.10.0000.00717.91
8.2.00.0030.00519.28
8.1.280.0060.01125.92
8.1.270.0060.00324.02
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00321.15
8.1.230.0040.00817.45
8.1.220.0040.00417.74
8.1.210.0000.00918.77
8.1.200.0030.00617.10
8.1.190.0040.00417.13
8.1.180.0050.00318.10
8.1.170.0050.00318.36
8.1.160.0070.00021.99
8.1.150.0060.00318.59
8.1.140.0040.00417.37
8.1.130.0000.00817.82
8.1.120.0040.00417.43
8.1.110.0050.00217.28
8.1.100.0050.00217.29
8.1.90.0070.00017.28
8.1.80.0000.00717.30
8.1.70.0000.00717.34
8.1.60.0080.00017.45
8.1.50.0000.00917.33
8.1.40.0050.00317.49
8.1.30.0000.00817.60
8.1.20.0000.00817.54
8.1.10.0080.00017.45
8.1.00.0040.00417.39
8.0.300.0070.00018.77
8.0.290.0030.00616.58
8.0.280.0040.00418.38
8.0.270.0000.00717.07
8.0.260.0030.00317.06
8.0.250.0070.00016.81
8.0.240.0070.00016.81
8.0.230.0030.00316.85
8.0.220.0070.00016.83
8.0.210.0070.00016.69
8.0.200.0030.00316.75
8.0.190.0070.00016.88
8.0.180.0000.00716.78
8.0.170.0030.00516.88
8.0.160.0040.00416.91
8.0.150.0050.00316.69
8.0.140.0040.00416.76
8.0.130.0030.00313.31
8.0.120.0070.00016.80
8.0.110.0000.00716.87
8.0.100.0040.00416.81
8.0.90.0070.00016.74
8.0.80.0160.00616.72
8.0.70.0040.00416.89
8.0.60.0040.00416.64
8.0.50.0040.00416.77
8.0.30.0150.00617.00
8.0.20.0080.01017.40
8.0.10.0000.00716.95
8.0.00.0110.00716.76
7.4.330.0020.00215.00
7.4.320.0030.00316.50
7.4.300.0000.00716.49
7.4.290.0030.00316.44
7.4.280.0030.00516.57
7.4.270.0030.00316.43
7.4.260.0000.00716.46
7.4.250.0050.00316.32
7.4.240.0030.00316.50
7.4.230.0050.00216.57
7.4.220.0030.01416.48
7.4.210.0100.00416.33
7.4.200.0070.00016.51
7.4.160.0220.00916.20
7.4.150.0120.00617.40
7.4.140.0110.00817.86
7.4.130.0110.00616.38
7.4.120.0070.01416.43
7.4.110.0110.01116.34
7.4.100.0060.01216.23
7.4.90.0090.00916.59
7.4.80.0110.01119.39
7.4.70.0130.00316.40
7.4.60.0100.00616.48
7.4.50.0000.00916.41
7.4.40.0090.01316.30
7.4.30.0060.01116.60
7.4.00.0000.01815.08
7.3.330.0020.00213.06
7.3.320.0050.00013.03
7.3.310.0000.00716.01
7.3.300.0030.00316.15
7.3.290.0120.00916.09
7.3.280.0110.00516.11
7.3.270.0070.01017.40
7.3.260.0200.00416.41
7.3.250.0070.01016.31
7.3.240.0070.01016.38
7.3.230.0030.01316.45
7.3.210.0110.00716.26
7.3.200.0120.01219.39
7.3.190.0060.01116.27
7.3.180.0140.00616.28
7.3.170.0030.01416.27
7.3.160.0110.00716.38
7.3.120.0040.00714.71
7.2.330.0150.00316.47
7.2.320.0120.00916.43
7.2.310.0110.01116.31
7.2.300.0110.00516.34
7.2.290.0070.01016.43
7.1.70.0030.00317.16
7.1.60.0170.00719.70
7.1.50.0100.00316.90
7.1.00.0070.07322.45
7.0.200.0000.00916.69
7.0.140.0000.08022.18
7.0.60.0230.08320.01
7.0.50.0100.07317.79
7.0.40.0030.06020.12
7.0.30.0570.07320.02
7.0.20.0330.07320.16
7.0.10.0230.05020.20
7.0.00.0000.04320.17
5.6.280.0000.05021.07
5.6.210.0030.08020.72
5.6.200.0030.04018.16
5.6.190.0000.04720.33
5.6.180.0530.06020.59
5.6.170.0300.03720.52
5.6.160.0070.04318.13
5.6.150.0070.07718.09
5.6.140.0100.04018.10
5.6.130.0030.08318.18
5.6.120.0170.06020.98
5.6.110.0000.08720.98
5.6.100.0070.05321.00
5.6.90.0070.07720.97
5.6.80.0030.06720.37
5.5.350.0170.07720.38
5.5.340.0030.06017.92
5.5.330.0030.05020.21
5.5.320.0200.04020.25
5.5.310.0400.07020.29
5.5.300.0070.03317.96
5.5.290.0030.07317.89
5.5.280.0070.08320.84
5.5.270.0100.07720.83
5.5.260.0270.06320.68
5.5.250.0070.03720.66
5.5.240.0200.06020.24
5.4.450.0170.04319.41
5.4.440.0100.04719.57
5.4.430.0130.04019.25
5.4.420.0200.05319.56
5.4.410.0130.04319.28
5.4.400.0270.06718.79
5.4.390.0200.05319.08
5.4.380.0300.06318.79
5.4.370.0270.06719.09
5.4.360.0330.06019.24
5.4.350.0200.07319.09
5.4.340.0300.06719.16
5.4.320.0270.07319.16
5.4.310.0230.06718.88
5.4.300.0200.05319.16
5.4.290.0230.07019.08
5.4.280.0330.06319.25
5.4.270.0270.06719.08
5.4.260.0270.07319.07
5.4.250.0200.05719.05
5.4.240.0200.04318.94
5.4.230.0230.07019.07
5.4.220.0270.05018.78
5.4.210.0200.08019.12
5.4.200.0200.03719.07
5.4.190.0230.05319.07
5.4.180.0130.05318.77
5.4.170.0200.07319.12
5.4.160.0230.06019.11
5.4.150.0200.08319.13
5.4.140.0200.06716.45
5.4.130.0170.06716.18
5.4.120.0270.05316.46
5.4.110.0230.04316.25
5.4.100.0230.07316.21
5.4.90.0270.05716.06
5.4.80.0330.04716.37
5.4.70.0270.06716.37
5.4.60.0170.07316.19
5.4.50.0300.06316.36
5.4.40.0200.07016.36
5.4.30.0300.03316.20
5.4.20.0270.06016.21
5.4.10.0130.04716.18
5.4.00.0230.06715.72
5.3.290.0130.05714.51
5.3.280.0330.06014.43
5.3.270.0200.04714.52
5.3.260.0300.02714.56
5.3.250.0300.06714.46
5.3.240.0270.07014.70
5.3.230.0270.07014.39
5.3.220.0270.05714.50
5.3.210.0230.04714.44
5.3.200.0230.05014.41
5.3.190.0230.03314.40
5.3.180.0270.04714.47
5.3.170.0230.07014.59
5.3.160.0230.06014.40
5.3.150.0230.07314.41
5.3.140.0200.07314.39
5.3.130.0300.04314.39
5.3.120.0170.06714.42
5.3.110.0230.07014.39
5.3.100.0130.05313.97
5.3.90.0300.04013.97
5.3.80.0230.07013.81
5.3.70.0230.04713.84
5.3.60.0230.07313.84
5.3.50.0100.05313.79
5.3.40.0270.06313.89
5.3.30.0170.07313.70
5.3.20.0170.05713.53
5.3.10.0270.06313.51
5.3.00.0270.06713.61
5.2.170.0170.06012.60
5.2.160.0170.06012.60
5.2.150.0170.06312.60
5.2.140.0130.06712.60
5.2.130.0100.05312.60
5.2.120.0130.04012.60
5.2.110.0170.05712.60
5.2.100.0330.04712.60
5.2.90.0100.06012.60
5.2.80.0270.05712.60
5.2.70.0170.06012.60
5.2.60.0230.05312.60
5.2.50.0200.05012.60
5.2.40.0170.03712.60
5.2.30.0330.04712.60
5.2.20.0070.06312.60
5.2.10.0200.05712.60
5.2.00.0170.06012.60
5.1.60.0130.04712.60
5.1.50.0170.04312.60
5.1.40.0070.05712.60
5.1.30.0170.05712.60
5.1.20.0170.05312.60
5.1.10.0300.03012.60
5.1.00.0100.03312.60
5.0.50.0100.03012.60
5.0.40.0200.03312.60
5.0.30.0130.04312.60
5.0.20.0130.04012.60
5.0.10.0100.04312.60
5.0.00.0100.06312.60
4.4.90.0000.02012.60
4.4.80.0070.03712.60
4.4.70.0070.04012.60
4.4.60.0100.02312.60
4.4.50.0100.03312.60
4.4.40.0130.04312.60
4.4.30.0070.03712.60
4.4.20.0030.03012.60
4.4.10.0070.03712.60
4.4.00.0030.05712.60
4.3.110.0100.03312.60
4.3.100.0130.02712.60
4.3.90.0170.02712.60
4.3.80.0200.03712.60
4.3.70.0000.02712.60
4.3.60.0100.01712.60
4.3.50.0030.02712.60
4.3.40.0100.04312.60
4.3.30.0070.02012.60
4.3.20.0070.02012.60
4.3.10.0030.03712.60
4.3.00.0070.03312.60

preferences:
55.78 ms | 401 KiB | 5 Q