3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fsockopen("www.jb51.net", 80, $errno, $errstr, 30); if (!$fp) { echo "$errstr ($errno) "; } else { $out = "get / http/1.1 "; $out .= "host: www.jb51.net"; $out .= "connection: close "; 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.0150.00618.43
8.3.50.0110.01122.05
8.3.40.0170.00019.09
8.3.30.0100.01018.93
8.3.20.0150.00420.58
8.3.10.0150.00420.86
8.3.00.0040.01223.98
8.2.180.0040.01816.88
8.2.170.0170.00322.96
8.2.160.0070.01422.43
8.2.150.0180.00724.18
8.2.140.0080.00824.66
8.2.130.0060.01321.19
8.2.120.0130.00726.35
8.2.110.0080.00319.43
8.2.100.0080.00318.18
8.2.90.0080.00019.46
8.2.80.0050.00317.97
8.2.70.0060.00317.88
8.2.60.0040.00418.05
8.2.50.0040.00418.09
8.2.40.0000.00820.79
8.2.30.0040.00419.61
8.2.20.0040.00417.98
8.2.10.0080.00018.41
8.2.00.0000.00718.31
8.1.280.0070.01725.92
8.1.270.0040.01522.09
8.1.260.0130.00728.09
8.1.250.0140.00428.09
8.1.240.0030.01624.08
8.1.230.0070.00417.82
8.1.220.0050.00317.80
8.1.210.0000.00818.77
8.1.200.0030.00617.50
8.1.190.0100.00017.50
8.1.180.0050.00318.10
8.1.170.0040.00718.77
8.1.160.0060.00320.94
8.1.150.0040.00419.09
8.1.140.0060.00319.83
8.1.130.0050.00217.91
8.1.120.0040.00417.68
8.1.110.0000.00717.59
8.1.100.0040.00417.43
8.1.90.0030.00517.49
8.1.80.0000.00717.69
8.1.70.0030.00517.60
8.1.60.0050.00317.59
8.1.50.0040.00417.69
8.1.40.0000.01317.79
8.1.30.0030.00517.79
8.1.20.0030.00517.59
8.1.10.0000.00817.67
8.1.00.0000.00817.59
8.0.300.0040.00418.77
8.0.290.0060.00317.00
8.0.280.0050.00218.57
8.0.270.0030.00617.48
8.0.260.0030.00317.45
8.0.250.0030.00317.13
8.0.240.0030.00317.15
8.0.230.0050.00217.05
8.0.220.0000.00817.07
8.0.210.0000.00717.09
8.0.200.0000.00717.05
8.0.190.0000.00817.12
8.0.180.0040.00417.01
8.0.170.0060.00317.16
8.0.160.0040.00417.07
8.0.150.0000.00717.01
8.0.140.0000.00717.04
8.0.130.0000.00613.66
8.0.120.0040.00417.18
8.0.110.0040.00417.32
8.0.100.0040.00417.18
8.0.90.0020.00517.17
8.0.80.0000.01617.16
8.0.70.0000.00817.11
8.0.60.0040.00417.04
8.0.50.0040.00417.26
8.0.30.0070.01417.23
8.0.20.0110.01217.53
8.0.10.0000.00817.30
8.0.00.0100.00917.04
7.4.330.0000.00517.13
7.4.320.0070.00016.68
7.4.300.0000.00716.62
7.4.290.0040.00416.70
7.4.280.0070.00016.63
7.4.270.0070.00016.65
7.4.260.0040.00416.63
7.4.250.0040.00416.82
7.4.240.0040.00416.82
7.4.230.0040.00416.56
7.4.220.0090.01216.86
7.4.210.0000.01616.80
7.4.200.0000.00716.83
7.4.160.0100.00716.66
7.4.150.0120.00817.40
7.4.140.0130.00617.86
7.4.130.0120.00716.67
7.4.120.0130.01216.74
7.4.110.0070.01116.68
7.4.100.0090.00916.76
7.4.90.0100.01016.76
7.4.80.0090.00919.39
7.4.70.0000.01916.78
7.4.60.0150.00616.64
7.4.50.0160.00016.56
7.4.40.0200.00316.65
7.4.30.0070.01116.70
7.4.00.0000.01315.20
7.3.330.0030.00313.43
7.3.320.0030.00313.38
7.3.310.0000.00816.70
7.3.300.0030.00316.61
7.3.290.0090.00816.58
7.3.280.0070.01116.59
7.3.270.0090.00917.40
7.3.260.0120.01316.61
7.3.250.0130.00516.62
7.3.240.0120.00716.63
7.3.230.0060.01316.79
7.3.210.0060.01316.60
7.3.200.0090.00916.65
7.3.190.0090.00916.88
7.3.180.0030.01616.92
7.3.170.0070.01116.64
7.3.160.0080.00916.48
7.2.330.0120.00616.84
7.2.320.0120.00616.99
7.2.310.0090.01516.68
7.2.300.0160.00716.89
7.2.290.0120.00616.79
7.2.60.0070.01016.52
7.2.00.0030.01019.86
7.1.200.0030.01316.02
7.1.100.0060.01117.90
7.1.70.0040.00417.43
7.1.60.0090.00619.24
7.1.50.0040.01817.28
7.1.00.0100.07022.95
7.0.200.0140.00715.24
7.0.60.0430.06020.31
7.0.50.0070.05318.07
7.0.40.0030.09020.47
7.0.30.0370.04320.46
7.0.20.0400.07720.63
7.0.10.0030.05020.59
7.0.00.0030.09020.52
5.6.280.0070.03321.38
5.6.210.0230.07320.77
5.6.200.0130.05718.48
5.6.190.0030.05320.94
5.6.180.0330.05021.07
5.6.170.0300.08020.82
5.6.160.0000.04720.84
5.6.150.0030.05018.48
5.6.140.0030.08018.59
5.6.130.0100.04318.50
5.6.120.0070.05721.27
5.6.110.0100.04021.49
5.6.100.0130.08021.24
5.6.90.0070.04021.39
5.6.80.0030.08320.60
5.5.350.0130.04020.81
5.5.340.0100.07018.31
5.5.330.0070.07720.85
5.5.320.0330.05020.66
5.5.310.0330.06020.62
5.5.300.0070.08018.40
5.5.290.0070.05018.45
5.5.280.0030.05721.08
5.5.270.0030.04021.25
5.5.260.0070.08321.29
5.5.250.0070.07320.87
5.5.240.0070.07320.41

preferences:
57.38 ms | 401 KiB | 5 Q