3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ip = '192.168.21.1 - 192.168.21.254'; $ip = str_replace(' ', '',$ip); $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.60.0120.00618.38
8.3.50.0120.01121.14
8.3.40.0150.00618.68
8.3.30.0110.00720.27
8.3.20.0080.00020.38
8.3.10.0050.00321.84
8.3.00.0060.01222.65
8.2.180.0070.01418.29
8.2.170.0120.00322.96
8.2.160.0120.00922.30
8.2.150.0070.01124.18
8.2.140.0040.00424.66
8.2.130.0060.01226.16
8.2.120.0040.01521.24
8.2.110.0030.00622.20
8.2.100.0070.00417.91
8.2.90.0000.00819.26
8.2.80.0040.00419.27
8.2.70.0080.00017.63
8.2.60.0000.00818.04
8.2.50.0080.00018.07
8.2.40.0050.00520.01
8.2.30.0000.00719.50
8.2.20.0060.00317.71
8.2.10.0040.00417.86
8.2.00.0000.00917.86
8.1.280.0150.00025.92
8.1.270.0000.00723.99
8.1.260.0080.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00624.09
8.1.230.0070.00319.23
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0060.00317.36
8.1.190.0000.00917.39
8.1.180.0040.00418.89
8.1.170.0040.00418.66
8.1.160.0000.00818.82
8.1.150.0060.00318.68
8.1.140.0040.00417.38
8.1.130.0000.00917.76
8.1.120.0030.00317.36
8.1.110.0040.00417.49
8.1.100.0040.00417.46
8.1.90.0000.00717.54
8.1.80.0000.00717.48
8.1.70.0040.00417.45
8.1.60.0000.00817.52
8.1.50.0040.00417.52
8.1.40.0040.00417.50
8.1.30.0030.00617.74
8.1.20.0000.00817.60
8.1.10.0040.00417.62
8.1.00.0060.00317.44
8.0.300.0040.00418.77
8.0.290.0040.00417.30
8.0.280.0040.00418.54
8.0.270.0030.00317.36
8.0.260.0070.00016.86
8.0.250.0060.00017.08
8.0.240.0040.00416.91
8.0.230.0040.00416.93
8.0.220.0000.00716.78
8.0.210.0070.00016.88
8.0.200.0030.00316.81
8.0.190.0040.00816.88
8.0.180.0000.00716.93
8.0.170.0040.00416.92
8.0.160.0000.00716.82
8.0.150.0070.00016.80
8.0.140.0000.00716.73
8.0.130.0000.00513.33
8.0.120.0000.00716.88
8.0.110.0030.00516.77
8.0.100.0050.00316.83
8.0.90.0000.00716.79
8.0.80.0100.00716.92
8.0.70.0080.00016.84
8.0.60.0040.00416.80
8.0.50.0070.00016.88
8.0.30.0070.01116.93
8.0.20.0060.01217.40
8.0.10.0050.00217.05
8.0.00.0130.00916.75
7.4.330.0030.00315.00
7.4.320.0070.00016.55
7.4.300.0000.00616.66
7.4.290.0000.00716.48
7.4.280.0070.00316.52
7.4.270.0070.00016.44
7.4.260.0090.00013.23
7.4.250.0030.00516.64
7.4.240.0040.00316.62
7.4.230.0050.00216.63
7.4.220.0060.01216.61
7.4.210.0130.00316.73
7.4.200.0000.00816.77
7.4.190.0000.00716.71
7.4.160.0090.00616.43
7.4.150.0150.00317.40
7.4.140.0100.00717.86
7.4.130.0100.00716.69
7.4.120.0080.00816.53
7.4.110.0090.00916.48
7.4.100.0110.00816.57
7.4.90.0110.00616.60
7.4.80.0130.01319.39
7.4.70.0120.00916.50
7.4.60.0060.01016.41
7.4.50.0030.00516.32
7.4.40.0070.00422.77
7.4.30.0100.00716.73
7.4.00.0030.01414.95
7.3.330.0060.00013.12
7.3.320.0030.00313.22
7.3.310.0030.00616.32
7.3.300.0030.00316.35
7.3.290.0070.00716.39
7.3.280.0070.00816.37
7.3.270.0130.00317.40
7.3.260.0120.00416.63
7.3.250.0100.00716.48
7.3.240.0000.02016.47
7.3.230.0030.01316.59
7.3.210.0100.00616.47
7.3.200.0100.01019.39
7.3.190.0100.00716.57
7.3.180.0120.00316.50
7.3.170.0150.00316.61
7.3.160.0140.00316.38
7.3.120.0030.01014.65
7.3.10.0050.01016.69
7.3.00.0060.00816.77
7.2.330.0070.01116.39
7.2.320.0150.00316.75
7.2.310.0000.01816.64
7.2.300.0130.00316.59
7.2.290.0040.01716.64
7.2.130.0070.00816.78
7.2.120.0050.00716.86
7.2.110.0020.01416.95
7.2.100.0050.00816.94
7.2.90.0090.00516.94
7.2.80.0050.00716.86
7.2.70.0060.00816.88
7.2.60.0030.01116.87
7.2.50.0050.00616.83
7.2.40.0030.01216.90
7.2.30.0060.00716.88
7.2.20.0030.01016.80
7.2.10.0040.00816.83
7.2.00.0030.01317.73
7.1.250.0030.00815.73
7.1.200.0090.00615.77
7.1.100.0090.00018.09
7.1.70.0000.00917.22
7.1.60.0000.01117.27
7.1.50.0040.01516.96
7.1.00.0030.06722.60
7.0.200.0060.01016.58
7.0.140.0000.07722.00
7.0.60.0270.07320.05
7.0.50.0170.06317.69
7.0.40.0070.04320.27
7.0.30.0230.07720.41
7.0.20.0270.04320.18
7.0.10.0270.03720.21
7.0.00.0070.03720.02
5.6.280.0030.07020.95
5.6.210.0100.04720.78
5.6.200.0000.05018.29
5.6.190.0170.07720.66
5.6.180.0230.07720.63
5.6.170.0230.08320.73
5.6.160.0030.08720.46
5.6.150.0070.05318.14
5.6.140.0030.04018.21
5.6.130.0130.06718.28
5.6.120.0030.06321.04
5.6.110.0100.05021.06
5.6.100.0070.08321.01
5.6.90.0100.07021.16
5.6.80.0100.06720.43
5.6.70.0230.02720.43
5.5.350.0130.07020.43
5.5.340.0030.06318.09
5.5.330.0030.04320.46
5.5.320.0330.07320.33
5.5.310.0270.07020.27
5.5.300.0070.08017.98
5.5.290.0130.04717.97
5.5.280.0070.08320.78
5.5.270.0000.06720.79
5.5.260.0070.05320.82
5.5.250.0070.07720.64
5.5.240.0030.05720.26
5.4.450.0230.05019.27
5.4.440.0300.03719.48
5.4.430.0400.04719.52
5.4.420.0500.03319.62
5.4.410.0370.04319.05
5.4.400.0300.05319.30
5.4.390.0570.07018.96
5.4.380.0270.06019.19
5.4.370.0400.05719.14
5.4.360.0370.06719.15
5.4.350.0400.07018.85
5.4.340.0430.06718.81
5.4.320.0330.04319.16
5.4.310.0330.05019.23
5.4.300.0370.04019.19
5.4.290.0300.04319.12
5.4.280.0370.06018.85
5.4.270.0300.04018.86
5.4.260.0330.04019.20
5.4.250.0370.06019.13
5.4.240.0330.04018.84
5.4.230.0400.06719.14
5.4.220.0270.06719.13
5.4.210.0370.07018.86
5.4.200.0400.06719.27
5.4.190.0400.06319.14
5.4.180.0300.05319.13
5.4.170.0230.04019.27
5.4.160.0330.06718.92
5.4.150.0370.06719.11
5.4.140.0470.05716.38
5.4.130.0400.07016.33
5.4.120.0300.06716.51
5.4.110.0400.06316.52
5.4.100.0370.04316.45
5.4.90.0370.03316.27
5.4.80.0330.07316.27
5.4.70.0400.06016.11
5.4.60.0400.06016.25
5.4.50.0330.07016.51
5.4.40.0300.04716.49
5.4.30.0230.04016.46
5.4.20.0330.04316.34
5.4.10.0300.05016.34
5.4.00.0400.05315.67
5.3.290.0270.07314.57
5.3.280.0430.06714.50
5.3.270.0230.04314.55
5.3.260.0330.06314.51
5.3.250.0230.05014.65
5.3.240.0370.07014.70
5.3.230.0270.05014.55
5.3.220.0330.06314.54
5.3.210.0300.04014.40
5.3.200.0400.06014.54
5.3.190.0370.07014.55
5.3.180.0370.04314.59
5.3.170.0370.06314.39
5.3.160.0400.05714.40
5.3.150.0370.05714.39
5.3.140.0270.04014.50
5.3.130.0270.05314.52
5.3.120.0330.06714.57
5.3.110.0270.07014.57
5.3.100.0230.04013.84
5.3.90.0370.06313.85
5.3.80.0400.05313.86
5.3.70.0270.05714.00
5.3.60.0270.03313.84
5.3.50.0230.03713.74
5.3.40.0330.06713.89
5.3.30.0230.03713.79
5.3.20.0200.04313.54
5.3.10.0200.04313.65
5.3.00.0230.03313.59
5.2.170.0200.05011.00
5.2.160.0200.03010.98
5.2.150.0200.05011.05
5.2.140.0200.06311.00
5.2.130.0270.05710.95
5.2.120.0370.02710.96
5.2.110.0300.05310.93
5.2.100.0270.05010.95
5.2.90.0300.05311.12
5.2.80.0230.03711.14
5.2.70.0230.05711.18
5.2.60.0230.04710.98
5.2.50.0230.05311.17
5.2.40.0200.06010.93
5.2.30.0230.06010.81
5.2.20.0230.05710.96
5.2.10.0170.04010.86
5.2.00.0130.04010.68
5.1.60.0200.0509.96
5.1.50.0130.0239.99
5.1.40.0130.02710.05
5.1.30.0130.02710.37
5.1.20.0170.02310.30
5.1.10.0170.02310.18
5.1.00.0130.0279.98
5.0.50.0130.0178.44
5.0.40.0200.0338.34
5.0.30.0170.0378.20
5.0.20.0100.0278.17
5.0.10.0130.0278.39
5.0.00.0130.0278.28
4.4.90.0100.0307.77
4.4.80.0100.0377.77
4.4.70.0100.0177.77
4.4.60.0130.0337.77
4.4.50.0100.0137.77
4.4.40.0100.0307.77
4.4.30.0130.0207.77
4.4.20.0200.0237.77
4.4.10.0100.0377.77
4.4.00.0070.0407.77
4.3.110.0130.0207.77
4.3.100.0130.0207.77
4.3.90.0100.0177.77
4.3.80.0170.0437.77
4.3.70.0130.0207.77
4.3.60.0100.0337.77
4.3.50.0130.0377.77
4.3.40.0170.0337.77
4.3.30.0100.0337.77
4.3.20.0030.0237.77
4.3.10.0030.0177.77
4.3.00.0100.0307.77

preferences:
47.67 ms | 401 KiB | 5 Q