3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fsockopen("writecodeonline.com", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno)<br />\n"; } else { $out = "GET / HTTP/1.1\r\n"; $out .= "Host: www.investas.ru\r\n"; $out .= "Connection: Close\r\n\r\n"; fwrite($fp, $out); while (!feof($fp)) { echo fgets($fp, 128); } fclose($fp); } ?>

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.0140.00318.55
8.3.50.0130.00421.33
8.3.40.0140.00719.04
8.3.30.0030.01320.63
8.3.20.0120.00620.59
8.3.10.0170.00021.32
8.3.00.0120.00622.65
8.2.180.0100.01316.75
8.2.170.0180.00422.96
8.2.160.0140.00422.43
8.2.150.0060.01224.18
8.2.140.0110.00724.66
8.2.130.0070.00726.16
8.2.120.0070.00720.90
8.2.110.0060.00320.79
8.2.100.0060.00617.97
8.2.90.0030.00519.14
8.2.80.0040.00417.97
8.2.70.0000.00817.75
8.2.60.0050.00318.05
8.2.50.0050.00318.10
8.2.40.0000.01018.34
8.2.30.0040.00419.59
8.2.20.0000.00717.84
8.2.10.0040.00417.85
8.2.00.0040.00417.82
8.1.280.0090.00925.92
8.1.270.0050.00323.99
8.1.260.0100.00626.35
8.1.250.0070.00728.09
8.1.240.0070.01424.17
8.1.230.0040.00717.83
8.1.220.0040.00417.91
8.1.210.0060.00318.77
8.1.200.0030.00717.50
8.1.190.0050.00317.35
8.1.180.0030.00618.10
8.1.170.0030.00518.76
8.1.160.0070.00019.09
8.1.150.0000.00918.85
8.1.140.0080.00017.58
8.1.130.0070.00018.03
8.1.120.0030.00817.73
8.1.110.0040.00417.65
8.1.100.0030.00517.61
8.1.90.0040.00417.56
8.1.80.0030.00317.60
8.1.70.0030.00317.61
8.1.60.0000.00917.75
8.1.50.0070.00017.64
8.1.40.0040.00417.65
8.1.30.0040.00417.73
8.1.20.0000.01017.71
8.1.10.0040.00417.63
8.1.00.0030.00617.48
8.0.300.0000.00818.77
8.0.290.0080.00017.00
8.0.280.0000.00818.70
8.0.270.0030.00317.40
8.0.260.0000.00717.15
8.0.250.0070.00317.11
8.0.240.0070.00317.20
8.0.230.0030.00317.13
8.0.220.0030.00317.18
8.0.210.0070.00317.04
8.0.200.0000.00717.16
8.0.190.0070.00017.07
8.0.180.0000.00717.11
8.0.170.0040.00417.22
8.0.160.0040.00417.13
8.0.150.0040.00417.03
8.0.140.0060.00317.13
8.0.130.0000.00613.64
8.0.120.0050.00317.14
8.0.110.0030.00517.22
8.0.100.0040.00416.98
8.0.90.0000.00717.16
8.0.80.0060.00917.30
8.0.70.0050.00217.10
8.0.60.0030.00517.17
8.0.50.0050.00317.15
8.0.30.0100.00917.31
8.0.20.0100.01017.40
8.0.10.0040.00417.19
8.0.00.0100.01217.05
7.4.330.0000.00517.04
7.4.320.0070.00416.75
7.4.300.0060.00016.65
7.4.290.0000.00816.72
7.4.280.0000.00716.66
7.4.270.0030.00316.66
7.4.260.0000.00613.47
7.4.250.0030.00516.71
7.4.240.0030.00416.86
7.4.230.0000.00816.70
7.4.220.0130.01316.72
7.4.210.0050.01116.86
7.4.200.0050.00316.65
7.4.190.0000.00716.96
7.4.160.0140.00316.76
7.4.150.0090.00917.40
7.4.140.0150.00517.86
7.4.130.0060.01116.72
7.4.120.0100.01016.74
7.4.110.0110.00716.75
7.4.100.0100.00716.94
7.4.90.0090.00916.73
7.4.80.0140.00319.39
7.4.70.0180.00016.81
7.4.60.0090.00916.71
7.4.50.0030.00516.93
7.4.40.0090.00922.77
7.4.30.0140.00916.71
7.4.00.0100.00615.34
7.3.330.0000.00613.42
7.3.320.0000.00513.48
7.3.310.0070.00016.60
7.3.300.0080.00016.57
7.3.290.0070.00716.66
7.3.280.0080.00916.51
7.3.270.0100.01017.40
7.3.260.0140.00318.24
7.3.250.0110.00816.67
7.3.240.0140.00716.79
7.3.230.0040.01416.62
7.3.210.0120.00916.71
7.3.200.0060.01619.39
7.3.190.0080.00816.76
7.3.180.0130.00616.68
7.3.170.0130.00416.74
7.3.160.0130.01016.78
7.3.120.0130.00315.19
7.2.330.0030.01516.85
7.2.320.0070.01116.80
7.2.310.0160.00416.51
7.2.300.0110.00816.79
7.2.290.0070.01016.58
7.2.60.0070.00716.63
7.2.00.0030.01019.47
7.1.200.0110.00515.58
7.1.100.0040.00818.45
7.1.70.0030.00917.34
7.1.60.0090.01519.17
7.1.50.0070.01816.89
7.1.00.0100.07322.65
7.0.200.0080.00016.96
7.0.140.0030.07322.37
7.0.60.0030.05320.27
7.0.50.0070.08018.14
7.0.40.0200.07320.57
7.0.30.0270.05720.51
7.0.20.0370.05320.46
7.0.10.0030.08320.47
7.0.00.0100.07020.46
5.6.280.0100.07021.27
5.6.210.0130.04721.04
5.6.200.0100.07718.57
5.6.190.0130.08021.02
5.6.180.0200.08321.03
5.6.170.0100.04720.86
5.6.160.0000.07020.80
5.6.150.0130.07718.46
5.6.140.0130.07718.56
5.6.130.0030.05318.47
5.6.120.0000.04321.25
5.6.110.0030.09321.49
5.6.100.0070.07721.52
5.6.90.0100.04021.26
5.6.80.0070.08020.88
5.5.350.0230.05020.66
5.5.340.0100.07718.25
5.5.330.0130.03320.90
5.5.320.0300.04720.62
5.5.310.0230.03720.64
5.5.300.0030.05318.26
5.5.290.0100.05018.36
5.5.280.0170.06321.05
5.5.270.0100.07321.27
5.5.260.0070.07021.27
5.5.250.0170.08321.20
5.5.240.0170.07320.63
5.4.450.2970.04020.13
5.4.440.2630.03319.91
5.4.430.2600.03320.00
5.4.420.2370.03720.05
5.4.410.2370.03319.78
5.4.400.2300.03319.59
5.4.390.2770.03019.57
5.4.380.2500.04319.57
5.4.370.2470.04319.62
5.4.360.2530.04319.56
5.4.350.2200.04019.56
5.4.340.2400.03719.70
5.4.320.2270.03719.68
5.4.310.2200.04319.71
5.4.300.2470.03719.72
5.4.290.2470.04019.63
5.4.280.2500.04019.56
5.4.270.2400.03319.59
5.4.260.1830.03019.59
5.4.250.2600.03319.71
5.4.240.2730.03719.71
5.4.230.2370.03019.55
5.4.220.2230.04019.63
5.4.210.1830.04019.55
5.4.200.0070.04019.59
5.4.190.0000.04319.66
5.4.180.1570.04019.57
5.4.170.2030.03719.71
5.4.160.2330.04019.71
5.4.150.2270.04019.64
5.4.140.2300.03317.07
5.4.130.2330.03717.01
5.4.120.2370.03317.14
5.4.110.2470.02316.95
5.4.100.2700.03716.92
5.4.90.2400.02717.04
5.4.80.2170.03316.98
5.4.70.0970.03716.90
5.4.60.0030.03317.01
5.4.50.0030.04316.91
5.4.40.0070.03317.00
5.4.30.2000.03716.91
5.4.20.2300.03716.88
5.4.10.2000.03317.02
5.4.00.1930.04016.50
5.3.290.2130.04014.95
5.3.280.2130.03715.03
5.3.270.2130.04015.05
5.3.260.2570.02714.79
5.3.250.2530.03714.91
5.3.240.2500.04015.04
5.3.230.1700.03715.00
5.3.220.2030.03714.96
5.3.210.2270.02715.05
5.3.200.2030.04014.84
5.3.190.0530.03714.78
5.3.180.0300.03715.07
5.3.170.0230.03714.75
5.3.160.0230.04014.77
5.3.150.0230.05014.72
5.3.140.0270.03714.84
5.3.130.0230.05314.98
5.3.120.0300.07014.98
5.3.110.0230.04314.96
5.3.100.0370.06714.38
5.3.90.0370.06014.45
5.3.80.0200.04014.45
5.3.70.0370.06014.28
5.3.60.0300.05314.44
5.3.50.0200.04014.24
5.3.40.0300.04314.14
5.3.30.0330.06014.14
5.3.20.0370.06314.14
5.3.10.0170.04313.95
5.3.00.0200.04013.95
5.2.170.0270.02311.62
5.2.160.0300.05711.38
5.2.150.0330.04711.41
5.2.140.0230.02311.46
5.2.130.0170.03011.36
5.2.120.0230.02711.53
5.2.110.0230.06011.57
5.2.100.0270.05311.57
5.2.90.0270.02711.33
5.2.80.0300.05711.43
5.2.70.0270.03711.29
5.2.60.0370.04011.30
5.2.50.0270.03011.20
5.2.40.0170.03711.18
5.2.30.0230.03011.40
5.2.20.0130.03311.38
5.2.10.0300.04711.09
5.2.00.0330.04011.15
5.1.60.0330.04310.19
5.1.50.0270.04010.35
5.1.40.0230.03710.34
5.1.30.0330.04310.49
5.1.20.0230.05010.77
5.1.10.0330.04710.36
5.1.00.0270.05310.52
5.0.50.0170.0438.84
5.0.40.0100.0338.86
5.0.30.0170.0408.50
5.0.20.0130.0438.58
5.0.10.0200.0378.53
5.0.00.0170.0508.61
4.4.90.0100.0337.96
4.4.80.0130.0237.96
4.4.70.0130.0277.96
4.4.60.0200.0207.96
4.4.50.0230.0177.96
4.4.40.0130.0477.96
4.4.30.0070.0377.96
4.4.20.0070.0237.96
4.4.10.0130.0207.96
4.4.00.0070.0437.96
4.3.110.0070.0207.96
4.3.100.0100.0337.96
4.3.90.0130.0137.96
4.3.80.0100.0537.96
4.3.70.0100.0237.96
4.3.60.0170.0277.96
4.3.50.0130.0337.96
4.3.40.0230.0377.96
4.3.30.0170.0207.96
4.3.20.0070.0207.96
4.3.10.0070.0307.96
4.3.00.0100.0277.96

preferences:
49.13 ms | 401 KiB | 5 Q