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=8a8294174e735d0c014e78c107b615ba" . "&authentication.password=eqSm4TjRQw" . "&authentication.entityId=8a8294174e735d0c014e78c107aa15b6" . "&amount=".$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.70.0090.01216.48
8.3.60.0120.00916.75
8.3.50.0140.00521.97
8.3.40.0140.00018.97
8.3.30.0070.01118.75
8.3.20.0080.00020.29
8.3.10.0000.00921.73
8.3.00.0040.00419.13
8.2.180.0110.00418.41
8.2.170.0070.00722.96
8.2.160.0100.00320.53
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0050.00319.36
8.2.120.0030.00526.35
8.2.110.0080.00020.35
8.2.100.0070.00417.84
8.2.90.0000.00819.40
8.2.80.0050.00317.97
8.2.70.0080.00017.63
8.2.60.0080.00018.04
8.2.50.0030.00618.07
8.2.40.0030.01119.37
8.2.30.0020.00520.64
8.2.20.0050.00517.82
8.2.10.0050.00318.19
8.2.00.0040.00418.14
8.1.280.0170.00325.92
8.1.270.0080.00023.68
8.1.260.0070.00028.09
8.1.250.0000.00728.09
8.1.240.0040.00721.95
8.1.230.0060.00620.82
8.1.220.0000.00717.78
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.71
8.1.160.0000.00721.94
8.1.150.0050.00318.96
8.1.140.0040.00419.59
8.1.130.0000.00717.73
8.1.120.0000.00717.51
8.1.110.0000.00717.36
8.1.100.0000.00817.39
8.1.90.0040.00417.37
8.1.80.0000.00817.49
8.1.70.0000.00717.36
8.1.60.0030.00517.52
8.1.50.0030.00617.55
8.1.40.0020.00517.53
8.1.30.0030.00617.68
8.1.20.0040.00417.53
8.1.10.0080.00017.57
8.1.00.0000.00717.59
8.0.300.0020.00518.77
8.0.290.0040.00416.75
8.0.280.0070.00018.53
8.0.270.0030.00317.19
8.0.260.0000.00817.34
8.0.250.0050.00216.94
8.0.240.0000.00717.03
8.0.230.0030.00316.93
8.0.220.0000.00716.97
8.0.210.0000.00817.01
8.0.200.0030.00316.95
8.0.190.0000.00917.06
8.0.180.0030.00516.88
8.0.170.0060.00317.04
8.0.160.0000.00817.04
8.0.150.0040.00416.87
8.0.140.0000.00716.83
8.0.130.0000.00813.44
8.0.120.0000.00916.96
8.0.110.0000.00816.98
8.0.100.0050.00316.99
8.0.90.0000.00716.96
8.0.80.0090.00616.97
8.0.70.0040.00416.82
8.0.60.0040.00416.74
8.0.50.0000.00716.91
8.0.30.0140.00617.32
8.0.20.0070.01117.40
8.0.10.0050.00316.91
8.0.00.0100.01116.78
7.4.330.0050.00016.83
7.4.320.0000.00616.58
7.4.300.0000.00616.43
7.4.290.0000.00716.51
7.4.280.0030.00316.53
7.4.270.0030.00316.60
7.4.260.0060.00316.51
7.4.250.0000.00716.43
7.4.240.0050.00316.58
7.4.230.0000.00716.70
7.4.220.0100.01716.57
7.4.210.0070.00716.56
7.4.200.0030.00316.36
7.4.160.0100.01016.62
7.4.150.0100.00717.40
7.4.140.0110.01417.86
7.4.130.0090.00916.54
7.4.120.0100.00716.61
7.4.110.0030.01416.53
7.4.100.0030.01516.48
7.4.90.0080.01216.52
7.4.80.0090.00919.39
7.4.70.0030.01716.73
7.4.60.0130.00316.41
7.4.50.0090.00616.57
7.4.40.0150.00616.55
7.4.30.0000.01716.67
7.4.00.0000.01614.85
7.3.330.0000.00513.20
7.3.320.0030.00313.20
7.3.310.0040.00316.41
7.3.300.0080.00016.38
7.3.290.0050.01116.35
7.3.280.0060.01216.37
7.3.270.0120.00617.40
7.3.260.0040.01216.60
7.3.250.0100.00916.61
7.3.240.0090.00916.51
7.3.230.0120.00616.52
7.3.210.0150.00916.50
7.3.200.0100.00616.68
7.3.190.0070.01116.39
7.3.180.0150.00316.71
7.3.170.0130.00316.51
7.3.160.0070.01116.73
7.3.10.0030.01416.22
7.3.00.0130.00316.52
7.2.330.0150.00916.58
7.2.320.0090.01316.29
7.2.310.0130.00316.43
7.2.300.0100.00716.36
7.2.290.0080.00816.66
7.2.130.0090.00916.89
7.2.120.0080.00816.60
7.2.110.0130.00616.52
7.2.100.0140.00716.59
7.2.90.0030.01416.63
7.2.80.0130.00016.42
7.2.70.0070.01116.60
7.2.60.0110.00516.53
7.2.50.0060.01216.34
7.2.40.0090.00916.60
7.2.30.0120.00816.55
7.2.20.0200.00016.26
7.2.10.0110.00616.68
7.2.00.0070.00917.97
7.1.250.0120.00915.41
7.1.200.0030.01015.48
7.1.100.0040.00817.72
7.1.70.0040.00417.07
7.1.60.0090.01519.36
7.1.50.0070.01816.63
7.1.00.0070.07322.45
7.0.200.0030.00616.72
7.0.60.0070.03719.88
7.0.50.0070.08017.87
7.0.40.0070.04320.22
7.0.30.0200.04020.30
7.0.20.0200.09020.07
7.0.10.0000.08320.14
7.0.00.0000.05320.16
5.6.280.0000.03320.79
5.6.210.0100.08320.73
5.6.200.0130.07718.19
5.6.190.0070.08320.47
5.6.180.0500.06320.48
5.6.170.0430.07020.47
5.6.160.0070.04020.49
5.6.150.0070.06318.29
5.6.140.0000.04318.18
5.6.130.0100.03718.25
5.6.120.0100.03721.00
5.6.110.0070.07321.02
5.6.100.0100.07321.03
5.6.90.0070.08721.00
5.6.80.0100.07320.38
5.5.350.4530.04020.38
5.5.340.0170.06317.98
5.5.330.0070.09320.27
5.5.320.0070.08720.36
5.5.310.0130.06020.26
5.5.300.0030.08017.96
5.5.290.0030.04317.97
5.5.280.0170.07720.80
5.5.270.0100.08320.68
5.5.260.0000.08720.73
5.5.250.0100.07020.70
5.5.240.0100.05020.27

preferences:
63.94 ms | 401 KiB | 5 Q