3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fp = fsockopen("http://www.yiqizou.com", 80, $errno, $errstr, 30); if (!$fp) die('error fsockopen'); stream_set_blocking($fp,0); $http = "GET /index.php / HTTP/1.1\r\n"; $http .= "Host: http://www.yiqizou.com\r\n"; $http .= "Connection: Close\r\n\r\n"; fwrite($fp,$http); 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.0090.01218.41
8.3.50.0150.00722.02
8.3.40.0040.01518.88
8.3.30.0130.00618.79
8.3.20.0090.00920.04
8.3.10.0150.00420.54
8.3.00.0060.01323.48
8.2.180.0140.00716.63
8.2.170.0100.01022.96
8.2.160.0180.00322.00
8.2.150.0160.00324.18
8.2.140.0100.01024.66
8.2.130.0000.00820.94
8.2.120.0120.00626.35
8.2.110.0060.00620.94
8.2.100.0030.00717.80
8.2.90.0030.00619.22
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0030.00518.05
8.2.50.0030.00618.09
8.2.40.0040.00420.53
8.2.30.0070.00019.42
8.2.20.0080.00017.75
8.2.10.0000.00818.12
8.2.00.0000.00818.04
8.1.280.0130.01025.92
8.1.270.0110.00722.05
8.1.260.0110.00728.09
8.1.250.0060.01228.09
8.1.240.0210.00023.92
8.1.230.0070.00317.70
8.1.220.0030.00617.74
8.1.210.0040.00418.77
8.1.200.0080.00317.35
8.1.190.0050.00317.11
8.1.180.0080.00018.10
8.1.170.0030.00718.59
8.1.160.0030.00520.76
8.1.150.0060.00320.55
8.1.140.0000.00919.58
8.1.130.0040.00417.70
8.1.120.0070.00017.51
8.1.110.0070.00017.44
8.1.100.0000.00717.44
8.1.90.0000.00817.30
8.1.80.0080.00017.34
8.1.70.0080.00017.34
8.1.60.0060.00317.48
8.1.50.0040.00417.38
8.1.40.0060.00617.40
8.1.30.0040.00417.50
8.1.20.0080.00017.52
8.1.10.0080.00017.58
8.1.00.0030.00517.33
8.0.300.0040.00418.77
8.0.290.0090.00016.75
8.0.280.0000.00718.43
8.0.270.0050.00217.21
8.0.260.0030.00317.15
8.0.250.0070.00017.02
8.0.240.0030.00316.98
8.0.230.0030.00316.93
8.0.220.0030.00316.93
8.0.210.0000.00816.88
8.0.200.0040.00417.00
8.0.190.0080.00017.04
8.0.180.0000.00716.95
8.0.170.0050.00217.02
8.0.160.0030.00517.09
8.0.150.0050.00216.82
8.0.140.0030.00516.82
8.0.130.0060.00013.39
8.0.120.0000.00916.83
8.0.110.0040.00416.79
8.0.100.0000.00816.98
8.0.90.0040.00416.78
8.0.80.0070.01016.96
8.0.70.0000.00716.76
8.0.60.0050.00316.91
8.0.50.0000.00816.85
8.0.30.0110.00716.90
8.0.20.0080.01117.41
8.0.10.0040.00417.14
8.0.00.0130.00816.70
7.4.330.0050.00016.76
7.4.320.0050.00216.68
7.4.300.0030.00316.42
7.4.290.0060.00016.41
7.4.280.0050.00216.48
7.4.270.0000.00816.61
7.4.260.0030.00516.58
7.4.250.0000.00716.55
7.4.240.0070.00016.56
7.4.230.0040.00416.49
7.4.220.0130.00716.68
7.4.210.0030.01016.60
7.4.200.0000.00716.59
7.4.160.0000.01416.43
7.4.150.0110.01417.40
7.4.140.0100.00717.86
7.4.130.0090.01116.38
7.4.120.0110.00716.50
7.4.110.0120.00916.46
7.4.100.0120.00616.48
7.4.90.0030.01416.50
7.4.80.0070.01019.39
7.4.70.0100.00716.63
7.4.60.0090.00916.48
7.4.50.0000.01316.49
7.4.40.0110.00616.46
7.4.30.0090.01216.66
7.4.00.0060.01214.78
7.3.330.0030.00313.05
7.3.320.0000.00513.23
7.3.310.0000.00716.19
7.3.300.0030.00316.13
7.3.290.0080.01016.25
7.3.280.0100.00916.26
7.3.270.0030.01417.40
7.3.260.0150.00916.14
7.3.250.0070.01016.27
7.3.240.0090.00816.25
7.3.230.0090.00916.50
7.3.210.0120.00616.36
7.3.200.0060.00916.31
7.3.190.0130.00716.34
7.3.180.0050.01116.21
7.3.170.0060.01516.39
7.3.160.0080.00816.25
7.2.330.0090.00916.47
7.2.320.0000.01516.63
7.2.310.0070.01016.57
7.2.300.0130.00316.62
7.2.290.0100.00616.66
7.2.00.0040.00819.32
7.1.100.0000.01318.00
7.1.70.0000.00717.14
7.1.60.0100.01419.24
7.1.50.0070.01016.77
7.1.00.0070.07022.30
7.0.200.0140.00014.94
7.0.60.0330.06319.86
7.0.50.0000.09317.89
7.0.40.0130.08020.21
7.0.30.0300.05320.15
7.0.20.0230.07320.02
7.0.10.0000.05020.18
7.0.00.0030.06020.18
5.6.280.0070.05320.89
5.6.210.0170.06720.69
5.6.200.0030.06718.08
5.6.190.0100.08320.66
5.6.180.0330.08020.53
5.6.170.0270.03720.51
5.6.160.0100.03720.45
5.6.150.0070.08018.17
5.6.140.0000.06718.18
5.6.130.0100.04318.11
5.6.120.0130.07720.89
5.6.110.0130.07721.13
5.6.100.0070.03721.02
5.6.90.0100.06021.11
5.6.80.0070.08320.39
5.5.350.0300.07320.46
5.5.340.0070.03317.89
5.5.330.0030.04320.12
5.5.320.0630.05720.13
5.5.310.0330.07320.30
5.5.300.0000.05317.87
5.5.290.0100.07318.02
5.5.280.0000.07720.96
5.5.270.0070.06720.86
5.5.260.0170.08020.74
5.5.250.0030.04320.61
5.5.240.0000.07720.14

preferences:
42.01 ms | 401 KiB | 5 Q