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=".(String)$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.0110.00416.75
8.3.50.0100.00921.95
8.3.40.0180.00318.94
8.3.30.0110.00418.68
8.3.20.0040.00420.35
8.3.10.0080.00021.77
8.3.00.0050.00319.38
8.2.180.0070.00718.54
8.2.170.0100.00322.96
8.2.160.0090.00620.53
8.2.150.0030.00524.18
8.2.140.0040.00424.66
8.2.130.0090.00017.50
8.2.120.0140.00026.35
8.2.110.0060.00320.52
8.2.100.0040.00817.93
8.2.90.0080.00019.26
8.2.80.0000.00817.97
8.2.70.0040.00417.49
8.2.60.0030.00518.04
8.2.50.0000.00818.07
8.2.40.0070.00319.41
8.2.30.0050.00320.70
8.2.20.0060.00317.67
8.2.10.0000.00818.07
8.2.00.0070.00018.18
8.1.280.0070.00725.92
8.1.270.0070.00323.76
8.1.260.0040.00428.09
8.1.250.0070.00028.09
8.1.240.0060.00322.24
8.1.230.0070.00417.66
8.1.220.0080.00017.74
8.1.210.0050.00318.77
8.1.200.0030.00617.23
8.1.190.0050.00317.35
8.1.180.0000.00818.10
8.1.170.0040.00418.53
8.1.160.0040.00422.02
8.1.150.0000.00718.82
8.1.140.0000.00819.70
8.1.130.0000.00717.59
8.1.120.0000.00717.56
8.1.110.0000.00717.44
8.1.100.0080.00017.50
8.1.90.0030.00617.49
8.1.80.0000.00717.38
8.1.70.0080.00017.44
8.1.60.0000.00817.65
8.1.50.0050.00317.52
8.1.40.0040.00417.50
8.1.30.0080.00017.60
8.1.20.0030.00617.48
8.1.10.0030.00517.44
8.1.00.0040.00417.54
8.0.300.0020.00518.77
8.0.290.0070.00016.75
8.0.280.0040.00418.46
8.0.270.0000.00717.28
8.0.260.0030.00317.20
8.0.250.0080.00016.98
8.0.240.0040.00417.05
8.0.230.0050.00317.03
8.0.220.0030.00317.00
8.0.210.0050.00316.90
8.0.200.0000.00617.02
8.0.190.0080.00317.00
8.0.180.0000.00717.04
8.0.170.0070.00316.89
8.0.160.0030.00617.04
8.0.150.0000.00816.98
8.0.140.0000.00816.78
8.0.130.0000.00713.41
8.0.120.0030.00617.00
8.0.110.0000.00716.89
8.0.100.0040.00417.01
8.0.90.0000.00716.88
8.0.80.0070.01117.02
8.0.70.0070.00016.75
8.0.60.0000.00916.73
8.0.50.0000.00816.77
8.0.30.0110.00817.29
8.0.20.0160.00717.40
8.0.10.0070.00316.88
8.0.00.0090.01116.97
7.4.330.0030.00316.79
7.4.320.0000.00616.59
7.4.300.0030.00316.57
7.4.290.0030.00316.50
7.4.280.0040.00416.56
7.4.270.0040.00416.59
7.4.260.0070.00316.68
7.4.250.0000.00716.48
7.4.240.0010.00616.61
7.4.230.0000.00716.65
7.4.220.0140.00516.64
7.4.210.0090.00916.57
7.4.200.0040.00416.36
7.4.160.0060.00916.38
7.4.150.0190.00617.40
7.4.140.0080.01617.86
7.4.130.0080.00916.51
7.4.120.0060.01116.58
7.4.110.0140.00316.39
7.4.100.0150.00316.38
7.4.90.0060.01216.32
7.4.80.0050.01319.39
7.4.70.0130.00316.55
7.4.60.0090.00616.46
7.4.50.0030.01216.60
7.4.40.0180.00016.61
7.4.30.0200.00316.55
7.4.00.0030.01014.82
7.3.330.0050.00013.38
7.3.320.0030.00313.24
7.3.310.0040.00416.39
7.3.300.0070.00016.41
7.3.290.0060.01016.32
7.3.280.0090.01016.38
7.3.270.0060.01217.40
7.3.260.0060.01116.53
7.3.250.0030.01416.38
7.3.240.0160.00516.44
7.3.230.0100.00716.39
7.3.210.0100.01016.52
7.3.200.0120.00416.48
7.3.190.0090.01216.61
7.3.180.0060.01116.45
7.3.170.0090.00916.66
7.3.160.0050.01816.61
7.3.10.0090.00616.61
7.3.00.0040.01116.75
7.2.330.0120.01216.70
7.2.320.0070.01716.75
7.2.310.0110.00516.36
7.2.300.0030.01416.36
7.2.290.0100.00716.80
7.2.130.0110.00416.79
7.2.120.0030.01016.67
7.2.110.0080.00816.54
7.2.100.0060.00616.86
7.2.90.0140.00016.91
7.2.80.0090.00916.73
7.2.70.0120.00316.81
7.2.60.0080.00616.88
7.2.50.0100.00317.00
7.2.40.0030.01016.95
7.2.30.0030.00916.93
7.2.20.0030.01017.05
7.2.10.0000.01216.87
7.2.00.0060.00718.19
7.1.250.0070.00315.88
7.1.200.0000.01615.73
7.1.100.0030.00817.95
7.1.70.0000.01016.92
7.1.60.0110.01519.36
7.1.50.0110.00616.64
7.1.00.0030.07722.33
7.0.200.0000.00716.91
7.0.60.0000.04319.88
7.0.50.0070.07717.85
7.0.40.0070.05020.11
7.0.30.0470.06320.09
7.0.20.0200.04720.15
7.0.10.0030.04720.24
7.0.00.0200.06320.25
5.6.280.0000.06720.89
5.6.210.0000.04720.68
5.6.200.0070.06718.19
5.6.190.0170.06720.48
5.6.180.0470.04020.61
5.6.170.0300.07720.43
5.6.160.0070.07320.39
5.6.150.0100.08318.12
5.6.140.0070.04718.21
5.6.130.0000.06318.23
5.6.120.0070.03721.12
5.6.110.0070.08720.97
5.6.100.0070.09021.14
5.6.90.0030.04020.98
5.6.80.0100.03020.51
5.5.350.4000.04320.34
5.5.340.0000.04017.96
5.5.330.0130.07720.13
5.5.320.0070.05020.51
5.5.310.0200.05720.32
5.5.300.0070.05717.98
5.5.290.0030.06018.04
5.5.280.0030.04020.89
5.5.270.0100.04720.96
5.5.260.0000.09320.77
5.5.250.0100.05720.50
5.5.240.0270.02020.27

preferences:
39.8 ms | 401 KiB | 5 Q