3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip = '192.168.21.0 - 192.168.21.255'; $ip = explode('-', $ip); list($lower, $upper) = $ip; $lower_dec = (float) sprintf("%u", ip2long($lower)); $upper_dec = (float) sprintf("%u", ip2long($upper)); print_r(ip2long($lower)); print_r(ip2long($upper));

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.0100.01018.31
8.3.50.0070.01016.36
8.3.40.0110.00718.86
8.3.30.0110.00320.26
8.3.20.0040.00420.30
8.3.10.0020.00522.17
8.3.00.0080.00022.27
8.2.180.0200.00016.88
8.2.170.0090.00622.96
8.2.160.0070.00722.21
8.2.150.0040.00424.18
8.2.140.0030.00624.66
8.2.130.0050.00226.16
8.2.120.0030.00620.68
8.2.110.0100.00022.20
8.2.100.0040.00717.91
8.2.90.0030.00619.30
8.2.80.0070.00019.39
8.2.70.0060.00617.25
8.2.60.0030.00617.93
8.2.50.0030.00618.07
8.2.40.0000.00818.09
8.2.30.0040.00419.57
8.2.20.0040.00417.60
8.2.10.0000.00717.76
8.2.00.0030.00517.81
8.1.270.0040.00423.99
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00024.15
8.1.230.0000.01119.18
8.1.220.0070.00017.77
8.1.210.0080.00018.77
8.1.200.0030.00617.48
8.1.190.0040.00417.53
8.1.180.0000.00818.10
8.1.170.0030.00518.65
8.1.160.0040.00418.80
8.1.150.0030.00818.57
8.1.140.0040.00417.33
8.1.130.0000.00717.90
8.1.120.0070.00017.52
8.1.110.0050.00317.38
8.1.100.0000.00717.50
8.1.90.0020.00517.54
8.1.80.0000.00717.43
8.1.70.0000.00717.50
8.1.60.0000.01017.63
8.1.50.0040.00417.57
8.1.40.0030.00517.63
8.1.30.0020.00517.77
8.1.20.0040.00417.71
8.1.10.0040.00417.63
8.1.00.0040.00717.54
8.0.300.0070.00018.77
8.0.290.0070.00017.28
8.0.280.0000.00718.46
8.0.270.0050.00317.31
8.0.260.0030.00316.74
8.0.250.0000.00716.86
8.0.240.0030.00716.86
8.0.230.0080.00016.89
8.0.220.0030.00316.81
8.0.210.0000.00716.89
8.0.200.0060.00317.00
8.0.190.0030.00316.88
8.0.180.0060.00316.89
8.0.170.0000.00816.82
8.0.160.0060.00316.95
8.0.150.0030.00416.84
8.0.140.0000.00716.76
8.0.130.0030.00313.30
8.0.120.0000.00816.85
8.0.110.0080.00016.79
8.0.100.0000.00816.70
8.0.90.0040.00416.94
8.0.80.0090.00616.78
8.0.70.0090.00016.96
8.0.60.0000.00716.97
8.0.50.0000.00716.89
8.0.30.0110.00817.08
8.0.20.0120.00717.40
8.0.10.0080.00017.14
8.0.00.0080.01016.78
7.4.330.0030.00315.15
7.4.320.0060.00016.57
7.4.300.0000.00616.58
7.4.290.0030.00316.60
7.4.280.0030.00316.61
7.4.270.0070.00016.64
7.4.260.0040.00413.35
7.4.250.0070.00016.44
7.4.240.0050.00216.60
7.4.230.0070.00016.62
7.4.220.0090.00916.63
7.4.210.0090.00616.63
7.4.200.0000.00816.48
7.4.190.0000.00716.76
7.4.160.0030.01516.38
7.4.150.0120.00617.40
7.4.140.0150.00217.86
7.4.130.0080.01216.64
7.4.120.0100.01116.53
7.4.110.0100.00716.50
7.4.100.0120.00616.42
7.4.90.0040.01216.57
7.4.80.0030.01319.39
7.4.70.0110.00616.50
7.4.60.0090.00916.39
7.4.50.0000.00716.41
7.4.40.0070.00522.77
7.4.30.0090.00816.57
7.4.00.0080.00914.96
7.3.330.0050.00013.18
7.3.320.0000.00513.05
7.3.310.0030.00316.32
7.3.300.0000.00716.36
7.3.290.0180.00016.33
7.3.280.0070.01016.33
7.3.270.0060.01017.40
7.3.260.0080.00916.50
7.3.250.0170.00516.44
7.3.240.0070.01016.38
7.3.230.0060.01016.48
7.3.210.0100.00616.59
7.3.200.0130.00319.39
7.3.190.0090.01316.37
7.3.180.0030.01316.35
7.3.170.0140.00716.30
7.3.160.0110.01116.40
7.3.120.0050.01214.85
7.3.110.0040.00714.83
7.3.100.0060.00314.66
7.3.90.0100.00614.70
7.3.80.0030.01115.05
7.3.70.0090.00014.90
7.3.60.0030.01014.80
7.3.50.0000.01315.00
7.3.40.0110.00414.65
7.3.30.0070.00714.82
7.3.20.0070.00716.41
7.3.10.0030.00916.83
7.3.00.0060.00616.60
7.2.330.0110.00716.51
7.2.320.0060.01316.64
7.2.310.0060.01116.77
7.2.300.0060.00916.33
7.2.290.0060.01016.34
7.2.250.0070.01015.19
7.2.240.0070.01015.00
7.2.230.0070.01014.92
7.2.220.0060.00914.77
7.2.210.0050.00514.81
7.2.200.0000.01015.13
7.2.190.0040.01414.72
7.2.180.0060.00615.06
7.2.170.0070.00714.82
7.1.330.0110.00415.57
7.1.320.0000.00915.86
7.1.310.0000.01715.97
7.1.300.0060.00615.46
7.1.290.0060.00615.82
7.1.280.0100.00315.76
7.1.270.0030.01115.86
7.1.260.0030.00615.80
7.1.70.0000.00716.95
7.1.60.0100.00719.32
7.1.50.0060.01516.89
7.1.00.0000.03722.34
7.0.200.0000.00716.80
7.0.140.0100.06722.11
7.0.70.0030.08021.96
7.0.60.0070.04321.82
7.0.50.0130.07722.21
7.0.40.0070.06020.16
7.0.30.0030.08320.02
7.0.20.0030.06719.98
7.0.10.0030.09020.02
7.0.00.0030.08020.05
5.6.280.0070.06721.11
5.6.220.0070.08020.70
5.6.210.0100.06320.71
5.6.200.0100.06021.07
5.6.190.0000.06721.09
5.6.180.0000.08021.16
5.6.170.0030.04721.00
5.6.160.0030.09021.07
5.6.150.0070.08021.05
5.6.140.0030.09021.05
5.6.130.0070.08321.02
5.6.120.0070.08321.09
5.6.110.0000.07021.12
5.6.100.0030.08321.13
5.6.90.0030.07320.97
5.6.80.0030.08320.46
5.6.70.0070.05720.46
5.6.60.0030.08020.47
5.6.50.0100.07320.59
5.6.40.0030.08020.41
5.6.30.0030.04020.43
5.6.20.0070.03320.42
5.6.10.0030.04020.41
5.6.00.0030.03720.27
5.5.360.0030.08020.43
5.5.350.0000.07720.47
5.5.340.0030.05320.92
5.5.330.0030.06320.79
5.5.320.0070.08020.93
5.5.310.0030.06320.82
5.5.300.0100.07020.91
5.5.290.0000.06320.89
5.5.280.0030.08720.95
5.5.270.0130.07320.78
5.5.260.0070.08320.95
5.5.250.0130.07020.70
5.5.240.0000.07320.28
5.5.230.0030.08320.17
5.5.220.0200.04320.32
5.5.210.0130.07020.14
5.5.200.0030.08020.30
5.5.190.0000.06020.29
5.5.180.0000.04320.18
5.5.160.0030.03720.18
5.5.150.0000.04020.30
5.5.140.0000.04720.18
5.5.130.0030.04020.24
5.5.120.0030.04020.14
5.5.110.0030.03720.29
5.5.100.0000.04320.13
5.5.90.0070.07720.16
5.5.80.0170.05320.18
5.5.70.0030.08320.17
5.5.60.0070.07320.08
5.5.50.0000.04320.08
5.5.40.0070.03720.12
5.5.30.0030.05319.96
5.5.20.0030.04019.98
5.5.10.0000.04020.11
5.5.00.0030.04320.14
5.4.450.0030.04719.51
5.4.440.0030.08019.43
5.4.430.0030.07319.50
5.4.420.0130.07019.55
5.4.410.0000.06019.37
5.4.400.0000.08018.88
5.4.390.0100.07719.00
5.4.380.0030.07718.88
5.4.370.0100.06718.96
5.4.360.0070.07018.96
5.4.350.0000.04019.03
5.4.340.0000.04019.03
5.4.320.0030.03719.13
5.4.310.0030.03719.18
5.4.300.0030.03719.20
5.4.290.0000.04719.12
5.4.280.0030.05719.20
5.4.270.0000.04019.15
5.4.260.0000.04718.96
5.4.250.0070.07319.11
5.4.240.0030.08019.10
5.4.230.0000.05719.00
5.4.220.0030.08019.09
5.4.210.0030.05319.10
5.4.200.0030.05719.16
5.4.190.0030.06319.16
5.4.180.0030.03719.07
5.4.170.0000.04719.03
5.4.160.0000.03719.07
5.4.150.0070.03719.09
5.4.140.0000.04716.35
5.4.130.0030.03316.32
5.4.120.0000.03716.41
5.4.110.0000.03716.40
5.4.100.0030.03316.33
5.4.90.0000.03716.28
5.4.80.0070.03016.36
5.4.70.0030.03316.39
5.4.60.0030.03316.42
5.4.50.0030.03316.34
5.4.40.0030.03716.51
5.4.30.0000.06716.26
5.4.20.0000.04716.37
5.4.10.0070.04016.39
5.4.00.0030.06015.80
5.3.290.0030.04314.57
5.3.280.0000.08314.41
5.3.270.0070.06014.46
5.3.260.0070.03314.61
5.3.250.0070.03014.56
5.3.240.0030.03314.59
5.3.230.0000.03714.41
5.3.220.0000.03714.48
5.3.210.0030.05714.39
5.3.200.0070.03714.52
5.3.190.0000.04014.57
5.3.180.0000.04014.56
5.3.170.0000.04014.41
5.3.160.0000.04014.56
5.3.150.0000.05014.50
5.3.140.0030.03314.46
5.3.130.0030.05014.51
5.3.120.0070.03314.36
5.3.110.0000.03714.41
5.3.100.0000.03714.02
5.3.90.0000.06714.00
5.3.80.0000.04014.02
5.3.70.0000.03713.99
5.3.60.0030.03313.93
5.3.50.0030.03713.94
5.3.40.0100.02713.80
5.3.30.0030.05313.66
5.3.20.0000.07013.66
5.3.10.0000.05713.51
5.3.00.0070.04713.50
5.2.170.0000.03012.30
5.2.160.0000.03012.30
5.2.150.0030.02712.30
5.2.140.0000.03712.30
5.2.130.0030.02712.30
5.2.120.0030.02712.30
5.2.110.0030.02712.30
5.2.100.0030.03012.30
5.2.90.0000.03012.30
5.2.80.0000.03012.30
5.2.70.0000.03012.30
5.2.60.0070.02712.30
5.2.50.0030.04712.30
5.2.40.0000.06012.30
5.2.30.0000.06712.30
5.2.20.0070.06012.30
5.2.10.0000.06012.30
5.2.00.0000.06312.30
5.1.60.0070.05012.30
5.1.50.0070.04012.30
5.1.40.0000.05312.30
5.1.30.0000.05712.30
5.1.20.0000.05012.30
5.1.10.0030.05712.30
5.1.00.0000.05312.30
5.0.50.0030.04312.30
5.0.40.0070.03012.30
5.0.30.0030.06312.30
5.0.20.0030.03712.30
5.0.10.0000.05012.30
5.0.00.0070.05712.30
4.4.90.0000.01712.30
4.4.80.0000.03712.30
4.4.70.0030.03312.30
4.4.60.0030.03312.30
4.4.50.0070.02712.30
4.4.40.0000.04712.30
4.4.30.0000.02712.30
4.4.20.0000.02712.30
4.4.10.0000.03712.30
4.4.00.0030.05012.30
4.3.110.0000.02712.30
4.3.100.0000.03712.30
4.3.90.0030.03312.30
4.3.80.0000.03312.30
4.3.70.0000.03712.30
4.3.60.0000.03712.30
4.3.50.0000.03012.30
4.3.40.0070.04312.30
4.3.30.0100.01712.30
4.3.20.0070.02012.30
4.3.10.0000.03312.30
4.3.00.0070.02312.30

preferences:
60.52 ms | 400 KiB | 5 Q