3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://vnexpress.net/tin-tuc/phap-luat/15-canh-sat-bi-bat-giu-tai-my-duc-duoc-tha-tu-do-3571959.html'; echo $url."\n"; $ch = curl_init(); curl_setopt($ch,CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_CONNECTTIMEOUT ,5); //timeout in seconds curl_setopt($ch, CURLOPT_TIMEOUT, 5); //timeout in seconds curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $result = curl_exec($ch); if(curl_exec($ch) === false) { echo 'Curl error: ' . curl_error($ch); } else { var_dump($result); }

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.00616.50
8.3.50.0090.00917.80
8.3.40.0000.01618.59
8.3.30.0000.01418.77
8.3.20.0040.00420.16
8.3.10.0000.00721.77
8.3.00.0050.00221.73
8.2.180.0150.00417.00
8.2.170.0140.00722.96
8.2.160.0070.00721.07
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0050.00322.08
8.2.120.0060.00326.35
8.2.110.0030.00620.91
8.2.100.0070.00418.09
8.2.90.0080.00019.26
8.2.80.0040.00417.97
8.2.70.0060.00317.48
8.2.60.0090.00017.93
8.2.50.0040.00418.10
8.2.40.0060.00320.51
8.2.30.0040.00421.05
8.2.20.0040.00418.04
8.2.10.0050.00218.32
8.2.00.0000.00818.29
8.1.280.0070.01125.92
8.1.270.0080.00020.59
8.1.260.0080.00026.35
8.1.250.0000.00828.09
8.1.240.0030.00623.97
8.1.230.0040.00818.84
8.1.220.0040.00417.78
8.1.210.0050.00318.77
8.1.200.0070.00317.35
8.1.190.0040.00417.52
8.1.180.0030.00618.10
8.1.170.0070.00818.77
8.1.160.0050.00218.81
8.1.150.0000.00721.88
8.1.140.0000.00819.39
8.1.130.0000.00818.98
8.1.120.0000.00717.25
8.1.110.0040.00417.29
8.1.100.0040.00417.29
8.1.90.0090.00017.28
8.1.80.0000.00717.41
8.1.70.0070.00017.45
8.1.60.0040.00417.51
8.1.50.0040.00417.54
8.1.40.0030.00517.35
8.1.30.0040.00417.62
8.1.20.0000.00717.60
8.1.10.0000.00717.54
8.1.00.0080.00017.54
8.0.300.0030.00518.77
8.0.290.0000.00716.75
8.0.280.0030.00318.44
8.0.270.0030.00617.30
8.0.260.0030.00317.27
8.0.250.0040.00316.95
8.0.240.0040.00416.93
8.0.230.0050.00317.05
8.0.220.0000.00716.84
8.0.210.0000.00716.79
8.0.200.0080.00017.05
8.0.190.0030.00616.93
8.0.180.0050.00216.98
8.0.170.0030.00316.89
8.0.160.0000.00716.86
8.0.150.0030.00316.96
8.0.140.0030.00516.95
8.0.130.0000.00513.34
8.0.120.0020.00516.92
8.0.110.0000.00816.95
8.0.100.0040.00416.78
8.0.90.0040.00416.93
8.0.80.0090.00616.85
8.0.70.0030.00516.91
8.0.60.0040.00416.98
8.0.50.0030.00516.83
8.0.30.0090.00917.11
8.0.20.0160.00917.40
8.0.10.0040.00417.02
8.0.00.0130.00317.00
7.4.330.0000.00515.55
7.4.320.0060.00016.55
7.4.300.0030.00316.61
7.4.290.0030.00516.60
7.4.280.0040.00416.42
7.4.270.0000.00716.53
7.4.260.0030.00316.60
7.4.250.0040.00416.57
7.4.240.0070.00016.53
7.4.230.0030.00316.39
7.4.220.0090.00916.64
7.4.210.0100.00316.54
7.4.200.0030.00316.58
7.4.160.0100.00716.59
7.4.150.0090.00917.40
7.4.140.0160.00817.86
7.4.130.0100.00816.56
7.4.120.0070.01616.53
7.4.110.0170.00316.55
7.4.100.0070.01616.55
7.4.90.0090.00916.46
7.4.80.0130.00719.39
7.4.70.0130.00316.74
7.4.60.0080.00816.50
7.4.50.0110.00416.40
7.4.40.0140.00316.30
7.4.30.0140.00316.55
7.4.00.0120.00415.12
7.3.330.0030.00313.04
7.3.320.0030.00313.01
7.3.310.0000.00716.10
7.3.300.0030.00316.31
7.3.290.0070.00716.34
7.3.280.0120.00716.33
7.3.270.0130.00717.40
7.3.260.0080.01216.43
7.3.250.0100.00816.40
7.3.240.0080.00816.56
7.3.230.0130.00316.39
7.3.210.0060.01216.22
7.3.200.0090.00916.35
7.3.190.0070.01016.58
7.3.180.0030.01416.36
7.3.170.0060.00916.41
7.3.160.0130.00316.29
7.2.330.0050.01416.69
7.2.320.0120.00616.70
7.2.310.0090.01516.74
7.2.300.0100.01416.37
7.2.290.0040.01216.48
7.2.60.0140.00016.98
7.2.00.0040.01119.40
7.1.200.0000.01015.54
7.1.70.0000.00716.96
7.1.60.0060.00916.75
7.1.50.0100.01316.98
7.1.40.0100.01333.95
7.1.30.0170.01334.17
7.1.20.0230.01334.30
7.1.10.0030.01016.32
7.1.00.0030.01016.35
7.0.200.0140.00816.55
7.0.180.0030.01016.00
7.0.170.0070.01015.97
7.0.160.0000.01716.00
7.0.150.0070.00715.84
7.0.140.0000.01016.11
7.0.130.0100.00316.43
7.0.120.0030.01016.19
7.0.110.0030.00716.32
7.0.100.0030.00716.11
7.0.90.0070.00716.13
7.0.80.0070.01016.23
7.0.70.0070.01016.16
7.0.60.0030.01316.10
7.0.50.0030.01016.11
7.0.40.0070.01016.34
7.0.30.0000.01716.48
7.0.20.0030.01016.45
7.0.10.0030.00716.32
7.0.00.0030.01016.30

preferences:
73.92 ms | 401 KiB | 5 Q