3v4l.org

run code in 300+ PHP versions simultaneously
<?php $address = 'https://demo45-pl.yourtechnicaldomain.com/customer-api/?gate=Authenticate/authenticate/7/json'; $request = array(); $request['authenticate'] = array(); $request['authenticate']['systemKey'] = sha1(date('Ymd') . sha1('YOUR_KEY')); $request['authenticate']['systemLogin'] = "systemLogin"; $request_json = json_encode($request); $headers = array( 'Accept: application/json', 'Content-Type: application/json;charset=UTF-8' ); $curl = curl_init($address); curl_setopt($curl, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($curl, CURLOPT_FORBID_REUSE, 1); curl_setopt($curl, CURLINFO_HEADER_OUT, 1); curl_setopt($curl, CURLOPT_HEADER, 1); curl_setopt($curl, CURLOPT_POST, 1); curl_setopt($curl, CURLOPT_POSTFIELDS, $request_json); curl_setopt($curl, CURLOPT_HTTPHEADER, $headers); $response = curl_exec($curl); $status = curl_getinfo($curl); 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.4.60.0150.00817.89
8.4.50.0070.00519.76
8.4.40.0140.00719.56
8.4.30.0190.01119.49
8.4.20.0260.00919.43
8.4.10.0110.00919.91
8.3.200.0110.00816.63
8.3.190.0120.00717.01
8.3.180.0150.00418.34
8.3.170.0290.00616.54
8.3.160.0380.00516.96
8.3.150.0290.00416.87
8.3.140.0310.00316.74
8.3.130.0220.00618.52
8.3.120.0140.00416.56
8.3.110.0120.00616.96
8.3.100.0160.00416.53
8.3.90.0180.00216.55
8.3.80.0140.00616.73
8.3.70.0150.00616.69
8.3.60.0160.00416.85
8.3.50.0170.00316.66
8.3.40.0160.00317.52
8.3.30.0140.00319.58
8.3.20.0120.00617.68
8.3.10.0120.00519.45
8.3.00.0090.00319.42
8.2.280.0240.00618.30
8.2.270.0160.00316.55
8.2.260.0150.00318.59
8.2.250.0130.00416.75
8.2.240.0120.00416.61
8.2.230.0150.00216.27
8.2.220.0140.00316.61
8.2.210.0150.00218.27
8.2.200.0130.00616.49
8.2.190.0080.00818.61
8.2.180.0120.00616.61
8.2.170.0150.00317.67
8.2.160.0120.00617.52
8.2.150.0170.00117.72
8.2.140.0160.00217.38
8.2.130.0130.00517.32
8.2.120.0140.00417.57
8.2.110.0170.00917.60
8.2.100.0160.00417.48
8.2.90.0180.00817.58
8.2.80.0220.00317.64
8.2.70.0150.00517.30
8.2.60.0130.00317.63
8.2.50.0130.00417.73
8.2.40.0090.00819.30
8.2.30.0140.00217.32
8.2.20.0160.00117.66
8.2.10.0120.00617.62
8.2.00.0120.00417.47
8.1.320.0110.00516.31

preferences:
30.65 ms | 407 KiB | 6 Q