3v4l.org

run code in 300+ PHP versions simultaneously
<?php $address = 'https://demo45-pl.yourtechnicaldomain.com/customer-api/?gate=Authenticate/authenticate/7/json'; // SHA1 ile sistem anahtarını oluştur $hashedKey = sha1(date('Ymd') . sha1('YOUR_KEY')); $request = array( "authenticate" => array( "systemKey" => $hashedKey, "systemLogin" => "systemLogin" ) ); // JSON formatına çevir $request_json = json_encode($request); // HTTP isteği için header ayarları $options = array( 'http' => array( 'header' => "Content-Type: application/json\r\n" . "Accept: application/json\r\n", 'method' => 'POST', 'content' => $request_json, 'ignore_errors' => true // Hata kodlarını da oku ) ); $context = stream_context_create($options); $response = file_get_contents($address, false, $context); if ($response === FALSE) { die('Hata: Sunucuya bağlanılamadı.'); } // Sonucu ekrana yazdır echo "Response:\n"; echo $response;

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.10.0080.01117.19
8.5.00.0120.01220.23
8.4.150.0030.00014.05
8.4.140.0120.01017.64
8.4.130.0130.00719.73
8.4.120.0110.00920.76
8.4.110.0030.00622.45
8.4.100.0070.01418.59
8.4.90.0100.01118.11
8.4.80.0130.00718.05
8.4.70.0130.00618.16
8.4.60.0120.00918.20
8.4.50.0100.00919.68
8.4.40.0110.00819.65
8.4.30.0140.00719.67
8.4.20.0180.00719.42
8.4.10.0060.00419.75
8.3.280.0120.01318.83
8.3.270.0090.01016.83
8.3.260.0110.00716.62
8.3.250.0100.00418.86
8.3.240.0140.00517.22
8.3.230.0160.00316.89
8.3.220.0090.00619.27
8.3.210.0130.00616.88
8.3.200.0130.00717.03
8.3.190.0110.00916.75
8.3.180.0090.00718.54
8.3.170.0230.00516.65
8.3.160.0250.00516.77
8.3.150.0250.00216.87
8.3.140.0170.00516.76
8.3.130.0110.00718.52
8.3.120.0120.00616.57
8.3.110.0130.00517.01
8.3.100.0170.00416.61
8.3.90.0170.00416.74
8.3.80.0170.00416.83
8.3.70.0170.00418.51
8.3.60.0120.00716.44
8.3.50.0170.00316.67
8.3.40.0120.00819.57
8.3.30.0080.00717.75
8.3.20.0150.00217.54
8.3.10.0120.00417.63
8.3.00.0050.00519.31
8.2.290.0100.00720.46
8.2.280.0150.00516.49
8.2.270.0140.00516.61
8.2.260.0140.00318.30
8.2.250.0130.00416.94
8.2.240.0100.00616.71
8.2.230.0120.00616.75
8.2.220.0140.00416.41
8.2.210.0130.00516.63
8.2.200.0140.00316.66
8.2.190.0120.00416.67
8.2.180.0120.00518.38
8.2.170.0120.00717.92
8.2.160.0140.00517.88
8.2.150.0120.00617.53
8.2.140.0110.00617.44
8.2.130.0160.00517.56
8.2.120.0150.00417.47
8.2.110.0130.00417.71
8.2.100.0120.00417.69
8.2.90.0140.00417.79
8.2.80.0140.00517.60
8.2.70.0200.00617.41
8.2.60.0260.00417.70
8.2.50.0240.00617.72
8.2.40.0210.00617.52
8.2.30.0130.00717.57
8.2.20.0290.01017.55
8.2.10.0260.01017.58
8.2.00.0190.00717.57
8.1.320.0220.00816.52

preferences:
50.77 ms | 403 KiB | 5 Q