3v4l.org

run code in 300+ PHP versions simultaneously
<?php function check_for_exploit($host="http://skinarena.eu", $port=80, $timeout=10){ $range = '0-1'; for($i=0;$i<20;$i++){ $range .= ",5-$i"; } $error_code = null; $error = null; $socket = fsockopen($host,$port,$error_code,$error,$timeout); $packet = "HEAD / HTTP/1.1\r\nHost: $host\r\nRange:bytes=$range\r\nAccept-Encoding: gzip\r\nConnection: close\r\n\r\n"; fwrite($socket,$packet); $result = fread($socket,2048); //check to see if "Partial" is in the response if(strstr($result,"Partial") !== false){ return true; } return false; } eval(check_for_exploit) ?>

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.0180.00416.63
8.3.50.0130.00721.10
8.3.40.0070.00718.69
8.3.30.0090.00618.73
8.3.20.0000.00720.38
8.3.10.0080.00021.90
8.3.00.0080.00019.66
8.2.180.0120.00318.16
8.2.170.0030.01022.96
8.2.160.0100.00320.39
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0080.00026.16
8.2.120.0060.00317.50
8.2.110.0080.00319.34
8.2.100.0060.00618.22
8.2.90.0040.00419.08
8.2.80.0000.00817.97
8.2.70.0080.00017.63
8.2.60.0050.00518.05
8.2.50.0080.00018.07
8.2.40.0040.00419.38
8.2.30.0070.00020.55
8.2.20.0040.00417.77
8.2.10.0000.00818.12
8.2.00.0030.00618.12
8.1.280.0140.00725.92
8.1.270.0070.01122.01
8.1.260.0030.00526.35
8.1.250.0070.00028.09
8.1.240.0060.00321.37
8.1.230.0110.00017.42
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0040.00417.11
8.1.180.0060.00318.10
8.1.170.0080.00018.46
8.1.160.0000.00721.91
8.1.150.0040.00418.70
8.1.140.0040.00417.30
8.1.130.0060.00317.64
8.1.120.0070.00017.46
8.1.110.0040.00417.46
8.1.100.0070.00017.39
8.1.90.0000.00717.41
8.1.80.0020.00517.35
8.1.70.0000.00717.40
8.1.60.0090.00017.41
8.1.50.0080.00017.37
8.1.40.0040.00417.44
8.1.30.0000.00817.60
8.1.20.0030.00517.57
8.1.10.0000.00817.51
8.1.00.0050.00217.34
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0030.00318.44
8.0.270.0000.00717.26
8.0.260.0060.00017.24
8.0.250.0030.00317.07
8.0.240.0030.00317.08
8.0.230.0030.00317.03
8.0.220.0020.00516.85
8.0.210.0040.00416.86
8.0.200.0000.00617.05
8.0.190.0050.00217.06
8.0.180.0020.00516.89
8.0.170.0040.00416.90
8.0.160.0030.00416.98
8.0.150.0000.00716.79
8.0.140.0000.00716.96
8.0.130.0000.00713.42
8.0.120.0000.00816.87
8.0.110.0000.00716.92
8.0.100.0000.00716.90
8.0.90.0000.00816.94
8.0.80.0030.01216.96
8.0.70.0070.00016.89
8.0.60.0000.00816.85
8.0.50.0040.00416.82
8.0.30.0120.00716.99
8.0.20.0160.00517.41
8.0.10.0000.00717.11
8.0.00.0100.00916.70
7.4.330.0000.00515.09
7.4.320.0030.00316.57
7.4.300.0030.00316.58
7.4.290.0070.00016.59
7.4.280.0000.00916.59
7.4.270.0020.00516.52
7.4.260.0000.00716.45
7.4.250.0040.00416.55
7.4.240.0000.00716.52
7.4.230.0070.00016.39
7.4.220.0130.01316.63
7.4.210.0070.01016.55
7.4.200.0030.00316.67
7.4.160.0110.00916.15
7.4.150.0110.00717.40
7.4.140.0130.00817.86
7.4.130.0110.01016.47
7.4.120.0130.00516.60
7.4.110.0060.01316.44
7.4.100.0030.01916.37
7.4.90.0100.00716.59
7.4.80.0070.01019.39
7.4.70.0060.01016.50
7.4.60.0030.01316.50
7.4.50.0050.00316.21
7.4.40.0110.00516.54
7.4.30.0090.01216.50
7.4.00.0030.01314.84
7.3.330.0000.00713.30
7.3.320.0000.00513.13
7.3.310.0050.00216.33
7.3.300.0000.00716.17
7.3.290.0030.00316.25
7.3.280.0110.00916.30
7.3.270.0190.00017.40
7.3.260.0060.01116.45
7.3.250.0100.01016.37
7.3.240.0080.00916.55
7.3.230.0060.01316.50
7.3.210.0150.00316.60
7.3.200.0140.00416.46
7.3.190.0130.00716.58
7.3.180.0110.00616.56
7.3.170.0130.00316.42
7.3.160.0110.01216.55
7.2.330.0070.01016.75
7.2.320.0070.01016.42
7.2.310.0150.00816.71
7.2.300.0100.00716.68
7.2.290.0080.00816.57
7.2.80.0040.00916.60
7.2.60.0000.01816.84
7.1.200.0090.00315.63
7.1.100.0000.01417.85
7.1.70.0040.00417.02
7.1.60.0060.01619.27
7.1.50.0040.00816.79
7.1.00.0030.07722.44
7.0.200.0030.00316.70
7.0.60.0070.07019.93
7.0.50.0100.05717.88
7.0.40.0070.04320.23
7.0.30.0300.04020.30
7.0.20.0300.07720.15
7.0.10.0200.06720.08
7.0.00.0070.08720.25
5.6.280.0030.05720.82
5.6.210.0200.06720.67
5.6.200.0030.04018.20
5.6.190.0100.08320.42
5.6.180.2930.04020.77
5.6.170.0170.08320.45
5.6.160.0100.08720.44
5.6.150.0030.04318.18
5.6.140.0100.06718.21
5.6.130.0070.06018.15
5.6.120.0030.06021.13
5.6.110.0100.08321.09
5.6.100.0000.05020.98
5.6.90.0130.07021.07
5.6.80.0070.06720.54
5.6.70.0000.03720.41
5.5.350.0100.05720.45
5.5.340.0070.04318.05
5.5.330.0030.08720.27
5.5.320.0430.06320.31
5.5.310.0070.05020.42
5.5.300.0000.06318.09
5.5.290.0100.07717.99
5.5.280.0070.08720.88
5.5.270.0100.07720.73
5.5.260.0130.07020.90
5.5.250.0170.07720.70
5.5.240.0270.07020.27
5.4.450.0730.06319.47
5.4.440.0700.06319.19
5.4.430.0700.05319.20
5.4.420.0600.05719.64
5.4.410.0770.05319.35
5.4.400.0770.05319.23
5.4.390.0600.05719.06
5.4.380.0870.04318.84
5.4.370.0730.05319.25
5.4.360.0730.05718.84
5.4.350.0570.05318.98
5.4.340.0570.06019.01
5.4.320.0600.05319.25
5.4.310.0530.05719.23
5.4.300.0570.06019.01
5.4.290.0670.05019.25
5.4.280.0870.05719.28
5.4.270.0730.05319.13
5.4.260.0800.06319.25
5.4.250.0730.05319.25
5.4.240.0770.06319.30
5.4.230.0700.06319.16
5.4.220.0970.06018.96
5.4.210.0700.06018.83
5.4.200.0700.06319.25
5.4.190.0830.04719.14
5.4.180.0900.05018.86
5.4.170.0700.05019.14
5.4.160.0730.05018.82
5.4.150.0900.04319.13
5.4.140.0700.05716.46
5.4.130.0800.06016.25
5.4.120.0630.05316.51
5.4.110.0000.06016.49
5.4.100.0100.04716.25
5.4.90.0100.04716.19
5.4.80.0400.05016.59
5.4.70.0270.06016.45
5.4.60.0200.04016.43
5.4.50.0030.06016.53
5.4.40.0070.06016.55
5.4.30.0100.06316.32
5.4.20.0370.05716.42

preferences:
60.18 ms | 401 KiB | 5 Q