3v4l.org

run code in 300+ PHP versions simultaneously
<?php ob_start(); error_reporting(0); header("Content-Type: application/json; charset=UTF-8"); $havola = $_GET['url']; $api = array(); $api[] = 'origin: https://videodownloaderpro.net'; $api[] = 'referer: https://videodownloaderpro.net/'; $api[] = 'user-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.99 Safari/537.36'; $curl = curl_init(); $config = array( CURLOPT_URL => "https://api.videodownloaderpro.net/api/convert", CURLOPT_POST => true, CURLOPT_RETURNTRANSFER => true, CURLOPT_HTTPHEADER => $api, CURLOPT_POSTFIELDS => array('url'=>$havola)); curl_setopt_array($curl, $config); $response = curl_exec($curl); curl_close($curl); $json = json_decode($response); echo json_encode($json,JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES); ?>

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.110.0090.00020.94
8.3.100.0050.00316.74
8.3.90.0310.00816.35
8.3.80.0260.01316.38
8.3.70.0330.00516.56
8.3.60.0250.00416.49
8.3.50.0200.00616.44
8.3.40.0180.00317.54
8.3.30.0200.00517.19
8.3.20.0210.00017.25
8.3.10.0200.00717.38
8.3.00.0300.00517.50
8.2.230.0000.00822.58
8.2.220.0030.00624.06
8.2.210.0210.00716.40
8.2.200.0230.00716.69
8.2.190.0230.00716.55
8.2.180.0200.00916.61
8.2.170.0220.01017.68
8.2.160.0280.00017.73
8.2.150.0240.00517.63
8.2.140.0270.00417.49
8.2.130.0300.01017.36
8.2.120.0330.00917.56
8.2.110.0210.00917.56
8.2.100.0200.00817.69
8.2.90.0250.00717.68
8.2.80.0300.00817.50
8.2.70.0190.00117.63
8.2.60.0160.00317.75
8.2.50.0160.00317.56
8.2.40.0220.00617.56
8.2.30.0300.01017.49
8.2.20.0280.00717.38
8.2.10.0290.01217.50
8.2.00.0250.01717.49
8.1.290.0370.00916.36
8.1.280.0380.00515.99
8.1.270.0380.00917.38
8.1.260.0350.00917.37
8.1.250.0310.00917.44
8.1.240.0330.00717.19
8.1.230.0380.01017.25
8.1.220.0290.00717.30
8.1.210.0340.00417.18
8.1.200.0350.00717.06
8.1.190.0350.00517.19
8.1.180.0310.00817.16
8.1.170.0260.00917.06
8.1.160.0310.00817.17
8.1.150.0230.01317.22
8.1.140.0310.00417.23
8.1.130.0270.00617.23
8.1.120.0210.00417.31
8.1.110.0220.00717.29
8.1.100.0240.00517.24
8.1.90.0270.00917.19
8.1.80.0400.00517.36
8.1.70.0340.00617.23
8.1.60.0390.00717.24
8.1.50.0400.00916.99
8.1.40.0310.00817.24
8.1.30.0230.01117.30
8.1.20.0280.00717.19
8.1.10.0250.00617.43
8.1.00.0160.00717.25

preferences:
27.67 ms | 403 KiB | 5 Q