3v4l.org

run code in 300+ PHP versions simultaneously
<?php //Connection Resource $resource_uri = 'https://api.lkqd.com/reports'; //Setup connection $curl = curl_init($resource_uri); curl_setopt($curl, CURLOPT_HEADER, false); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); // curl_setopt($curl, CURLOPT_HTTPHEADER, array("Content-Type: application/json","Authorization: OAuth 2.0 token here")); curl_setopt($curl, CURLOPT_OPT, 1); // curl_setopt($curl, CURLOPT_POSTFIELDS, $body); //curl_setopt($curl, CURLOPT_USERPWD, $site_public_key . ":" . $site_private_key); //Send request $result_json = curl_exec($curl); curl_close($curl); //Done print_r($result_json); $responseData = json_decode($response, TRUE); print_r($responseData);

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.0110.00416.63
8.3.50.0170.00921.07
8.3.40.0080.00818.76
8.3.30.0070.00718.82
8.3.20.0140.00320.09
8.3.10.0030.00623.53
8.3.00.0120.00319.48
8.2.180.0120.00418.29
8.2.170.0140.00722.96
8.2.160.0080.00520.44
8.2.150.0090.00024.18
8.2.140.0000.00824.66
8.2.130.0000.00726.16
8.2.120.0050.00317.50
8.2.110.0060.00320.38
8.2.100.0080.00417.78
8.2.90.0050.00219.09
8.2.80.0030.00517.97
8.2.70.0060.00317.50
8.2.60.0000.00817.91
8.2.50.0080.00018.07
8.2.40.0000.00719.52
8.2.30.0000.00917.92
8.2.20.0040.00417.64
8.2.10.0070.00018.06
8.2.00.0040.00418.03
8.1.280.0110.00625.92
8.1.270.0080.00020.42
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0030.00623.86
8.1.230.0040.00720.88
8.1.220.0030.00717.76
8.1.210.0030.00518.77
8.1.200.0030.00617.35
8.1.190.0080.00017.25
8.1.180.0040.00418.10
8.1.170.0040.00418.53
8.1.160.0040.00422.09
8.1.150.0000.00818.77
8.1.140.0000.00817.47
8.1.130.0030.00317.58
8.1.120.0000.00717.40
8.1.110.0070.00017.42
8.1.100.0080.00017.41
8.1.90.0030.00517.33
8.1.80.0040.00417.43
8.1.70.0000.00717.35
8.1.60.0080.00017.55
8.1.50.0040.00417.45
8.1.40.0040.00417.52
8.1.30.0000.01017.66
8.1.20.0000.00717.69
8.1.10.0000.00717.59
8.1.00.0040.00417.57
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0040.00418.45
8.0.270.0080.00017.13
8.0.260.0000.00617.18
8.0.250.0040.00416.85
8.0.240.0050.00317.02
8.0.230.0030.00316.96
8.0.220.0040.00416.88
8.0.210.0000.00816.93
8.0.200.0030.00316.97
8.0.190.0110.00016.87
8.0.180.0000.00716.89
8.0.170.0040.00416.96
8.0.160.0020.00516.85
8.0.150.0000.00716.81
8.0.140.0040.00416.77
8.0.130.0070.00013.38
8.0.120.0040.00416.91
8.0.110.0040.00416.96
8.0.100.0040.00416.73
8.0.90.0000.00716.98
8.0.80.0150.00016.88
8.0.70.0040.00416.84
8.0.60.0040.00416.79
8.0.50.0080.00016.96
8.0.30.0110.00917.08
8.0.20.0120.00917.40
8.0.10.0000.00817.05
8.0.00.0130.01116.76
7.4.330.0050.00015.08
7.4.320.0000.00616.58
7.4.300.0030.00316.65
7.4.290.0050.00216.48
7.4.280.0030.00516.49
7.4.270.0030.00316.61
7.4.260.0030.00316.60
7.4.250.0040.00416.46
7.4.240.0010.00816.57
7.4.230.0030.00316.61
7.4.220.0100.00416.61
7.4.210.0080.00716.63
7.4.200.0020.00516.44
7.4.160.0090.00616.64
7.4.150.0030.01417.40
7.4.140.0130.01017.86
7.4.130.0050.01116.62
7.4.120.0060.01216.43
7.4.110.0090.00916.29
7.4.100.0090.00916.61
7.4.90.0110.00516.50
7.4.80.0090.00819.39
7.4.70.0080.00816.52
7.4.60.0060.00916.44
7.4.50.0050.00016.28
7.4.40.0070.01016.73
7.4.30.0080.00916.39
7.4.00.0000.01414.92
7.3.330.0090.00012.99
7.3.320.0030.00313.16
7.3.310.0080.00016.32
7.3.300.0060.00016.25
7.3.290.0090.00816.27
7.3.280.0050.01016.21
7.3.270.0070.01017.40
7.3.260.0100.00716.30
7.3.250.0100.00716.25
7.3.240.0110.00716.24
7.3.230.0100.01216.39
7.3.210.0120.00316.45
7.3.200.0060.00916.38
7.3.190.0130.00316.14
7.3.180.0120.00316.43
7.3.170.0100.00716.27
7.3.160.0130.00916.23
7.3.10.0110.00515.90
7.3.00.0130.01016.17
7.2.330.0120.00616.25
7.2.320.0100.01416.22
7.2.310.0060.01016.47
7.2.300.0030.01316.38
7.2.290.0040.01416.54
7.2.130.0230.00416.26
7.2.120.0140.00716.61
7.2.110.0130.00716.51
7.2.100.0160.00416.27
7.2.90.0200.00316.48
7.2.80.0100.01016.55
7.2.70.0120.00616.49
7.2.60.0120.01016.65
7.2.50.0070.01116.69
7.2.40.0110.00716.71
7.2.30.0170.00716.79
7.2.20.0030.01116.45
7.2.10.0070.00716.53
7.2.00.0020.01418.00
7.1.250.0040.01214.88
7.1.200.0060.00315.57
7.1.100.0040.01117.58
7.1.70.0040.00416.90
7.1.60.0090.01520.03
7.1.50.0100.01316.77
7.1.00.0070.07322.51
7.0.200.0240.00714.73
7.0.60.0100.08320.04
7.0.50.0030.09017.85
7.0.40.0230.06320.02
7.0.30.0270.08020.23
7.0.20.0270.05720.00
7.0.10.0070.05720.20
7.0.00.0030.04020.01
5.6.280.0030.03020.86
5.6.210.0030.04020.75
5.6.200.0030.05018.17
5.6.190.0000.07720.79
5.6.180.2970.03720.60
5.6.170.0330.05020.33
5.6.160.0070.04720.66
5.6.150.0030.07018.09
5.6.140.0070.08718.14
5.6.130.0070.06718.09
5.6.120.0070.05721.14
5.6.110.0170.07720.96
5.6.100.0100.03721.12
5.6.90.0170.07321.03
5.6.80.0100.07320.38
5.6.70.4470.04020.49
5.5.350.0130.08720.41
5.5.340.0130.07017.98
5.5.330.0000.07720.25
5.5.320.3930.05020.26
5.5.310.0230.04020.28
5.5.300.0000.04318.02
5.5.290.0070.07718.00
5.5.280.0200.07320.63
5.5.270.0070.09020.71
5.5.260.0130.08020.86
5.5.250.0100.08320.58
5.5.240.0270.07320.12
5.4.450.0800.04019.11
5.4.440.0570.06019.23
5.4.430.0570.06019.43
5.4.420.0630.05019.38
5.4.410.0800.05019.34
5.4.400.0670.05019.18
5.4.390.0570.05718.89
5.4.380.0600.05018.78
5.4.370.0600.05319.30
5.4.360.0630.04719.12
5.4.350.0600.05718.91
5.4.340.0730.06019.13
5.4.320.0600.05019.17
5.4.310.0600.05319.12
5.4.300.0530.05319.13
5.4.290.0430.06019.29
5.4.280.0830.04019.14
5.4.270.0700.05319.30
5.4.260.0800.05019.06
5.4.250.0630.06319.14
5.4.240.0770.06319.25
5.4.230.0500.05319.13
5.4.220.0630.04719.29
5.4.210.0570.05319.20
5.4.200.0530.05019.25
5.4.190.0630.04719.05
5.4.180.0500.05318.73
5.4.170.0530.05019.16
5.4.160.0670.05719.13
5.4.150.0730.05319.13
5.4.140.0770.05016.28
5.4.130.0600.04716.31
5.4.120.0630.04016.17
5.4.110.0630.04716.15
5.4.100.0630.05316.43
5.4.90.0630.05016.45
5.4.80.0600.04716.39
5.4.70.0000.04016.20
5.4.60.0270.06716.20
5.4.50.0030.06716.36
5.4.40.0270.06316.43
5.4.30.0170.03716.28
5.4.20.0330.06016.36

preferences:
64.95 ms | 401 KiB | 5 Q