3v4l.org

run code in 300+ PHP versions simultaneously
<?php function request() { $asd = 95.00; $url = "https://test.oppwa.com/v1/checkouts"; $data = "authentication.userId=8a82941750fc373d0151111603002ec3" . "&authentication.password=d9aMtAqW" . "&authentication.entityId=8a82941750fc373d0151111603002ebf" . "&amount=".strval ($asd). "&currency=EUR" . "&paymentType=PA"; echo $data; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); $responseData = curl_exec($ch); if(curl_errno($ch)) { return curl_error($ch); } curl_close($ch); return $responseData; } $responseData = request(); echo $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.0070.00716.50
8.3.50.0090.00921.99
8.3.40.0090.00918.83
8.3.30.0110.00418.57
8.3.20.0050.00220.39
8.3.10.0040.00421.71
8.3.00.0000.00819.12
8.2.180.0090.00616.88
8.2.170.0150.00022.96
8.2.160.0070.00720.47
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0030.00617.50
8.2.120.0040.00426.35
8.2.110.0030.00620.52
8.2.100.0080.00317.93
8.2.90.0080.00019.27
8.2.80.0040.00417.97
8.2.70.0030.00617.38
8.2.60.0050.00318.05
8.2.50.0060.00318.07
8.2.40.0030.00719.34
8.2.30.0030.00320.57
8.2.20.0000.00917.82
8.2.10.0040.00418.14
8.2.00.0000.00818.09
8.1.280.0120.00625.92
8.1.270.0060.00623.87
8.1.260.0030.00628.09
8.1.250.0000.00828.09
8.1.240.0000.01022.14
8.1.230.0080.00417.66
8.1.220.0040.00417.79
8.1.210.0050.00318.77
8.1.200.0060.00317.35
8.1.190.0080.00017.35
8.1.180.0000.00818.10
8.1.170.0030.00618.75
8.1.160.0020.00522.03
8.1.150.0000.00818.94
8.1.140.0030.00519.59
8.1.130.0030.00317.63
8.1.120.0030.00417.51
8.1.110.0000.00817.46
8.1.100.0040.00417.36
8.1.90.0030.00517.38
8.1.80.0040.00417.50
8.1.70.0000.00817.45
8.1.60.0080.00017.50
8.1.50.0030.00617.41
8.1.40.0100.00017.54
8.1.30.0000.00917.56
8.1.20.0040.00417.54
8.1.10.0000.00717.61
8.1.00.0040.00417.57
8.0.300.0050.00318.77
8.0.290.0080.00016.88
8.0.280.0050.00318.40
8.0.270.0050.00217.28
8.0.260.0030.00317.34
8.0.250.0000.00717.01
8.0.240.0000.00716.91
8.0.230.0040.00416.91
8.0.220.0040.00416.95
8.0.210.0000.00717.03
8.0.200.0030.00316.96
8.0.190.0090.00016.92
8.0.180.0000.00717.08
8.0.170.0050.00517.08
8.0.160.0000.00816.87
8.0.150.0000.00816.95
8.0.140.0000.00816.86
8.0.130.0050.00313.46
8.0.120.0040.00416.99
8.0.110.0000.00717.04
8.0.100.0040.00416.86
8.0.90.0040.00417.04
8.0.80.0070.01417.03
8.0.70.0080.00016.77
8.0.60.0030.00616.78
8.0.50.0040.00416.71
8.0.30.0110.00817.10
8.0.20.0130.01017.40
8.0.10.0050.00316.92
8.0.00.0070.01116.69
7.4.330.0050.00016.76
7.4.320.0000.00616.59
7.4.300.0060.00016.59
7.4.290.0000.00816.51
7.4.280.0000.00816.59
7.4.270.0000.00716.61
7.4.260.0000.00816.49
7.4.250.0000.00716.50
7.4.240.0070.00016.65
7.4.230.0030.00316.68
7.4.220.0090.01316.51
7.4.210.0100.00616.64
7.4.200.0000.00716.44
7.4.160.0090.00616.57
7.4.150.0100.00717.40
7.4.140.0090.01317.86
7.4.130.0060.01116.59
7.4.120.0110.00916.65
7.4.110.0090.01216.57
7.4.100.0120.00916.39
7.4.90.0060.01116.42
7.4.80.0090.00919.39
7.4.70.0080.00816.50
7.4.60.0070.01016.43
7.4.50.0090.00916.56
7.4.40.0110.00616.66
7.4.30.0110.00716.62
7.4.00.0080.00814.82
7.3.330.0050.00013.24
7.3.320.0040.00413.25
7.3.310.0060.00016.25
7.3.300.0030.00316.33
7.3.290.0050.01016.41
7.3.280.0100.00816.36
7.3.270.0030.01517.40
7.3.260.0100.00616.65
7.3.250.0130.00916.51
7.3.240.0080.01116.57
7.3.230.0100.00716.60
7.3.210.0150.00316.51
7.3.200.0090.00616.43
7.3.190.0070.01016.50
7.3.180.0130.00316.46
7.3.170.0110.00516.38
7.3.160.0200.00316.53
7.2.330.0110.01116.51
7.2.320.0150.00916.62
7.2.310.0070.01016.62
7.2.300.0130.00316.66
7.2.290.0030.01416.64
7.2.60.0090.00316.89
7.1.200.0090.00415.70
7.1.100.0030.00617.94
7.1.70.0000.00717.12
7.1.60.0160.00919.36
7.1.50.0050.01016.74
7.1.00.0100.07022.31
7.0.200.0000.00816.85
7.0.60.0070.03720.09
7.0.50.0030.04717.94
7.0.40.0030.06020.06
7.0.30.0230.03720.23
7.0.20.0330.07320.05
7.0.10.0030.04320.22
7.0.00.0100.08320.07
5.6.280.0070.03720.79
5.6.210.0130.07320.70
5.6.200.0030.07018.14
5.6.190.0070.06020.52
5.6.180.0400.07020.50
5.6.170.0300.04020.71
5.6.160.0100.07720.45
5.6.150.0070.08318.18
5.6.140.0070.07018.15
5.6.130.0130.05318.16
5.6.120.0030.04021.00
5.6.110.0100.04021.05
5.6.100.0070.05720.99
5.6.90.0030.09021.10
5.6.80.0130.07320.54
5.5.350.3800.04020.45
5.5.340.0030.09018.05
5.5.330.0100.08020.43
5.5.320.0030.08320.38
5.5.310.0230.08320.32
5.5.300.0070.08317.95
5.5.290.0070.07017.96
5.5.280.0100.06020.90
5.5.270.0070.04320.89
5.5.260.0030.08020.87
5.5.250.0100.07720.67
5.5.240.0270.07720.12

preferences:
43.13 ms | 401 KiB | 5 Q