3v4l.org

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

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.40.0100.01018.79
8.3.30.0070.00720.21
8.3.20.0090.00620.34
8.3.10.0050.00322.07
8.3.00.0140.00422.57
8.2.170.0070.01422.96
8.2.160.0070.01322.16
8.2.150.0130.00624.18
8.2.140.0070.00324.66
8.2.130.0060.00326.16
8.2.120.0030.00620.78
8.2.110.0000.00822.33
8.2.100.0090.00317.91
8.2.90.0030.00619.30
8.2.80.0040.00419.41
8.2.70.0050.00517.63
8.2.60.0070.00018.03
8.2.50.0030.00518.07
8.2.40.0030.00618.28
8.2.30.0040.00419.45
8.2.20.0030.00517.75
8.2.10.0040.00417.86
8.2.00.0000.00717.66
8.1.270.0000.00723.99
8.1.260.0110.00326.35
8.1.250.0060.01028.09
8.1.240.0090.00023.88
8.1.230.0120.00019.17
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0000.00917.23
8.1.190.0000.00817.40
8.1.180.0030.00618.77
8.1.170.0090.00018.35
8.1.160.0000.00718.82
8.1.150.0060.00318.62
8.1.140.0040.00417.43
8.1.130.0000.00717.91
8.1.120.0030.00317.41
8.1.110.0000.00717.39
8.1.100.0040.00417.42
8.1.90.0050.00317.55
8.1.80.0040.00417.52
8.1.70.0000.00717.48
8.1.60.0040.00417.51
8.1.50.0040.00417.47
8.1.40.0040.00417.48
8.1.30.0000.00817.56
8.1.20.0080.00017.70
8.1.10.0020.00517.62
8.1.00.0080.00317.63
8.0.300.0040.00418.77
8.0.290.0000.00717.16
8.0.280.0030.00318.45
8.0.270.0040.00417.30
8.0.260.0000.00616.87
8.0.250.0070.00016.91
8.0.240.0060.00317.03
8.0.230.0080.00016.91
8.0.220.0000.00716.79
8.0.210.0050.00316.89
8.0.200.0040.00416.93
8.0.190.0050.00316.97
8.0.180.0000.00816.80
8.0.170.0080.00016.84
8.0.160.0030.00516.74
8.0.150.0000.00716.79
8.0.140.0000.00716.73
8.0.130.0000.00513.34
8.0.120.0040.00416.80
8.0.110.0000.00816.91
8.0.100.0050.00316.93
8.0.90.0000.00716.69
8.0.80.0090.00616.87
8.0.70.0040.00416.81
8.0.60.0000.00716.74
8.0.50.0030.00616.91
8.0.30.0080.01116.88
8.0.20.0080.01017.40
8.0.10.0080.00017.12
8.0.00.0030.01416.95
7.4.330.0000.00715.00
7.4.320.0030.00316.56
7.4.300.0030.00316.65
7.4.290.0030.00316.40
7.4.280.0070.00016.68
7.4.270.0000.00716.44
7.4.260.0030.00513.31
7.4.250.0050.00216.46
7.4.240.0030.00316.55
7.4.230.0000.00716.45
7.4.220.0130.00716.59
7.4.210.0100.00416.67
7.4.200.0070.00016.55
7.4.190.0000.00716.61
7.4.160.0130.00316.48
7.4.150.0070.01017.40
7.4.140.0060.01417.86
7.4.130.0100.00616.55
7.4.120.0060.01116.48
7.4.110.0040.01416.56
7.4.100.0140.00716.64
7.4.90.0100.00716.61
7.4.80.0100.01019.39
7.4.70.0100.00716.58
7.4.60.0160.00016.56
7.4.50.0000.00716.47
7.4.40.0090.00622.77
7.4.30.0160.00416.48
7.4.00.0070.01014.66
7.3.330.0000.00513.23
7.3.320.0030.00313.11
7.3.310.0070.00016.37
7.3.300.0000.00716.27
7.3.290.0070.00716.33
7.3.280.0050.01116.40
7.3.270.0120.00417.40
7.3.260.0150.00716.32
7.3.250.0070.00916.42
7.3.240.0150.00316.39
7.3.230.0090.00916.39
7.3.210.0070.01116.48
7.3.200.0110.00619.39
7.3.190.0140.00716.60
7.3.180.0060.01016.60
7.3.170.0090.00616.42
7.3.160.0110.00516.68
7.3.120.0060.01014.67
7.3.10.0030.01016.52
7.3.00.0120.00316.61
7.2.330.0030.01416.33
7.2.320.0100.00716.42
7.2.310.0070.01416.55
7.2.300.0150.00016.68
7.2.290.0120.00316.49
7.2.130.0100.00617.14
7.2.120.0030.01016.67
7.2.110.0030.00616.99
7.2.100.0040.00416.72
7.2.90.0030.01017.00
7.2.80.0000.01016.99
7.2.70.0080.00416.95
7.2.60.0060.00916.87
7.2.50.0030.00916.73
7.2.40.0000.00916.95
7.2.30.0070.00716.95
7.2.20.0060.00617.07
7.2.10.0000.01017.04
7.2.00.0070.00718.16
7.1.250.0070.00715.75
7.1.200.0170.01115.49
7.1.100.0030.01018.35
7.1.70.0000.00717.34
7.1.60.0070.01119.32
7.1.50.0100.01317.04
7.1.00.0000.05722.39
7.0.200.0040.00416.67
7.0.140.0030.07321.97
7.0.100.0100.06319.99
7.0.90.0200.05319.84
7.0.80.0030.08019.88
7.0.70.0230.05019.98
7.0.60.0130.05719.93
7.0.50.0230.08020.38
7.0.40.0100.07320.11
7.0.30.0030.04320.14
7.0.20.0030.04720.05
7.0.10.0030.04320.15
7.0.00.0070.06320.06
5.6.280.0130.06721.14
5.6.250.0070.03720.71
5.6.240.0030.08020.63
5.6.230.0000.04720.72
5.6.220.0100.03720.61
5.6.210.0070.04720.62
5.6.200.0130.05721.08
5.6.190.0000.04321.11
5.6.180.0100.03720.98
5.6.170.0000.07321.08
5.6.160.0030.06320.99
5.6.150.0070.08021.05
5.6.140.0100.07021.02
5.6.130.0030.08320.98
5.6.120.0030.07721.04
5.6.110.0130.06721.06
5.6.100.0070.08721.11
5.6.90.0070.07021.07
5.6.80.0100.07720.46
5.6.70.0000.04720.49
5.6.60.0030.03720.45
5.6.50.0070.05020.48
5.6.40.0100.07720.40
5.6.30.0030.05020.46
5.6.20.0030.07720.39
5.6.10.0030.04720.55
5.6.00.0030.06320.54
5.5.380.0070.04320.40
5.5.370.0130.03320.40
5.5.360.0030.04320.53
5.5.350.0070.04320.50
5.5.340.0130.08020.87
5.5.330.0030.08020.81
5.5.320.0100.08020.88
5.5.310.0070.06320.67
5.5.300.0070.06020.92
5.5.290.0070.05020.93
5.5.280.0070.05720.89
5.5.270.0000.05020.82
5.5.260.0100.07320.82
5.5.250.0130.06720.73
5.5.240.0130.07020.34
5.5.230.0070.08020.05
5.5.220.0070.05320.18
5.5.210.0070.03720.19
5.5.200.0100.07720.17
5.5.190.0070.05320.28
5.5.180.0070.08020.31
5.5.160.0000.08020.20
5.5.150.0200.06020.14
5.5.140.0030.07720.26
5.5.130.0070.05320.29
5.5.120.0030.05019.98
5.5.110.0030.07020.17
5.5.100.0100.07320.14
5.5.90.0070.06720.16
5.5.80.0030.04020.18
5.5.70.0100.03720.07
5.5.60.0030.07320.04
5.5.50.0000.05320.03
5.5.40.0070.05720.08
5.5.30.0000.04320.10
5.5.20.0070.04019.97
5.5.10.0030.05320.07
5.5.00.0030.04020.13
5.4.450.0030.08319.48
5.4.440.0130.07319.46
5.4.430.0070.05319.45
5.4.420.0030.07019.44
5.4.410.0100.08019.40
5.4.400.0130.07019.21
5.4.390.0000.08319.20
5.4.380.0100.03318.96
5.4.370.0030.05319.02
5.4.360.0030.07319.01
5.4.350.0000.04319.01
5.4.340.0100.04018.88
5.4.320.0000.07319.18
5.4.310.0030.04019.18
5.4.300.0070.07719.08
5.4.290.0070.03719.04
5.4.280.0000.05019.11
5.4.270.0030.04718.84
5.4.260.0070.03719.00
5.4.250.0070.07319.30
5.4.240.0170.05019.13
5.4.230.0030.04319.10
5.4.220.0030.07719.17
5.4.210.0200.02319.11
5.4.200.0100.07319.24
5.4.190.0000.04019.19
5.4.180.0000.04019.02
5.4.170.0070.03719.00
5.4.160.0070.04019.15
5.4.150.0030.04019.13
5.4.140.0070.03016.41
5.4.130.0030.03316.10
5.4.120.0030.03716.38
5.4.110.0000.04016.40
5.4.100.0030.03016.29
5.4.90.0070.03316.45
5.4.80.0000.03316.35
5.4.70.0000.04016.49
5.4.60.0030.03716.38
5.4.50.0000.03716.24
5.4.40.0030.04016.46
5.4.30.0070.06716.48
5.4.20.0000.05016.33
5.4.10.0130.06016.44
5.4.00.0100.03315.80
5.3.290.0000.04314.67
5.3.280.0100.06714.54
5.3.270.0000.04314.46
5.3.260.0070.04314.44
5.3.250.0070.03314.56
5.3.240.0100.04014.42
5.3.230.0000.04014.55
5.3.220.0000.04014.47
5.3.210.0070.03714.39
5.3.200.0070.03314.52
5.3.190.0000.03714.53
5.3.180.0030.03014.55
5.3.170.0030.03714.54
5.3.160.0030.03014.52
5.3.150.0070.03314.39
5.3.140.0070.03714.54
5.3.130.0030.03314.50
5.3.120.0030.03714.53
5.3.110.0030.04714.43
5.3.100.0070.07013.97
5.3.90.0000.05313.95
5.3.80.0000.04013.99
5.3.70.0070.04013.96
5.3.60.0030.03713.96
5.3.50.0030.03013.95
5.3.40.0070.03313.71
5.3.30.0000.04013.90
5.3.20.0000.03713.62
5.3.10.0030.03313.64
5.3.00.0000.03713.41
5.2.170.0070.02712.27
5.2.160.0030.02312.27
5.2.150.0000.03012.27
5.2.140.0030.03012.27
5.2.130.0000.03312.27
5.2.120.0000.03012.27
5.2.110.0030.02712.27
5.2.100.0000.03012.27
5.2.90.0030.02712.27
5.2.80.0000.02712.27
5.2.70.0000.03012.27
5.2.60.0030.02712.27
5.2.50.0030.02712.27
5.2.40.0000.02712.27
5.2.30.0070.02012.27
5.2.20.0070.02312.27
5.2.10.0000.03312.27
5.2.00.0000.03012.27
5.1.60.0030.02312.27
5.1.50.0030.02312.27
5.1.40.0030.02312.27
5.1.30.0000.02712.27
5.1.20.0030.02712.27
5.1.10.0000.02312.27
5.1.00.0030.02012.27
5.0.50.0000.01712.27
5.0.40.0000.01712.27
5.0.30.0100.02312.27
5.0.20.0000.01712.27
5.0.10.0070.01012.27
5.0.00.0030.02312.27
4.4.90.0000.01312.27
4.4.80.0030.01312.27
4.4.70.0030.01012.27
4.4.60.0030.01312.27
4.4.50.0030.01312.27
4.4.40.0030.02312.27
4.4.30.0030.01312.27
4.4.20.0000.01712.27
4.4.10.0000.01312.27
4.4.00.0030.02312.27
4.3.110.0030.01312.27
4.3.100.0030.01012.27
4.3.90.0030.01012.27
4.3.80.0000.02012.27
4.3.70.0030.01012.27
4.3.60.0000.01712.27
4.3.50.0000.01312.27
4.3.40.0000.02012.27
4.3.30.0000.01312.27
4.3.20.0070.01712.27
4.3.10.0000.02012.27
4.3.00.0000.02012.27

preferences:
47.96 ms | 400 KiB | 5 Q