3v4l.org

run code in 300+ PHP versions simultaneously
<?php $filestring = file_get_contents("http://www.ipdeny.com/ipblocks/data/countries/cn.zone"); $filearray = explode("\n", $filestring); while (list($var, $line) = each($filearray)) { if (!ip_in_range($ipUser, $line)) { die('Muere nigereano'); } }

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.0080.00818.81
8.3.50.0090.00916.50
8.3.40.0070.00718.82
8.3.30.0090.00619.00
8.3.20.0060.00320.54
8.3.10.0080.00022.01
8.3.00.0060.00322.02
8.2.180.0060.00918.79
8.2.170.0120.00322.96
8.2.160.0060.00920.65
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0040.00422.37
8.2.120.0050.00326.35
8.2.110.0070.00319.39
8.2.100.0080.00418.34
8.2.90.0070.00319.36
8.2.80.0030.00517.97
8.2.70.0030.00617.75
8.2.60.0040.00417.93
8.2.50.0030.00618.18
8.2.40.0000.00820.80
8.2.30.0000.00719.38
8.2.20.0000.00818.18
8.2.10.0060.00318.24
8.2.00.0040.00418.45
8.1.280.0070.00725.92
8.1.270.0040.00420.55
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0090.00022.33
8.1.230.0090.00317.77
8.1.220.0040.00417.79
8.1.210.0040.00418.77
8.1.200.0030.00717.48
8.1.190.0050.00517.38
8.1.180.0040.00418.10
8.1.170.0080.00318.60
8.1.160.0000.00719.07
8.1.150.0040.00420.43
8.1.140.0000.00819.56
8.1.130.0000.00719.27
8.1.120.0050.00217.62
8.1.110.0030.00517.41
8.1.100.0030.00517.44
8.1.90.0040.00317.42
8.1.80.0040.00417.50
8.1.70.0030.00517.54
8.1.60.0050.00317.75
8.1.50.0000.00817.62
8.1.40.0000.00817.63
8.1.30.0040.00417.75
8.1.20.0060.00317.79
8.1.10.0040.00417.58
8.1.00.0000.00917.58
8.0.300.0040.00418.77
8.0.290.0040.00416.75
8.0.280.0050.00318.63
8.0.270.0070.00017.44
8.0.260.0030.00517.32
8.0.250.0040.00417.04
8.0.240.0040.00417.14
8.0.230.0040.00417.12
8.0.220.0070.00017.08
8.0.210.0030.00317.16
8.0.200.0000.00617.21
8.0.190.0040.00417.17
8.0.180.0030.00617.22
8.0.170.0030.00517.21
8.0.160.0000.00717.05
8.0.150.0000.00717.07
8.0.140.0000.00717.07
8.0.130.0050.00313.54
8.0.120.0000.00817.12
8.0.110.0040.00417.12
8.0.100.0000.00817.09
8.0.90.0050.00317.17
8.0.80.0200.00317.13
8.0.70.0040.00417.07
8.0.60.0040.00417.15
8.0.50.0000.00817.24
8.0.30.0070.01517.18
8.0.20.0120.01417.44
8.0.10.0040.00417.14
8.0.00.0160.00717.11
7.4.330.0050.00015.55
7.4.320.0030.00316.64
7.4.300.0000.00716.60
7.4.290.0000.00816.74
7.4.280.0050.00516.54
7.4.270.0000.00716.74
7.4.260.0000.00816.68
7.4.250.0000.00816.59
7.4.240.0070.00016.85
7.4.230.0030.00516.65
7.4.220.0100.01616.86
7.4.210.0090.01416.84
7.4.200.0070.00016.82
7.4.160.0050.01516.77
7.4.150.0160.01017.40
7.4.140.0090.01017.86
7.4.130.0100.00816.76
7.4.120.0120.01316.78
7.4.110.0130.00716.63
7.4.100.0100.00716.84
7.4.90.0060.01216.73
7.4.80.0100.00719.39
7.4.70.0210.00016.73
7.4.60.0140.00316.74
7.4.50.0110.00316.63
7.4.40.0100.00716.68
7.4.30.0030.01616.87
7.4.00.0120.00515.29
7.3.330.0000.00613.62
7.3.320.0000.00513.38
7.3.310.0000.00816.52
7.3.300.0020.00516.65
7.3.290.0090.00516.66
7.3.280.0090.01116.64
7.3.270.0120.00817.40
7.3.260.0070.01216.57
7.3.250.0130.00716.46
7.3.240.0090.00916.53
7.3.230.0100.01016.42
7.3.210.0120.00616.39
7.3.200.0120.00916.42
7.3.190.0140.00716.81
7.3.180.0060.01016.47
7.3.170.0140.00616.66
7.3.160.0030.01416.59
7.3.120.0040.01514.96
7.3.110.0120.00615.03
7.3.100.0100.00315.07
7.3.90.0000.01315.25
7.3.80.0070.00715.23
7.3.70.0090.00314.82
7.3.60.0030.01314.98
7.3.50.0120.00014.98
7.3.40.0060.00615.20
7.3.30.0110.00615.05
7.3.20.0030.01416.67
7.3.10.0070.00716.77
7.3.00.0080.00516.91
7.2.330.0070.01116.66
7.2.320.0150.00916.86
7.2.310.0040.01516.85
7.2.300.0060.01616.50
7.2.290.0110.00716.69
7.2.250.0100.01014.88
7.2.240.0080.00814.94
7.2.230.0070.01115.05
7.2.220.0060.00915.11
7.2.210.0030.00715.20
7.2.200.0090.00315.15
7.2.190.0090.00615.27
7.2.180.0030.01015.32
7.2.170.0090.00615.31
7.2.130.0000.01116.86
7.2.120.0040.01516.78
7.2.110.0040.01316.86
7.2.100.0130.00317.20
7.2.90.0070.00717.14
7.2.80.0070.00516.99
7.2.70.0080.00616.82
7.2.60.0110.00516.89
7.2.50.0090.00617.21
7.2.40.0030.00817.20
7.2.30.0060.01216.96
7.2.20.0030.01017.02
7.2.10.0060.00317.14
7.2.00.0060.00818.18
7.1.330.0070.00716.13
7.1.320.0080.00815.83
7.1.310.0120.00315.68
7.1.300.0130.00615.97
7.1.290.0080.00815.80
7.1.280.0030.01315.91
7.1.270.0060.00615.79
7.1.260.0070.00715.98
7.1.250.0100.00716.02
7.1.200.0260.00015.97
7.1.100.0140.01117.90
7.1.70.0090.00317.42
7.1.60.0080.00617.40
7.1.50.0060.01116.95
7.1.40.0080.00416.99
7.1.30.0040.01117.02
7.1.20.0000.01717.05
7.1.10.0060.00816.67
7.1.00.0110.00716.77
7.0.200.0000.01016.96
7.0.190.0070.01117.02
7.0.180.0030.01016.67
7.0.170.0100.00316.46
7.0.160.0040.00816.50
7.0.150.0000.01316.35
7.0.140.0110.00416.56
7.0.130.0090.00916.39
7.0.120.0080.00816.66
7.0.110.0050.01016.57
7.0.100.0160.00516.52
7.0.90.0110.00516.30
7.0.80.0100.00316.50
7.0.70.0040.00916.51
7.0.60.0040.00816.13
7.0.50.0160.00416.58
7.0.40.0080.00414.78
7.0.30.0080.00414.78
7.0.20.0080.00814.78
7.0.10.0050.00814.78
7.0.00.0000.01014.78

preferences:
68.03 ms | 401 KiB | 5 Q