3v4l.org

run code in 300+ PHP versions simultaneously
<?php $range = "194.8.50.0/16"; function ipListFromRange($range){ $parts = explode('/',$range); $exponent = 32-$parts[1].'-'; $count = pow(2,$exponent); $start = ip2long($parts[0]); $end = $start+$count; return array_map('long2ip', range($start, $end) ); } print_r(ipListFromRange($range));

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.0130.03324.86
8.3.50.0180.03324.21
8.3.40.0170.02325.11
8.3.30.0130.02726.75
8.3.20.0040.01725.11
8.3.10.0090.00927.38
8.3.00.0070.01029.95
8.2.180.0110.03323.06
8.2.170.0140.03225.32
8.2.160.0140.02726.75
8.2.150.0030.01825.49
8.2.140.0030.01726.68
8.2.130.0040.01428.41
8.2.120.0030.01426.05
8.2.110.0090.01826.70
8.2.100.0130.01924.22
8.2.90.0030.02325.55
8.2.80.0100.01625.48
8.2.70.0030.02423.93
8.2.60.0000.02623.98
8.2.50.0100.01723.60
8.2.40.0110.01425.98
8.2.30.0100.01625.71
8.2.20.0100.01624.04
8.2.10.0100.01624.18
8.2.00.0030.02524.11
8.1.280.0130.03025.92
8.1.270.0130.00929.38
8.1.260.0100.01327.52
8.1.250.0030.01532.01
8.1.240.0070.01732.48
8.1.230.0200.01328.09
8.1.220.0070.02024.88
8.1.210.0180.00926.03
8.1.200.0060.02224.82
8.1.190.0000.02724.86
8.1.180.0030.02424.72
8.1.170.0100.01725.84
8.1.160.0100.01626.28
8.1.150.0120.02326.06
8.1.140.0030.02424.77
8.1.130.0040.02125.11
8.1.120.0030.02224.84
8.1.110.0120.01524.84
8.1.100.0070.02024.76
8.1.90.0040.02224.87
8.1.80.0000.02624.89
8.1.70.0070.01824.84
8.1.60.0110.02624.80
8.1.50.0070.02224.73
8.1.40.0040.02524.84
8.1.30.0090.01825.01
8.1.20.0100.01924.84
8.1.10.0000.02824.91
8.1.00.0070.02024.79
8.0.300.0040.02227.08
8.0.290.0000.02724.36
8.0.280.0070.01825.72
8.0.270.0040.02124.49
8.0.260.0060.01924.18
8.0.250.0000.02724.28
8.0.240.0090.01824.25
8.0.230.0100.01624.28
8.0.220.0040.02324.13
8.0.210.0070.02124.23
8.0.200.0000.02624.05
8.0.190.0150.02424.18
8.0.180.0110.02624.27
8.0.170.0000.02824.19
8.0.160.0000.03324.29
8.0.150.0000.02724.09
8.0.140.0070.02824.11
8.0.130.0030.03120.83
8.0.120.0030.02724.13
8.0.110.0120.01924.22
8.0.100.0030.02524.13
8.0.90.0000.02924.12
8.0.80.0260.02324.24
8.0.70.0090.01824.22
8.0.60.0030.02423.90
8.0.50.0090.01924.01
8.0.30.0150.03824.30
8.0.20.0160.03724.24
8.0.10.0060.02224.13
8.0.00.0190.04124.12
7.4.330.0060.01824.63
7.4.320.0030.02123.82
7.4.300.0040.02123.86
7.4.290.0090.01823.83
7.4.280.0030.02423.78
7.4.270.0030.02423.76
7.4.260.0100.01620.59
7.4.250.0120.01623.73
7.4.240.0030.02523.59
7.4.230.0100.01923.80
7.4.220.0170.07123.58
7.4.210.0140.04223.78
7.4.200.0000.02823.86
7.4.190.0140.01823.84
7.4.160.0200.03123.73
7.4.150.0190.03323.85
7.4.140.0230.04423.83
7.4.130.0220.04523.83
7.4.120.0200.03323.71
7.4.110.0200.05723.79
7.4.100.0250.04323.68
7.4.90.0030.05123.91
7.4.80.0210.03823.66
7.4.70.0290.02923.61
7.4.60.0220.03123.81
7.4.50.0130.02623.59
7.4.40.0110.03023.41
7.4.30.0280.02424.02
7.4.00.0090.02822.01
7.3.330.0040.02120.74
7.3.320.0000.02620.74
7.3.310.0030.02723.50
7.3.300.0030.02423.73
7.3.290.0070.03923.55
7.3.280.0180.04423.55
7.3.270.0270.03123.82
7.3.260.0200.04123.75
7.3.250.0200.03323.84
7.3.240.0290.02623.84
7.3.230.0170.04123.61
7.3.210.0130.04023.52
7.3.200.0200.04023.64
7.3.190.0260.05623.71
7.3.180.0190.03323.66
7.3.170.0270.02423.57
7.3.160.0240.03123.79
7.3.120.0140.02722.09
7.2.330.0200.03724.05
7.2.320.0270.05223.60
7.2.310.0260.05224.07
7.2.300.0130.04023.93
7.2.290.0140.03723.55
7.2.60.0120.01826.89
7.2.00.0110.02929.22
7.1.200.0130.02225.79
7.1.70.0060.02627.19
7.1.60.1460.03624.46
7.1.50.0270.04745.01
7.1.00.0030.05032.45
7.0.200.0430.04726.91
7.0.140.0230.10332.16
7.0.100.0430.11326.41
7.0.90.0270.08326.36
7.0.80.0200.07726.33
7.0.70.0230.07326.41
7.0.60.0500.06326.34
7.0.50.0300.05026.79
7.0.40.0270.04323.92
7.0.30.0300.07324.09
7.0.20.0200.06723.92
7.0.10.0500.05724.04
7.0.00.0200.05324.10
5.6.280.0230.13342.43
5.6.250.0270.12342.05
5.6.240.0270.11041.81
5.6.230.0430.12741.87
5.6.220.0270.07741.85
5.6.210.0200.08741.86
5.6.200.0230.08042.28
5.6.190.0300.07742.36
5.6.180.0170.07342.36
5.6.170.0330.07342.34
5.6.160.0270.08342.32
5.6.150.0270.06742.48
5.6.140.0370.09042.40
5.6.130.0370.08742.25
5.6.120.0130.12742.30
5.6.110.0330.16342.32
5.6.100.0330.14742.45
5.6.90.0170.13042.39
5.6.80.0330.10741.78
5.6.70.0200.09041.71
5.6.60.0300.13741.79
5.6.50.0230.12741.73
5.6.40.0270.14041.79
5.6.30.0400.13041.75
5.6.20.0330.11341.61
5.6.10.0300.12341.73
5.6.00.0200.09041.69
5.5.380.0300.14041.84
5.5.370.0270.14041.86
5.5.360.0600.10341.71
5.5.350.0400.13041.76
5.5.340.0370.13342.26
5.5.330.0470.12742.16
5.5.320.0470.12742.31
5.5.310.0530.17042.25
5.5.300.0270.14042.27
5.5.290.0500.15042.15
5.5.280.0470.12042.16
5.5.270.0430.12742.19
5.5.260.0500.13042.17
5.5.250.0600.19341.99
5.5.240.0530.12741.38
5.5.230.0630.20041.50
5.5.220.0400.12041.47
5.5.210.0400.12341.67
5.5.200.0630.12741.57
5.5.190.0400.12041.60
5.5.180.0330.12341.61
5.5.160.0500.11041.56
5.5.150.0300.13741.54
5.5.140.0400.12741.59
5.5.130.0500.15341.57
5.5.120.0630.10341.63
5.5.110.0330.12041.59
5.5.100.0330.11741.51
5.5.90.0400.12341.39
5.5.80.0570.10341.50
5.5.70.0430.12341.30
5.5.60.0470.10741.40
5.5.50.0630.19341.54
5.5.40.0630.11041.41
5.5.30.0500.10341.48
5.5.20.0570.12341.32
5.5.10.0400.12041.31
5.5.00.0470.16741.49
5.4.450.0530.14340.71
5.4.440.0400.12740.67
5.4.430.0430.13740.84
5.4.420.0600.11340.73
5.4.410.0470.12340.35
5.4.400.0530.12340.40
5.4.390.0370.11340.27
5.4.380.0400.12040.20
5.4.370.0530.11040.21
5.4.360.0400.12040.36
5.4.350.0430.11040.17
5.4.340.0400.11740.54
5.4.320.0370.12740.27
5.4.310.0430.11340.20
5.4.300.0630.12040.37
5.4.290.0600.11040.20
5.4.280.0670.11040.16
5.4.270.0470.11040.41
5.4.260.0470.11040.33
5.4.250.0270.12040.38
5.4.240.0600.13340.38
5.4.230.0400.11740.41
5.4.220.0570.12340.35
5.4.210.0670.13040.16
5.4.200.0370.19340.35
5.4.190.0400.13340.36
5.4.180.0370.12740.32
5.4.170.0470.11040.36
5.4.160.0430.12040.28
5.4.150.0330.12740.15
5.4.140.0630.10037.79
5.4.130.0370.11737.73
5.4.120.0470.11037.79
5.4.110.0430.11337.84
5.4.100.0530.10337.80
5.4.90.0530.11037.84
5.4.80.0500.10337.79
5.4.70.0570.14037.84
5.4.60.0530.12737.82
5.4.50.0400.12337.73
5.4.40.0500.12337.59
5.4.30.0430.10737.55
5.4.20.0530.12037.70
5.4.10.0370.12037.78
5.4.00.0470.13037.07
5.3.290.0370.11735.54
5.3.280.0500.10335.44
5.3.270.0500.12335.45
5.3.260.0430.11735.46
5.3.250.0330.13035.47
5.3.240.0330.13035.31
5.3.230.0470.10735.30
5.3.220.0400.13335.34
5.3.210.0370.12735.42
5.3.200.0470.12035.43
5.3.190.0430.11735.41
5.3.180.0430.12335.54
5.3.170.0570.12735.42
5.3.160.0500.11035.43
5.3.150.0500.11035.41
5.3.140.0670.16335.23
5.3.130.0500.12335.41
5.3.120.0470.12035.31
5.3.110.0630.13035.25
5.3.100.0430.13734.85
5.3.90.0400.11734.87
5.3.80.0300.12334.79
5.3.70.0300.11735.02
5.3.60.0330.13034.76
5.3.50.0470.12334.72
5.3.40.0470.16334.68
5.3.30.0430.18734.68
5.3.20.0370.15034.52
5.3.10.0730.16734.29
5.3.00.0300.12034.38
5.2.170.0330.12030.76
5.2.160.0430.09330.83
5.2.150.0400.10330.82
5.2.140.0400.10730.75
5.2.130.0370.10730.84
5.2.120.0430.10730.84
5.2.110.0530.08030.80
5.2.100.0470.16330.81
5.2.90.0600.13330.79
5.2.80.0500.11330.84
5.2.70.0370.14030.83
5.2.60.0470.09330.71
5.2.50.0600.11730.95
5.2.40.0630.16331.09
5.2.30.0470.17331.06
5.2.20.0230.12331.00
5.2.10.0530.08731.01
5.2.00.0400.09730.77
5.1.60.0800.15736.52
5.1.50.0230.11736.52
5.1.40.0430.09736.62
5.1.30.0230.11336.90
5.1.20.0600.17336.83
5.1.10.0570.16036.68
5.1.00.0630.11336.55
5.0.50.0600.09335.10
5.0.40.0430.11334.96
5.0.30.0470.12734.70
5.0.20.0530.10034.75
5.0.10.0400.10034.64
5.0.00.0400.14334.68
4.4.90.0300.10332.51
4.4.80.0530.09032.51
4.4.70.0370.09732.51
4.4.60.0430.10032.57
4.4.50.0300.10032.49
4.4.40.0530.10032.52
4.4.30.0400.10332.51
4.4.20.0470.09332.52
4.4.10.0370.14732.59
4.4.00.0630.10032.56
4.3.110.0400.10332.43
4.3.100.0330.09032.45
4.3.90.0430.09732.39
4.3.80.0430.09032.39
4.3.70.0400.11332.41
4.3.60.0530.15332.45
4.3.50.0430.11032.60
4.3.40.0600.09032.62
4.3.30.0600.11031.45
4.3.20.0500.10731.39
4.3.10.0570.13731.40
4.3.00.0500.09031.27

preferences:
44.03 ms | 401 KiB | 5 Q