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); // Récupération du contenu retourné par la requête $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.40.0070.00718.68
8.3.30.0100.01018.79
8.3.20.0050.00220.18
8.3.10.0040.00423.65
8.3.00.0050.00319.68
8.2.170.0100.01022.96
8.2.160.0100.00320.39
8.2.150.0080.00024.18
8.2.140.0140.00424.66
8.2.130.0070.00026.16
8.2.120.0090.00017.63
8.2.110.0070.01719.17
8.2.100.0040.00717.72
8.2.90.0080.00018.22
8.2.80.0000.00817.97
8.2.70.0040.00417.80
8.2.60.0040.00417.92
8.2.50.0000.00818.10
8.2.40.0000.00720.42
8.2.30.0040.00419.68
8.2.20.0030.00517.70
8.2.10.0080.00018.08
8.2.00.0050.00318.13
8.1.270.0120.00620.43
8.1.260.0020.00526.35
8.1.250.0000.00828.09
8.1.240.0060.00319.16
8.1.230.0030.00920.88
8.1.220.0040.00417.77
8.1.210.0000.00818.86
8.1.200.0040.00417.47
8.1.190.0030.00617.35
8.1.180.0040.00418.10
8.1.170.0000.00818.40
8.1.160.0040.00421.83
8.1.150.0070.00018.84
8.1.140.0030.00617.29
8.1.130.0000.00717.57
8.1.120.0040.00417.41
8.1.110.0060.00317.27
8.1.100.0040.00417.43
8.1.90.0040.00417.30
8.1.80.0000.00717.47
8.1.70.0000.00717.39
8.1.60.0050.00517.52
8.1.50.0050.00317.45
8.1.40.0080.00017.54
8.1.30.0000.01017.67
8.1.20.0040.00417.65
8.1.10.0040.00417.50
8.1.00.0050.00317.41
8.0.300.0040.00419.92
8.0.290.0050.00316.75
8.0.280.0040.00418.31
8.0.270.0030.00317.20
8.0.260.0080.00017.22
8.0.250.0050.00316.84
8.0.240.0050.00317.04
8.0.230.0000.00717.03
8.0.220.0030.00316.88
8.0.210.0000.00716.94
8.0.200.0000.00616.95
8.0.190.0050.00516.99
8.0.180.0080.00016.91
8.0.170.0000.00816.84
8.0.160.0050.00316.95
8.0.150.0000.00816.83
8.0.140.0000.00716.74
8.0.130.0050.00313.37
8.0.120.0000.00716.85
8.0.110.0030.00416.80
8.0.100.0020.00516.97
8.0.90.0070.00016.89
8.0.80.0070.00716.82
8.0.70.0030.00516.90
8.0.60.0040.00416.78
8.0.50.0080.00016.95
8.0.30.0090.01017.14
8.0.20.0170.00717.40
8.0.10.0040.00417.15
8.0.00.0090.00716.68
7.4.330.0000.00515.08
7.4.320.0060.00316.56
7.4.300.0030.00316.64
7.4.290.0030.00316.52
7.4.280.0080.00016.50
7.4.270.0070.00016.62
7.4.260.0000.00816.54
7.4.250.0040.00416.53
7.4.240.0030.00516.57
7.4.230.0030.00316.42
7.4.220.0030.01616.51
7.4.210.0040.01216.73
7.4.200.0040.00416.52
7.4.160.0060.00916.53
7.4.150.0060.01317.40
7.4.140.0080.01317.86
7.4.130.0080.00916.52
7.4.120.0110.00916.50
7.4.110.0070.01416.70
7.4.100.0100.00716.55
7.4.90.0100.00716.46
7.4.80.0000.01819.39
7.4.70.0130.00316.67
7.4.60.0090.00816.52
7.4.50.0030.00616.54
7.4.40.0100.00616.47
7.4.30.0090.01216.66
7.4.00.0090.01015.18
7.3.330.0000.00713.18
7.3.320.0030.00313.16
7.3.310.0030.00316.29
7.3.300.0030.00316.28
7.3.290.0050.01016.26
7.3.280.0060.01116.26
7.3.270.0070.01117.40
7.3.260.0100.00616.39
7.3.250.0090.01116.25
7.3.240.0180.00416.27
7.3.230.0100.00816.55
7.3.210.0080.00816.36
7.3.200.0080.01016.43
7.3.190.0130.00316.18
7.3.180.0140.00716.18
7.3.170.0120.00616.27
7.3.160.0090.00716.35
7.3.120.0030.01014.59
7.3.110.0040.01314.76
7.3.100.0080.00814.98
7.3.90.0030.01014.59
7.3.80.0050.00514.73
7.3.70.0040.01414.68
7.3.60.0000.01314.69
7.3.50.0100.01014.86
7.3.40.0030.01314.93
7.3.30.0000.01414.83
7.3.20.0140.00016.71
7.3.10.0080.00816.62
7.3.00.0060.00616.38
7.2.330.0200.00416.53
7.2.320.0110.00616.52
7.2.310.0070.01016.54
7.2.300.0070.01316.43
7.2.290.0140.00416.48
7.2.250.0160.00314.97
7.2.240.0090.01214.98
7.2.230.0060.00915.08
7.2.220.0160.00014.89
7.2.210.0070.01015.17
7.2.200.0100.00715.03
7.2.190.0060.00614.63
7.2.180.0000.01814.86
7.2.170.0060.01314.76
7.2.60.0060.00916.55
7.2.00.0110.00819.48
7.1.330.0070.01015.85
7.1.320.0030.01315.43
7.1.310.0030.01015.59
7.1.300.0070.01015.52
7.1.290.0070.00715.61
7.1.280.0060.00915.61
7.1.270.0100.00315.73
7.1.260.0030.01015.43
7.1.200.0120.00315.62
7.1.100.0040.01317.91
7.1.70.0000.01316.74
7.1.60.0070.01819.17
7.1.50.0040.01916.89
7.1.00.0030.07322.40
7.0.200.0030.00616.66
7.0.60.0000.06720.04
7.0.50.0030.04017.74
7.0.40.0130.08020.30
7.0.30.0630.06020.30
7.0.20.0230.04720.16
7.0.10.0030.08320.16
7.0.00.0000.04320.20
5.6.280.0000.03320.92
5.6.210.0100.04720.71
5.6.200.0170.05318.08
5.6.190.0000.05320.35
5.6.180.0070.06320.57
5.6.170.0430.04720.54
5.6.160.0000.05320.49
5.6.150.0000.04318.20
5.6.140.0000.04718.12
5.6.130.0070.08318.11
5.6.120.0100.08020.89
5.6.110.0070.08720.88
5.6.100.0070.08321.13
5.6.90.0030.08721.12
5.6.80.0100.07320.36
5.6.70.4800.04320.50
5.5.350.0230.05020.37
5.5.340.0030.06718.02
5.5.330.0070.06020.28
5.5.320.0400.07720.18
5.5.310.0230.08320.13
5.5.300.0030.04018.02
5.5.290.0200.07017.96
5.5.280.0000.07020.75
5.5.270.0030.06320.77
5.5.260.0070.08320.88
5.5.250.0000.06320.66
5.5.240.0230.07020.27
5.4.450.0800.06019.67
5.4.440.0770.05719.60
5.4.430.0630.06019.60
5.4.420.0670.06319.47
5.4.410.0700.05319.20
5.4.400.0930.04719.34
5.4.390.0830.04319.16
5.4.380.0870.03719.20
5.4.370.0730.05019.26
5.4.360.0630.05719.16
5.4.350.0770.06018.99
5.4.340.0930.05019.27
5.4.320.0930.05319.31
5.4.310.0700.05319.15
5.4.300.0730.06718.91
5.4.290.0730.06319.09
5.4.280.0730.05319.14
5.4.270.0870.05719.19
5.4.260.0870.04719.19
5.4.250.0870.05719.13
5.4.240.0900.05719.13
5.4.230.0900.05318.80
5.4.220.0800.05019.27
5.4.210.0700.06019.25
5.4.200.0730.05019.19
5.4.190.0730.06319.27
5.4.180.0730.05018.93
5.4.170.0770.05719.15
5.4.160.0830.06719.13
5.4.150.0830.06019.13
5.4.140.1000.06716.37
5.4.130.1030.05316.49
5.4.120.0630.05716.45
5.4.110.0730.05016.54
5.4.100.1000.05016.39
5.4.90.0900.05016.45
5.4.80.0970.04316.37
5.4.70.0230.08016.05
5.4.60.0200.03716.41
5.4.50.0070.04016.31
5.4.40.0270.04016.19
5.4.30.0170.03716.39
5.4.20.0100.06316.36

preferences:
53.66 ms | 400 KiB | 5 Q