3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new DateTime(); $url = "https://api.uds.app/partner/v2/settings"; $uuid_v4 = 'UUID'; //generate universally unique identifier version 4 (RFC 4122) $companyId = 123; //set ID of your company $apiKey = 'ZDk1MmE5NzMtODcxNi00YzIwLTllZDMtN2ZjM2NjOGI2YTMz'; //set company apikey // Create a stream $opts = array( 'http' => array( 'method' => 'GET', 'header' => "Accept: application/json\r\n" . "Accept-Charset: utf-8\r\n" . "Authorization: Basic ". base64_encode("$companyId:$apiKey")."\r\n" . "X-Origin-Request-Id: ".$uuid_v4."\r\n" . "X-Timestamp: ".$date->format(DateTime::ATOM) ) ); $context = stream_context_create($opts); $result = file_get_contents($url, false, $context); echo $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.5.00.0130.01020.18
8.4.150.0010.00114.05
8.4.140.0140.00717.78
8.4.130.0120.00917.98
8.4.120.0060.00520.52
8.4.110.0120.00918.79
8.4.100.0130.00917.86
8.4.90.0400.01018.04
8.4.80.0370.00817.93
8.4.70.0450.00618.20
8.4.60.0370.01317.82
8.4.50.0490.01518.17
8.4.40.0290.00117.97
8.4.30.0400.00717.78
8.4.20.0340.00517.78
8.4.10.0200.00317.88
8.3.280.0140.01118.79
8.3.270.0110.00916.81
8.3.260.0060.00316.71
8.3.250.0090.00417.19
8.3.240.0130.00517.45
8.3.230.0170.00416.77
8.3.220.0270.00516.70
8.3.210.0180.00316.63
8.3.200.0300.01016.93
8.3.190.0230.00516.78
8.3.180.0180.00416.78
8.3.170.0250.00416.77
8.3.160.0180.00716.69
8.3.150.0170.00716.68
8.3.140.0260.00616.50
8.3.130.0160.00516.94
8.3.120.0190.00917.04
8.3.110.0210.00716.66
8.3.100.0220.00816.87
8.3.90.0170.00616.84
8.3.80.0370.00816.66
8.3.70.0460.00516.72
8.3.60.0360.01416.89
8.3.50.0460.00516.75
8.3.40.0430.00817.66
8.3.30.0440.00517.63
8.3.20.0240.00917.64
8.3.10.0300.00617.92
8.3.00.0400.00617.64
8.2.290.0320.00916.77
8.2.280.0300.01016.88
8.2.270.0370.00616.66
8.2.260.0250.00316.56
8.2.250.0340.00916.51
8.2.240.0350.00416.68
8.2.230.0340.01216.52
8.2.220.0340.00916.45
8.2.210.0170.00316.61
8.2.200.0150.00816.63
8.2.190.0210.00516.84
8.2.180.0300.00416.63
8.2.170.0370.00718.07
8.2.160.0380.00517.77
8.2.150.0370.00817.56
8.2.140.0340.00817.84
8.2.130.0350.01017.71
8.2.120.0340.01117.75
8.2.110.0270.00317.80
8.2.100.0330.01117.70
8.2.90.0320.01217.88
8.2.80.0360.00817.61
8.2.70.0360.00917.69
8.2.60.0380.00917.81
8.2.50.0410.00817.74
8.2.40.0470.00617.81
8.2.30.0300.00917.77
8.2.20.0350.00917.50
8.2.10.0370.00417.43
8.2.00.0340.00817.49

preferences:
42 ms | 403 KiB | 5 Q