3v4l.org

run code in 300+ PHP versions simultaneously
<?php $socket = @fsockopen("ssl://www.google.com", 80); if (!$socket) { die("spojenie vypadlo"); } $httpReq = "GET / HTTP/1.1\n"; $httpReq .= "Host: www.google.com\n"; $httpReq .= "Accept: */*\n"; $httpReq .= "Kubo2Sniffer 1.0 (+http://kubo2.wz.sk)\n\n"; fwrite($socket, $httpReq); while($line = fgets($socket) !== "\n\n") { echo $line; } fclose($socket);

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.0040.01116.88
8.3.50.0100.00721.96
8.3.40.0070.00718.76
8.3.30.0070.00719.08
8.3.20.0040.00420.20
8.3.10.0040.00423.53
8.3.00.0120.00320.81
8.2.180.0000.01516.38
8.2.170.0110.01122.96
8.2.160.0000.01420.29
8.2.150.0040.00424.18
8.2.140.0000.00824.66
8.2.130.0130.00626.16
8.2.120.0080.00022.26
8.2.110.0090.00022.10
8.2.100.0060.00617.91
8.2.90.0040.00419.11
8.2.80.0050.00317.97
8.2.70.0040.00417.63
8.2.60.0040.00418.03
8.2.50.0080.00018.07
8.2.40.0030.00518.22
8.2.30.0050.00217.97
8.2.20.0050.00217.70
8.2.10.0050.00317.67
8.2.00.0050.00317.75
8.1.280.0110.01125.92
8.1.270.0000.00823.98
8.1.260.0080.00026.35
8.1.250.0000.00728.09
8.1.240.0080.00023.87
8.1.230.0070.00418.97
8.1.220.0090.00017.74
8.1.210.0050.00318.77
8.1.200.0070.00317.35
8.1.190.0060.00317.52
8.1.180.0000.00818.10
8.1.170.0040.00418.71
8.1.160.0040.00422.00
8.1.150.0030.00518.70
8.1.140.0040.00417.45
8.1.130.0030.00317.92
8.1.120.0000.00717.39
8.1.110.0040.00417.48
8.1.100.0040.00317.36
8.1.90.0080.00017.45
8.1.80.0000.00617.46
8.1.70.0070.00017.41
8.1.60.0040.00417.59
8.1.50.0040.00417.41
8.1.40.0040.00417.51
8.1.30.0040.00417.44
8.1.20.0050.00317.65
8.1.10.0000.00717.48
8.1.00.0100.00017.33
8.0.300.0080.00018.77
8.0.290.0000.00817.18
8.0.280.0000.00818.44
8.0.270.0000.00717.26
8.0.260.0030.00316.75
8.0.250.0030.00317.00
8.0.240.0040.00416.89
8.0.230.0000.00717.02
8.0.220.0040.00416.90
8.0.210.0040.00416.86
8.0.200.0000.00617.00
8.0.190.0000.00716.94
8.0.180.0070.00016.93
8.0.170.0050.00316.95
8.0.160.0040.00417.03
8.0.150.0030.00316.84
8.0.140.0000.00716.89
8.0.130.0030.00313.44
8.0.120.0070.00016.80
8.0.110.0040.00416.88
8.0.100.0000.00716.94
8.0.90.0040.00416.89
8.0.80.0140.00716.91
8.0.70.0080.00016.96
8.0.60.0060.00316.82
8.0.50.0040.00416.82
8.0.30.0100.00917.09
8.0.20.0140.00517.40
8.0.10.0040.00417.02
8.0.00.0140.00716.73
7.4.330.0000.00515.12
7.4.320.0040.00416.63
7.4.300.0000.00716.42
7.4.290.0000.00716.62
7.4.280.0060.00316.54
7.4.270.0030.00316.40
7.4.260.0030.00316.43
7.4.250.0040.00416.57
7.4.240.0020.00516.54
7.4.230.0000.00716.52
7.4.220.0090.00616.56
7.4.210.0060.01016.54
7.4.200.0040.00416.63
7.4.190.0070.00016.40
7.4.160.0110.00616.38
7.4.150.0070.01117.40
7.4.140.0110.00617.86
7.4.130.0120.00616.46
7.4.120.0090.00816.42
7.4.110.0060.01116.41
7.4.100.0100.01416.46
7.4.90.0030.01416.63
7.4.80.0040.01419.39
7.4.70.0130.00316.38
7.4.60.0130.00416.38
7.4.50.0000.00916.04
7.4.40.0110.00722.77
7.4.30.0030.01216.36
7.4.00.0060.00914.75
7.3.330.0060.00013.06
7.3.320.0000.00513.05
7.3.310.0070.00016.21
7.3.300.0000.00616.26
7.3.290.0070.00716.27
7.3.280.0080.00716.23
7.3.270.0080.00817.40
7.3.260.0070.01016.29
7.3.250.0120.00716.22
7.3.240.0150.00316.43
7.3.230.0030.01316.39
7.3.210.0090.00916.18
7.3.200.0070.01019.39
7.3.190.0060.01616.41
7.3.180.0060.00916.30
7.3.170.0090.00616.48
7.3.160.0000.01516.36
7.3.120.0100.00315.00
7.2.330.0070.01016.66
7.2.320.0070.01016.51
7.2.310.0140.00816.59
7.2.300.0060.01016.32
7.2.290.0130.00916.56
7.2.60.0110.01116.53
7.2.00.0070.01119.54
7.1.200.0050.00515.48
7.1.100.0000.01018.32
7.1.70.0000.00817.46
7.1.60.0070.00719.29
7.1.50.0140.01117.34
7.1.00.0030.07322.69
7.0.200.0000.00717.08
7.0.140.0000.07722.54
7.0.100.0270.04720.31
7.0.90.0230.07720.41
7.0.80.0030.04320.38
7.0.70.0100.06320.29
7.0.60.0170.06020.25
7.0.50.0030.05020.75
7.0.40.0170.06320.44
7.0.30.0070.07720.29
7.0.20.0070.08320.50
7.0.10.0100.03320.53
7.0.00.0100.03720.42
5.6.280.0000.08021.41
5.6.250.0100.05720.98
5.6.240.0070.06720.86
5.6.230.0070.07720.95
5.6.220.0030.05020.96
5.6.210.0030.05020.91
5.6.200.0100.06021.39
5.6.190.0070.06321.50
5.6.180.0070.07321.42
5.6.170.0070.08021.39
5.6.160.0030.04321.48
5.6.150.0030.04321.23
5.6.140.0030.06021.49
5.6.130.0030.08021.58
5.6.120.0070.04021.50
5.6.110.0030.04321.51
5.6.100.0100.07021.32
5.6.90.0030.04321.37
5.6.80.0000.05720.73
5.6.70.0130.03020.77
5.6.60.0030.04020.73
5.6.50.0130.05720.91
5.6.40.0100.08020.75
5.6.30.0070.07720.69
5.6.20.0070.05320.93
5.6.10.0070.03720.85
5.6.00.0100.03720.81
5.5.380.0070.08020.79
5.5.370.0070.04720.79
5.5.360.0000.05720.76
5.5.350.0130.05720.63
5.5.340.0070.05721.10
5.5.330.0130.07721.27
5.5.320.0100.05321.13
5.5.310.0000.04320.99
5.5.300.0130.07721.19
5.5.290.0070.08721.17
5.5.280.0100.07721.23
5.5.270.0000.06021.23
5.5.260.0030.07021.08
5.5.250.0100.06321.14
5.5.240.0130.05320.56
5.5.230.0030.08320.55
5.5.220.0070.06720.71
5.5.210.0000.04020.39
5.5.200.0070.08020.57
5.5.190.0030.08020.63
5.5.180.0100.06720.37
5.5.160.0030.04020.53
5.5.150.0030.04320.43
5.5.140.0030.07320.59
5.5.130.0070.07020.51
5.5.120.0070.06320.63
5.5.110.0030.08020.52
5.5.100.0100.05720.45
5.5.90.0070.06720.43
5.5.80.0030.06720.56
5.5.70.0000.04020.44
5.5.60.0070.06020.50
5.5.50.0070.07320.40
5.5.40.0100.03720.28
5.5.30.0070.07720.30
5.5.20.0070.06320.27
5.5.10.0030.08020.26
5.5.00.0070.03720.45
5.4.450.0100.08319.89
5.4.440.0000.08319.80
5.4.430.0130.05319.70
5.4.420.0070.06719.88
5.4.410.0030.04719.56
5.4.400.0100.06019.48
5.4.390.0000.08019.29
5.4.380.0000.07019.59
5.4.370.0100.05719.35
5.4.360.0070.03719.59
5.4.350.0130.05719.39
5.4.340.0130.07719.39
5.4.320.0030.04019.47
5.4.310.0100.07019.48
5.4.300.0070.04319.56
5.4.290.0200.06319.34
5.4.280.0000.04019.18
5.4.270.0000.04319.16
5.4.260.0100.07319.25
5.4.250.0070.06319.36
5.4.240.0030.03719.16
5.4.230.0070.05019.47
5.4.220.0030.07719.17
5.4.210.0000.05319.25
5.4.200.0000.04319.38
5.4.190.0030.06319.36
5.4.180.0030.08019.43
5.4.170.0070.07719.26
5.4.160.0070.03319.28
5.4.150.0100.07019.42
5.4.140.0030.07316.07
5.4.130.0130.06316.27
5.4.120.0130.05316.37
5.4.110.0100.07716.25
5.4.100.0070.07016.21
5.4.90.0000.04016.36
5.4.80.0100.06016.20
5.4.70.0030.03716.36
5.4.60.0030.03716.25
5.4.50.0070.06716.31
5.4.40.0030.03316.46
5.4.30.0070.06316.40
5.4.20.0070.04016.33
5.4.10.0170.06316.34
5.4.00.0100.06015.81
5.3.290.0030.04014.64
5.3.280.0130.02714.52
5.3.270.0000.08014.44
5.3.260.0030.03714.56
5.3.250.0000.03714.56
5.3.240.0100.06314.51
5.3.230.0070.07314.58
5.3.220.0030.05714.53
5.3.210.0070.04314.50
5.3.200.0030.07314.55
5.3.190.0100.06314.53
5.3.180.0070.03014.42
5.3.170.0130.07014.42
5.3.160.0070.07014.51
5.3.150.0000.05714.56
5.3.140.0000.04014.53
5.3.130.0030.06014.48
5.3.120.0070.03314.49
5.3.110.0000.04714.50
5.3.100.0070.07713.86
5.3.90.0000.07714.01
5.3.80.0000.04013.96
5.3.70.0070.07713.97
5.3.60.0030.08014.00
5.3.50.0030.06713.71
5.3.40.0030.03713.88
5.3.30.0070.05313.86
5.3.20.0130.06013.67
5.3.10.0100.07013.57
5.3.00.0070.05713.56
5.2.170.0030.06311.12
5.2.160.0070.05311.16
5.2.150.0070.02711.06
5.2.140.0030.03711.12
5.2.130.0070.05711.13
5.2.120.0000.03711.12
5.2.110.0130.02011.17
5.2.100.0030.05711.09
5.2.90.0030.04011.14
5.2.80.0100.05710.96
5.2.70.0070.04711.16
5.2.60.0000.05010.99
5.2.50.0030.02710.82
5.2.40.0000.04311.04
5.2.30.0030.02710.76
5.2.20.0030.05310.98
5.2.10.0070.04710.91
5.2.00.0100.05010.71
5.1.60.0070.03710.04
5.1.50.0000.0309.97
5.1.40.0030.03710.00
5.1.30.0030.03310.19
5.1.20.0030.04310.43
5.1.10.0000.05710.05
5.1.00.0070.04310.11
5.0.50.0100.0438.83
5.0.40.0070.0438.83
5.0.30.0030.0378.83
5.0.20.0100.0378.83
5.0.10.0000.0278.83
5.0.00.0070.0578.83
4.4.90.0030.0308.83
4.4.80.0000.0278.83
4.4.70.0030.0338.83
4.4.60.0100.0278.83
4.4.50.0000.0308.83
4.4.40.0000.0338.83
4.4.30.0070.0308.83
4.4.20.0030.0338.83
4.4.10.0030.0378.83
4.4.00.0070.0508.83
4.3.110.0030.0338.83
4.3.100.0000.0378.83
4.3.90.0000.0308.83
4.3.80.0030.0478.83
4.3.70.0030.0238.83
4.3.60.0000.0378.83
4.3.50.0070.0338.83
4.3.40.0070.0238.83
4.3.30.0030.0238.83
4.3.20.0030.0278.83
4.3.10.0000.0378.83
4.3.00.0030.0338.83

preferences:
39.43 ms | 401 KiB | 5 Q