3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ch = curl_init(); curl_setopt($ch, CURLOPT_USERAGENT, $userAgent); curl_setopt($ch, CURLOPT_URL,$target_url); curl_setopt($ch, CURLOPT_FAILONERROR, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_AUTOREFERER, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER,true); curl_setopt($ch, CURLOPT_TIMEOUT, 10); $html = curl_exec($ch); if (!$html) { echo "<br />cURL error number:" .curl_errno($ch); echo "<br />cURL error:" . curl_error($ch); exit; } ?>

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.0170.00316.75
8.3.50.0080.01021.91
8.3.40.0080.00818.79
8.3.30.0060.00919.17
8.3.20.0080.00020.34
8.3.10.0090.00923.58
8.3.00.0060.00319.18
8.2.180.0130.00316.63
8.2.170.0110.01122.96
8.2.160.0070.01320.10
8.2.150.0110.00724.18
8.2.140.0030.00524.66
8.2.130.0040.00426.16
8.2.120.0050.00320.91
8.2.110.0090.00022.25
8.2.100.0060.00617.78
8.2.90.0000.00819.27
8.2.80.0000.00817.97
8.2.70.0220.00317.38
8.2.60.0060.00319.64
8.2.50.0050.00318.07
8.2.40.0030.00519.76
8.2.30.0000.00718.20
8.2.20.0080.00017.75
8.2.10.0040.00418.00
8.2.00.0000.00717.57
8.1.280.0130.00325.92
8.1.270.0100.01023.96
8.1.260.0130.00626.35
8.1.250.0120.00628.09
8.1.240.0110.01123.83
8.1.230.0080.00319.10
8.1.220.0040.00417.74
8.1.210.0090.00018.77
8.1.200.0000.00817.23
8.1.190.0040.00417.23
8.1.180.0030.00618.10
8.1.170.0000.00818.52
8.1.160.0080.00021.96
8.1.150.0000.00718.49
8.1.140.0000.00717.30
8.1.130.0070.00017.68
8.1.120.0000.00717.26
8.1.110.0030.00317.31
8.1.100.0050.00317.37
8.1.90.0000.00717.23
8.1.80.0000.00817.23
8.1.70.0030.00517.31
8.1.60.0040.00417.47
8.1.50.0050.00317.40
8.1.40.0090.00017.36
8.1.30.0000.00917.51
8.1.20.0040.00417.45
8.1.10.0000.00917.48
8.1.00.0000.00717.46
8.0.300.0080.00020.64
8.0.290.0000.00717.04
8.0.280.0040.00418.32
8.0.270.0070.00017.12
8.0.260.0060.00018.32
8.0.250.0000.00717.01
8.0.240.0070.00016.96
8.0.230.0000.00716.93
8.0.220.0050.00316.91
8.0.210.0000.00816.84
8.0.200.0000.00716.95
8.0.190.0080.00016.99
8.0.180.0000.00816.82
8.0.170.0040.00416.89
8.0.160.0070.00016.78
8.0.150.0050.00316.82
8.0.140.0020.00516.87
8.0.130.0030.00313.32
8.0.120.0040.00416.84
8.0.110.0000.00816.91
8.0.100.0050.00316.72
8.0.90.0050.00316.85
8.0.80.0090.00616.85
8.0.70.0040.00416.70
8.0.60.0030.00316.97
8.0.50.0070.00016.80
8.0.30.0110.00716.90
8.0.20.0060.01317.40
8.0.10.0070.00016.84
8.0.00.0090.00916.80
7.4.330.0000.00615.00
7.4.320.0070.00016.40
7.4.300.0000.00616.44
7.4.290.0000.00716.39
7.4.280.0030.00316.52
7.4.270.0040.00416.50
7.4.260.0030.00316.40
7.4.250.0000.00816.50
7.4.240.0040.00316.53
7.4.230.0000.00716.30
7.4.220.0070.01016.48
7.4.210.0080.00816.52
7.4.200.0070.00016.49
7.4.190.0000.00716.32
7.4.160.0100.01316.58
7.4.150.0090.00917.40
7.4.140.0050.01517.86
7.4.130.0140.00316.49
7.4.120.0110.00916.55
7.4.110.0110.00716.34
7.4.100.0120.00316.46
7.4.90.0030.01416.68
7.4.80.0120.01019.39
7.4.70.0030.01316.50
7.4.60.0110.00716.52
7.4.50.0070.00016.31
7.4.40.0110.00416.37
7.4.30.0120.00816.54
7.4.00.0030.01414.76
7.3.330.0070.00013.04
7.3.320.0030.00313.19
7.3.310.0000.00716.25
7.3.300.0030.00316.14
7.3.290.0070.00716.20
7.3.280.0050.01116.31
7.3.270.0100.00717.40
7.3.260.0090.01316.45
7.3.250.0160.00216.42
7.3.240.0030.01416.37
7.3.230.0080.01516.49
7.3.210.0080.00816.45
7.3.200.0030.01619.39
7.3.190.0160.00016.34
7.3.180.0060.00916.32
7.3.170.0070.01016.27
7.3.160.0110.00716.40
7.3.120.0120.00314.55
7.2.330.0070.01616.45
7.2.320.0110.00716.64
7.2.310.0120.00616.66
7.2.300.0050.01116.61
7.2.290.0170.00716.45
7.2.60.0070.00716.59
7.2.00.0030.00919.17
7.1.200.0040.00815.58
7.1.70.0000.00816.73
7.1.60.0070.00417.27
7.1.50.0060.01316.69
7.1.00.0070.07322.28
7.0.200.0080.00816.70
7.0.140.0130.06722.07
7.0.60.0070.08020.03
7.0.50.0030.07317.80
7.0.40.0030.08020.05
7.0.30.0370.04719.95
7.0.20.0300.07020.17
7.0.10.0230.08720.30
7.0.00.0030.04320.13
5.6.280.0000.07720.92
5.6.210.0030.05320.54
5.6.200.0000.05018.15
5.6.190.0030.05020.43
5.6.180.3270.05020.59
5.6.170.0200.04320.50
5.6.160.0000.05020.38
5.6.150.0030.08318.09
5.6.140.0030.06018.21
5.6.130.0030.05718.08
5.6.120.0070.07021.14
5.6.110.0200.07321.00
5.6.100.0070.07320.95
5.6.90.0200.06721.00
5.6.80.0030.08720.53
5.6.70.0100.03720.40
5.5.350.0130.08720.44
5.5.340.0070.08318.01
5.5.330.0070.08720.21
5.5.320.0170.04720.13
5.5.310.0230.04020.27
5.5.300.0070.04017.95
5.5.290.0070.08718.00
5.5.280.0100.06320.80
5.5.270.0070.04720.87
5.5.260.0030.05720.86
5.5.250.0130.07320.65
5.5.240.0130.07720.17
5.4.450.0300.06719.21
5.4.440.0330.06719.41
5.4.430.0230.04019.55
5.4.420.0270.06019.54
5.4.410.0230.03719.13
5.4.400.0200.06018.78
5.4.390.0170.04719.09
5.4.380.0270.07319.05
5.4.370.0230.03318.82
5.4.360.0230.07019.08
5.4.350.0270.06719.21
5.4.340.0230.03319.08
5.4.320.0270.05719.12
5.4.310.0270.07319.16
5.4.300.0200.04019.05
5.4.290.0130.04018.80
5.4.280.0200.04719.08
5.4.270.0230.07319.05
5.4.260.0170.06018.80
5.4.250.0200.07019.20
5.4.240.0130.04719.07
5.4.230.0230.05318.80
5.4.220.0270.04019.15
5.4.210.0230.06019.15
5.4.200.0200.04018.90
5.4.190.0270.03019.11
5.4.180.0200.03718.87
5.4.170.0300.02719.23
5.4.160.0200.04318.78
5.4.150.0300.07019.03
5.4.140.0270.03016.43
5.4.130.0230.05316.22
5.4.120.0230.06316.27
5.4.110.0200.04316.41
5.4.100.0230.05316.39
5.4.90.0230.06716.39
5.4.80.0200.03716.39
5.4.70.0370.03316.20
5.4.60.0200.03316.41
5.4.50.0270.07016.47
5.4.40.0200.05016.18
5.4.30.0230.04016.28
5.4.20.0200.04016.36
5.4.10.0200.04716.43
5.4.00.0230.04715.63
5.3.290.0270.04714.72
5.3.280.0200.06014.50
5.3.270.0200.03714.48
5.3.260.0300.03314.44
5.3.250.0230.05014.45
5.3.240.0130.04714.46
5.3.230.0200.04014.44
5.3.220.0170.07314.42
5.3.210.0270.03314.40
5.3.200.0300.03314.61
5.3.190.0300.05314.41
5.3.180.0170.04714.54
5.3.170.0300.04014.41
5.3.160.0170.07014.42
5.3.150.0300.06714.50
5.3.140.0170.05014.43
5.3.130.0230.07014.38
5.3.120.0200.04314.64
5.3.110.0300.04314.39
5.3.100.0270.03014.13
5.3.90.0230.07013.86
5.3.80.0330.07013.97
5.3.70.0200.05713.87
5.3.60.0230.04313.95
5.3.50.0230.05713.93
5.3.40.0270.06713.89
5.3.30.0370.05313.74
5.3.20.0230.05713.74
5.3.10.0230.04313.45
5.3.00.0270.07013.49
5.2.170.0200.05712.27
5.2.160.0270.05012.27
5.2.150.0200.04312.27
5.2.140.0170.04012.27
5.2.130.0130.03712.27
5.2.120.0170.05012.27
5.2.110.0300.05012.27
5.2.100.0230.02312.27
5.2.90.0270.04712.27
5.2.80.0230.03312.27
5.2.70.0200.05312.27
5.2.60.0330.02312.27
5.2.50.0270.03012.27
5.2.40.0100.04012.27
5.2.30.0200.03712.27
5.2.20.0230.05712.27
5.2.10.0200.02712.27
5.2.00.0270.04012.27
5.1.60.0170.04012.27
5.1.50.0230.04312.27
5.1.40.0230.02712.27
5.1.30.0130.03012.27
5.1.20.0130.02712.27
5.1.10.0170.04012.27
5.1.00.0200.05312.27
5.0.50.0070.02012.27
5.0.40.0100.03712.27
5.0.30.0100.06012.27
5.0.20.0130.02012.27
5.0.10.0000.04712.27
5.0.00.0100.04712.27
4.4.90.0030.01712.27
4.4.80.0170.02712.27
4.4.70.0070.03012.27
4.4.60.0030.03312.27
4.4.50.0070.02712.27
4.4.40.0100.04012.27
4.4.30.0130.01312.27
4.4.20.0170.02712.27
4.4.10.0100.01712.27
4.4.00.0100.04012.27
4.3.110.0070.01712.27
4.3.100.0170.00712.27
4.3.90.0100.01312.27
4.3.80.0070.04012.27
4.3.70.0070.01312.27
4.3.60.0070.01312.27
4.3.50.0070.02012.27
4.3.40.0070.02712.27
4.3.30.0070.01712.27
4.3.20.0070.02012.27
4.3.10.0070.02312.27
4.3.00.0030.03312.27

preferences:
43.06 ms | 401 KiB | 5 Q