3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Use simple html dom include('simple_html_dom.php'); $temp = 'https://hockey.fantasysports.yahoo.com/hockey/63480/players?status=ALL&pos=C&cut_type=33&stat1=S_S_2014&myteam=0&sort=OR&sdir=1&count='.$page; $context = stream_context_create(array('http' => array('header' => 'User-Agent: Mozilla compatible'))); $response = file_get_contents($temp, false, $context); $html = str_get_html($response); echo $html;

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.0110.01116.63
8.3.50.0140.00716.35
8.3.40.0140.00418.76
8.3.30.0080.00818.67
8.3.20.0000.00720.30
8.3.10.0080.00023.48
8.3.00.0080.00019.56
8.2.180.0090.00616.75
8.2.170.0120.00322.96
8.2.160.0140.00020.38
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0080.00026.16
8.2.120.0060.00317.50
8.2.110.0110.00021.11
8.2.100.0000.01218.03
8.2.90.0060.00319.23
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0030.00618.03
8.2.50.0030.00518.10
8.2.40.0030.00619.52
8.2.30.0040.00419.86
8.2.20.0040.00417.77
8.2.10.0030.00618.00
8.2.00.0040.00418.13
8.1.280.0140.00725.92
8.1.270.0140.00320.38
8.1.260.0040.00426.35
8.1.250.0050.00328.09
8.1.240.0030.00619.06
8.1.230.0120.00017.81
8.1.220.0040.00417.74
8.1.210.0030.00518.77
8.1.200.0040.00917.48
8.1.190.0060.00317.22
8.1.180.0030.00618.10
8.1.170.0000.00818.63
8.1.160.0040.00421.95
8.1.150.0040.00418.91
8.1.140.0040.00417.47
8.1.130.0000.00717.68
8.1.120.0070.00017.46
8.1.110.0000.00717.45
8.1.100.0030.00517.38
8.1.90.0040.00417.53
8.1.80.0080.00017.34
8.1.70.0000.00717.49
8.1.60.0060.00317.55
8.1.50.0030.00517.45
8.1.40.0050.00317.52
8.1.30.0050.00317.74
8.1.20.0050.00317.67
8.1.10.0040.00417.70
8.1.00.0000.00717.45
8.0.300.0060.00318.77
8.0.290.0090.00016.88
8.0.280.0030.00318.50
8.0.270.0000.00717.35
8.0.260.0000.00617.39
8.0.250.0040.00417.00
8.0.240.0000.00717.06
8.0.230.0040.00417.00
8.0.220.0000.00717.08
8.0.210.0000.00716.91
8.0.200.0000.00616.96
8.0.190.0080.00017.07
8.0.180.0000.00817.07
8.0.170.0080.00017.07
8.0.160.0040.00417.11
8.0.150.0000.00717.05
8.0.140.0040.00416.95
8.0.130.0090.00013.41
8.0.120.0030.00516.99
8.0.110.0050.00317.00
8.0.100.0000.00817.05
8.0.90.0000.00717.08
8.0.80.0080.00817.00
8.0.70.0040.00416.81
8.0.60.0070.00017.00
8.0.50.0050.00316.99
8.0.30.0130.00717.15
8.0.20.0080.01117.40
8.0.10.0070.00016.93
8.0.00.0110.01116.92
7.4.330.0000.00515.08
7.4.320.0000.00616.60
7.4.300.0060.00016.38
7.4.290.0000.00816.57
7.4.280.0040.00416.53
7.4.270.0000.00716.63
7.4.260.0050.00316.65
7.4.250.0040.00416.61
7.4.240.0040.00416.52
7.4.230.0000.00816.49
7.4.220.0070.01416.50
7.4.210.0100.00816.62
7.4.200.0040.00416.69
7.4.160.0130.00316.65
7.4.150.0000.01817.40
7.4.140.0120.01217.86
7.4.130.0130.00516.62
7.4.120.0080.01416.50
7.4.110.0090.00916.63
7.4.100.0120.01216.52
7.4.90.0090.00916.54
7.4.80.0030.01419.39
7.4.70.0070.01016.59
7.4.60.0080.01116.64
7.4.50.0040.00016.63
7.4.40.0060.00916.59
7.4.30.0060.01216.68
7.4.00.0110.00414.93
7.3.330.0030.00313.27
7.3.320.0030.00313.28
7.3.310.0070.00016.51
7.3.300.0030.00316.31
7.3.290.0070.00016.40
7.3.280.0130.00916.43
7.3.270.0100.01417.40
7.3.260.0130.00416.37
7.3.250.0140.00516.36
7.3.240.0180.00416.56
7.3.230.0190.00416.40
7.3.210.0100.00716.40
7.3.200.0060.01816.44
7.3.190.0030.01316.61
7.3.180.0060.01016.52
7.3.170.0090.00616.47
7.3.160.0120.00516.46
7.3.120.0030.01014.76
7.3.110.0160.00014.92
7.3.100.0040.01114.98
7.3.90.0100.00314.86
7.3.80.0150.00014.71
7.3.70.0130.00314.90
7.3.60.0030.01314.71
7.3.50.0100.00714.86
7.3.40.0100.00714.86
7.3.30.0030.01214.95
7.3.20.0070.00716.84
7.3.10.0000.01116.70
7.3.00.0070.00316.13
7.2.330.0180.00316.78
7.2.320.0150.00316.74
7.2.310.0120.00616.83
7.2.300.0040.01416.65
7.2.290.0040.01316.69
7.2.240.0000.01515.22
7.2.230.0100.00314.99
7.2.220.0070.00715.13
7.2.210.0110.00615.21
7.2.200.0070.01115.03
7.2.190.0100.00714.82
7.2.180.0070.00715.13
7.2.170.0000.01515.09
7.2.160.0130.00314.81
7.2.150.0030.01017.01
7.2.140.0120.00316.80
7.2.130.0060.00917.04
7.2.120.0070.00717.09
7.2.110.0090.00316.75
7.2.100.0100.00717.10
7.2.90.0100.00017.01
7.2.80.0110.00417.09
7.2.70.0070.00717.10
7.2.60.0260.00016.81
7.2.50.0110.00317.10
7.2.40.0000.01516.82
7.2.30.0000.01317.02
7.2.20.0060.00816.86
7.2.10.0090.00316.72
7.2.00.0110.00618.33
7.1.330.0040.00716.04
7.1.320.0000.01315.85
7.1.310.0000.01115.41
7.1.300.0060.00615.80
7.1.290.0140.00015.95
7.1.280.0090.00315.76
7.1.270.0130.00315.80
7.1.260.0110.00415.79
7.1.250.0000.00915.98
7.1.200.0120.00315.82
7.1.100.0080.00318.44
7.1.70.0070.01017.62
7.1.60.0070.01719.13
7.1.50.0040.01417.53
7.1.00.0030.08022.86
7.0.200.0000.00817.01
7.0.60.0200.06720.45
7.0.50.0070.04018.16
7.0.40.0070.06020.48
7.0.30.0200.04320.55
7.0.20.0200.04720.47
7.0.10.0100.05320.55
7.0.00.0000.06020.45
5.6.280.0000.03721.20
5.6.210.0170.06721.11
5.6.200.0030.04018.48
5.6.190.0100.03720.99
5.6.180.3470.03721.10
5.6.170.0200.03720.84
5.6.160.0100.05720.82
5.6.150.0030.08318.39
5.6.140.0070.03718.52
5.6.130.0000.06018.54
5.6.120.0230.05321.54
5.6.110.0000.05021.22
5.6.100.0100.06721.53
5.6.90.0230.07721.21
5.6.80.0130.07320.89
5.6.70.3230.03720.77
5.5.350.0070.08020.81
5.5.340.0130.06718.38
5.5.330.0030.05320.84
5.5.320.0370.06320.66
5.5.310.0300.04020.67
5.5.300.0000.04318.20
5.5.290.0030.08718.54
5.5.280.0070.05021.25
5.5.270.0130.07321.16
5.5.260.0200.07021.15
5.5.250.0100.08020.82
5.5.240.0270.05720.48
5.4.450.0870.05719.58
5.4.440.0670.06019.51
5.4.430.0830.04019.77
5.4.420.0730.05319.50
5.4.410.0730.05019.42
5.4.400.0830.07719.23
5.4.390.0730.05019.29
5.4.380.0630.05719.41
5.4.370.0730.05319.52
5.4.360.0700.05319.35
5.4.350.0700.07019.51
5.4.340.0630.05319.48
5.4.320.0800.04719.30
5.4.310.0700.06719.48
5.4.300.0670.05319.40
5.4.290.0600.05319.23
5.4.280.0700.05019.47
5.4.270.0530.06319.30
5.4.260.0600.05319.47
5.4.250.0600.06019.32
5.4.240.0700.05019.51
5.4.230.0530.06019.32
5.4.220.0630.05719.51
5.4.210.0670.05019.40
5.4.200.0700.04719.51
5.4.190.0700.05019.46
5.4.180.0670.05019.27
5.4.170.0670.05019.23
5.4.160.0630.05319.30
5.4.150.0770.06019.28
5.4.140.0670.05716.29
5.4.130.0630.05016.22
5.4.120.0670.05016.34
5.4.110.0670.05016.32
5.4.100.0700.04316.22
5.4.90.0830.06316.46
5.4.80.0800.04716.38
5.4.70.0130.04716.21
5.4.60.0370.05316.45
5.4.50.0000.07316.37
5.4.40.0100.05016.44
5.4.30.0030.06716.37
5.4.20.0270.06316.41

preferences:
50.63 ms | 400 KiB | 5 Q