3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curl = curl_init(); // Set some options - we are passing in a useragent too here curl_setopt_array($curl, array( CURLOPT_RETURNTRANSFER => 1, CURLOPT_URL => 'http://testcURL.com/?item1=value&item2=value2', CURLOPT_USERAGENT => 'Codular Sample cURL Request' )); // Send the request & save response to $resp $resp = curl_exec($curl); // Close request to clear up some resources curl_close($curl);

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.0140.00716.63
8.3.50.0090.00918.18
8.3.40.0000.01518.89
8.3.30.0060.00918.79
8.3.20.0040.00420.16
8.3.10.0040.00421.60
8.3.00.0000.00821.91
8.2.180.0060.01218.29
8.2.170.0040.01222.96
8.2.160.0070.00721.06
8.2.150.0040.00424.18
8.2.140.0050.00324.66
8.2.130.0040.00420.45
8.2.120.0060.00326.35
8.2.110.0060.00320.27
8.2.100.0060.00617.91
8.2.90.0000.00817.63
8.2.80.0040.00418.83
8.2.70.0000.00817.91
8.2.60.0000.00818.22
8.2.50.0050.00319.12
8.2.40.0050.00320.99
8.2.30.0040.00419.17
8.2.20.0000.00717.91
8.2.10.0040.00418.16
8.2.00.0030.00618.07
8.1.280.0110.00425.92
8.1.270.0040.00420.90
8.1.260.0070.00026.35
8.1.250.0000.00728.09
8.1.240.0080.00022.06
8.1.230.0080.00417.70
8.1.220.0040.00417.74
8.1.210.0050.00318.77
8.1.200.0000.00917.23
8.1.190.0000.00817.23
8.1.180.0000.00818.10
8.1.170.0090.00018.58
8.1.160.0070.00018.80
8.1.150.0050.00221.84
8.1.140.0080.00019.45
8.1.130.0000.00718.96
8.1.120.0030.00317.39
8.1.110.0040.00417.36
8.1.100.0040.00417.40
8.1.90.0040.00417.36
8.1.80.0000.00717.32
8.1.70.0030.00317.28
8.1.60.0030.00517.47
8.1.50.0080.00017.40
8.1.40.0090.00017.47
8.1.30.0000.00717.59
8.1.20.0000.00717.64
8.1.10.0000.00717.56
8.1.00.0040.00417.39
8.0.300.0040.00418.77
8.0.290.0060.00316.75
8.0.280.0070.00018.32
8.0.270.0030.00317.16
8.0.260.0000.00617.24
8.0.250.0060.00016.93
8.0.240.0000.00716.96
8.0.230.0030.00316.95
8.0.220.0030.00316.79
8.0.210.0030.00316.87
8.0.200.0040.00416.82
8.0.190.0070.00016.99
8.0.180.0020.00516.96
8.0.170.0040.00416.90
8.0.160.0080.00016.91
8.0.150.0000.00716.83
8.0.140.0080.00016.86
8.0.130.0030.00313.43
8.0.120.0000.00816.83
8.0.110.0040.00416.77
8.0.100.0050.00316.93
8.0.90.0040.00416.75
8.0.80.0120.00316.86
8.0.70.0000.00716.88
8.0.60.0040.00416.89
8.0.50.0040.00416.85
8.0.30.0090.00916.99
8.0.20.0160.01017.40
8.0.10.0040.00416.86
8.0.00.0060.01216.64
7.4.330.0000.00615.55
7.4.320.0000.00716.51
7.4.300.0000.00616.44
7.4.290.0040.00416.40
7.4.280.0000.00816.40
7.4.270.0030.00316.50
7.4.260.0000.00916.39
7.4.250.0040.00416.43
7.4.240.0000.00716.45
7.4.230.0030.00316.47
7.4.220.0080.01116.57
7.4.210.0100.00416.40
7.4.200.0030.00316.47
7.4.160.0070.00816.52
7.4.150.0090.00917.40
7.4.140.0110.01017.86
7.4.130.0070.01016.42
7.4.120.0140.01116.55
7.4.110.0180.00016.56
7.4.100.0130.00616.31
7.4.90.0040.01416.40
7.4.80.0040.01719.39
7.4.70.0040.01216.35
7.4.60.0090.00916.53
7.4.50.0030.01016.42
7.4.40.0090.00816.63
7.4.30.0100.00616.48
7.4.00.0100.00314.85
7.3.330.0040.00413.00
7.3.320.0050.00013.08
7.3.310.0000.00716.34
7.3.300.0000.00616.22
7.3.290.0070.00816.29
7.3.280.0080.01016.27
7.3.270.0170.00017.40
7.3.260.0070.01116.23
7.3.250.0060.01116.24
7.3.240.0080.00816.28
7.3.230.0070.01016.31
7.3.210.0060.00916.32
7.3.200.0070.01416.38
7.3.190.0060.01016.40
7.3.180.0110.00616.43
7.3.170.0070.01016.44
7.3.160.0040.01116.34
7.2.330.0090.00616.52
7.2.320.0080.01116.30
7.2.310.0130.01316.25
7.2.300.0150.00916.62
7.2.290.0060.01316.47
7.2.110.0130.01116.59
7.2.60.0060.00716.80
7.2.00.0030.00619.30
7.1.200.0100.00715.17
7.1.70.0040.00416.76
7.1.60.0040.00716.95
7.1.50.0210.00634.85
7.1.40.0300.01332.54
7.1.30.0270.01732.34
7.1.20.0370.00732.31
7.1.10.0070.01314.41
7.1.00.0030.01314.57
7.0.200.0150.00716.70
7.0.180.0130.01014.30
7.0.170.0130.01314.30
7.0.160.0230.00714.17
7.0.150.0100.00714.26
7.0.140.0070.01314.27
7.0.130.0070.01014.59
7.0.120.0070.01014.73
7.0.110.0170.00314.44
7.0.100.0770.01014.54
7.0.90.0130.01014.28
7.0.80.0070.01314.40
7.0.70.0100.01314.28
7.0.60.0170.00314.12
7.0.50.0130.01014.38
7.0.40.0170.01014.61
7.0.30.0070.01714.26
7.0.20.0200.01314.55
7.0.10.0170.01014.35
7.0.00.0130.01314.44

preferences:
58.6 ms | 401 KiB | 5 Q