3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://www.oseox.fr'; $timeout = 10; $ch = curl_init($url); curl_setopt($ch, CURLOPT_FRESH_CONNECT, true); curl_setopt($ch, CURLOPT_TIMEOUT, $timeout); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, $timeout); if (preg_match('`^https://`i', $url)) { curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0); } curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); // Définition du header "User-Agent:" // Simulation d'un Firefox 3.6.13 curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13'); $page_content = curl_exec($ch); curl_close($ch); echo $page_content; ?>

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.70.0110.01116.63
8.3.60.0030.01216.75
8.3.50.0100.00821.00
8.3.40.0040.01118.85
8.3.30.0170.00318.85
8.3.20.0080.00020.16
8.3.10.0000.00723.74
8.3.00.0040.00423.70
8.2.180.0070.01318.29
8.2.170.0110.00622.96
8.2.160.0130.00322.11
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0060.00326.16
8.2.120.0070.00317.63
8.2.110.0060.00319.31
8.2.100.0070.00417.50
8.2.90.0050.00319.14
8.2.80.0000.00817.97
8.2.70.0030.00617.49
8.2.60.0050.00317.80
8.2.50.0040.00418.07
8.2.40.0040.00421.11
8.2.30.0090.00017.94
8.2.20.0060.00317.77
8.2.10.0050.00317.98
8.2.00.0040.00418.09
8.1.280.0040.01125.92
8.1.270.0070.00024.66
8.1.260.0030.00526.35
8.1.250.0040.00428.09
8.1.240.0040.00419.13
8.1.230.0060.00617.66
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0060.00317.25
8.1.190.0040.00416.98
8.1.180.0040.00418.10
8.1.170.0030.00518.46
8.1.160.0040.00421.94
8.1.150.0070.00018.92
8.1.140.0000.00817.34
8.1.130.0050.00317.73
8.1.120.0040.00417.42
8.1.110.0000.00817.36
8.1.100.0000.00717.41
8.1.90.0000.00717.44
8.1.80.0030.00317.45
8.1.70.0030.00317.44
8.1.60.0000.00917.58
8.1.50.0000.00817.56
8.1.40.0050.00317.46
8.1.30.0040.00417.56
8.1.20.0000.00817.64
8.1.10.0040.00417.65
8.1.00.0040.00417.51
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0070.00018.29
8.0.270.0000.00717.14
8.0.260.0030.00317.22
8.0.250.0020.00516.99
8.0.240.0030.00316.97
8.0.230.0000.00716.87
8.0.220.0000.00716.92
8.0.210.0030.00516.81
8.0.200.0070.00016.96
8.0.190.0000.00817.07
8.0.180.0070.00016.95
8.0.170.0050.00216.94
8.0.160.0070.00016.84
8.0.150.0030.00316.92
8.0.140.0040.00416.89
8.0.130.0030.00313.29
8.0.120.0000.00916.95
8.0.110.0040.00416.92
8.0.100.0040.00416.96
8.0.90.0040.00416.78
8.0.80.0030.01516.98
8.0.70.0040.00416.80
8.0.60.0040.00416.84
8.0.50.0070.00016.77
8.0.30.0090.00917.12
8.0.20.0060.01317.40
8.0.10.0040.00417.07
8.0.00.0100.00916.75
7.4.330.0020.00215.08
7.4.320.0030.00316.50
7.4.300.0030.00316.60
7.4.290.0070.00016.59
7.4.280.0000.00716.42
7.4.270.0030.00316.50
7.4.260.0000.00716.64
7.4.250.0000.00716.56
7.4.240.0020.00616.58
7.4.230.0080.00016.69
7.4.220.0140.00316.65
7.4.210.0060.00916.57
7.4.200.0070.00016.46
7.4.160.0100.01016.53
7.4.150.0030.02217.40
7.4.140.0100.00817.86
7.4.130.0110.00916.54
7.4.120.0110.00816.50
7.4.110.0060.01516.58
7.4.100.0130.01016.65
7.4.90.0130.00316.55
7.4.80.0030.01719.39
7.4.70.0070.01316.48
7.4.60.0120.00916.53
7.4.50.0040.00416.21
7.4.40.0030.01616.57
7.4.30.0110.00716.56
7.4.00.0060.00915.14
7.3.330.0060.00013.19
7.3.320.0000.00613.02
7.3.310.0040.00416.37
7.3.300.0000.00716.27
7.3.290.0070.00716.25
7.3.280.0070.00916.31
7.3.270.0090.01017.40
7.3.260.0060.01216.17
7.3.250.0050.01116.47
7.3.240.0070.01116.30
7.3.230.0130.01016.46
7.3.210.0090.00916.43
7.3.200.0080.00816.18
7.3.190.0030.01316.61
7.3.180.0120.00416.28
7.3.170.0100.00616.52
7.3.160.0080.00816.48
7.2.330.0100.00716.33
7.2.320.0100.01416.46
7.2.310.0000.01616.41
7.2.300.0100.00716.52
7.2.290.0090.01516.56
7.2.60.0100.00316.69
7.2.00.0140.01118.98
7.1.200.0000.00715.63
7.1.100.0080.00317.59
7.1.70.0030.00916.65
7.1.60.0040.01519.18
7.1.50.0070.01816.84
7.1.00.0000.07722.46
7.0.200.0070.00314.94
7.0.60.0030.04019.93
7.0.50.0130.03317.80
7.0.40.0000.04719.98
7.0.30.0330.06720.17
7.0.20.0230.07020.00
7.0.10.0130.08020.00
7.0.00.0170.04020.08
5.6.280.0070.06321.05
5.6.210.0130.08020.73
5.6.200.0170.05718.15
5.6.190.0100.08020.45
5.6.180.0270.07320.61
5.6.170.0300.04020.62
5.6.160.0100.03320.47
5.6.150.0000.05018.11
5.6.140.0030.04018.08
5.6.130.0070.04018.21
5.6.120.0200.07020.99
5.6.110.0070.08721.02
5.6.100.0100.08021.12
5.6.90.0130.07021.04
5.6.80.0070.03320.51
5.6.70.3330.04020.36
5.5.350.0000.09020.33
5.5.340.0170.05017.97
5.5.330.0100.06020.29
5.5.320.0330.06720.17
5.5.310.0300.07720.26
5.5.300.0070.07717.89
5.5.290.0030.08717.98
5.5.280.0030.05720.86
5.5.270.0100.08320.85
5.5.260.0130.07320.68
5.5.250.0100.08320.80
5.5.240.0130.07720.13
5.4.450.0800.06719.27
5.4.440.0230.07719.46
5.4.430.0130.06019.41
5.4.420.0100.06019.39
5.4.410.0200.05719.16
5.4.400.0200.05319.14
5.4.390.0270.04319.06
5.4.380.0170.05019.14
5.4.370.0230.04719.16
5.4.360.0170.05319.32
5.4.350.0200.05019.08
5.4.340.0200.05019.18
5.4.320.0070.06318.77
5.4.310.0170.05019.30
5.4.300.0100.05718.76
5.4.290.0170.05019.05
5.4.280.0230.05019.02
5.4.270.0230.05018.91
5.4.260.0230.04719.06
5.4.250.0130.05718.94
5.4.240.0100.06019.00
5.4.230.0230.04719.16
5.4.220.0070.06019.23
5.4.210.0130.05319.06
5.4.200.0100.05316.52
5.4.190.0130.05319.02
5.4.180.0270.06319.06
5.4.170.0270.05018.90
5.4.160.0200.05018.91
5.4.150.0400.05019.16
5.4.140.0330.04016.36
5.4.130.0200.06716.40
5.4.120.0130.05316.22
5.4.110.0070.05316.45
5.4.100.0230.07016.55
5.4.90.0200.05016.44
5.4.80.0200.04716.20
5.4.70.0200.06316.32
5.4.60.0230.06016.25
5.4.50.0170.05016.52
5.4.40.0130.06016.39
5.4.30.0230.04716.38
5.4.20.0130.05716.33
5.4.10.0170.05016.25
5.4.00.0200.04015.80
5.3.290.0170.05014.63
5.3.280.0100.05714.70
5.3.270.0230.04714.49
5.3.260.0170.05314.45
5.3.250.0130.05314.60
5.3.240.0300.04014.60
5.3.230.0270.05714.47
5.3.220.0130.06314.53
5.3.210.0100.07014.42
5.3.200.0270.06014.59
5.3.190.0200.05314.48
5.3.180.0170.05014.45
5.3.170.0200.04714.52
5.3.160.0130.04714.42
5.3.150.0070.05714.45
5.3.140.0100.05014.40
5.3.130.0170.05314.65
5.3.120.0270.04014.37
5.3.110.0230.04714.65
5.3.100.0170.06713.89
5.3.90.0170.04713.91
5.3.80.0130.05013.98
5.3.70.0100.05313.88
5.3.60.0100.05713.86
5.3.50.0270.04013.94
5.3.40.0100.05313.84
5.3.30.0170.04313.86
5.3.20.0070.05013.68
5.3.10.0000.05313.52
5.3.00.0100.04713.53
5.2.170.0530.06311.09
5.2.160.0430.04011.11
5.2.150.0570.03311.10
5.2.140.0400.04711.00
5.2.130.0730.03710.97
5.2.120.0530.03310.96
5.2.110.0430.04311.10
5.2.100.0330.04310.91
5.2.90.0600.03710.97
5.2.80.0430.04311.13
5.2.70.0500.04011.26
5.2.60.0430.04710.90
5.2.50.0400.04710.92
5.2.40.0270.04710.94
5.2.30.0100.03710.92
5.2.20.0070.04010.83
5.2.10.0300.03310.95
5.2.00.0430.04010.64
5.1.60.0530.03710.09
5.1.50.0430.0309.92
5.1.40.0230.0409.91
5.1.30.0200.05310.28
5.1.20.0100.03310.41
5.1.10.0070.03710.10
5.1.00.0300.0439.95
5.0.50.0270.0239.27
5.0.40.0230.0279.27
5.0.30.0300.0339.27
5.0.20.0170.0309.27
5.0.10.0230.0279.27
5.0.00.0170.0479.27
4.4.90.0170.0239.27
4.4.80.0230.0239.27
4.4.70.0230.0209.27
4.4.60.0170.0239.27
4.4.50.0200.0209.27
4.4.40.0330.0339.27
4.4.30.0270.0209.27
4.4.20.0270.0209.27
4.4.10.0170.0279.27
4.4.00.0170.0379.27
4.3.110.0330.0179.27
4.3.100.0170.0239.27
4.3.90.0300.0139.27
4.3.80.0230.0309.27
4.3.70.0230.0209.27
4.3.60.0170.0239.27
4.3.50.0230.0209.27
4.3.40.0200.0309.27
4.3.30.0100.0209.27
4.3.20.0070.0239.27
4.3.10.0100.0209.27
4.3.00.0170.0207.07

preferences:
73.37 ms | 401 KiB | 5 Q