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.60.0070.00716.88
8.3.50.0090.01121.92
8.3.40.0120.00318.63
8.3.30.0100.00718.70
8.3.20.0050.00220.29
8.3.10.0000.00821.85
8.3.00.0050.00319.51
8.2.180.0090.00618.25
8.2.170.0070.00722.96
8.2.160.0050.00920.35
8.2.150.0050.00224.18
8.2.140.0070.00024.66
8.2.130.0080.00019.24
8.2.120.0040.00426.35
8.2.110.0060.00320.22
8.2.100.0090.00317.88
8.2.90.0050.00319.23
8.2.80.0000.00817.97
8.2.70.0090.00017.38
8.2.60.0040.00418.04
8.2.50.0040.00418.07
8.2.40.0030.00919.30
8.2.30.0040.00420.52
8.2.20.0040.00417.82
8.2.10.0040.00418.13
8.2.00.0040.00418.14
8.1.280.0110.00425.92
8.1.270.0000.00823.84
8.1.260.0040.00428.09
8.1.250.0000.00828.09
8.1.240.0090.00622.18
8.1.230.0040.00717.79
8.1.220.0090.00017.76
8.1.210.0040.00418.77
8.1.200.0000.01017.35
8.1.190.0040.00417.23
8.1.180.0080.00018.10
8.1.170.0030.00618.78
8.1.160.0040.00422.03
8.1.150.0070.00018.79
8.1.140.0050.00319.55
8.1.130.0000.00717.70
8.1.120.0070.00017.44
8.1.110.0030.00417.33
8.1.100.0040.00417.46
8.1.90.0050.00317.46
8.1.80.0050.00317.38
8.1.70.0070.00017.47
8.1.60.0000.00817.49
8.1.50.0000.01117.48
8.1.40.0030.00517.41
8.1.30.0000.00917.58
8.1.20.0000.00717.63
8.1.10.0070.00017.63
8.1.00.0050.00317.53
8.0.300.0090.00018.77
8.0.290.0000.00916.63
8.0.280.0000.00818.39
8.0.270.0030.00317.29
8.0.260.0030.00517.27
8.0.250.0030.00317.05
8.0.240.0000.00717.08
8.0.230.0030.00517.10
8.0.220.0000.00716.87
8.0.210.0000.00716.84
8.0.200.0030.00317.02
8.0.190.0060.00616.89
8.0.180.0070.00016.95
8.0.170.0040.00717.01
8.0.160.0070.00017.04
8.0.150.0000.00916.82
8.0.140.0000.00716.92
8.0.130.0020.00513.45
8.0.120.0030.00516.93
8.0.110.0030.00516.96
8.0.100.0070.00016.96
8.0.90.0050.00316.93
8.0.80.0070.01017.03
8.0.70.0000.00716.87
8.0.60.0040.00416.95
8.0.50.0030.00516.76
8.0.30.0090.01117.10
8.0.20.0120.01617.40
8.0.10.0050.00316.98
8.0.00.0090.00916.79
7.4.330.0020.00316.77
7.4.320.0030.00316.46
7.4.300.0000.00616.51
7.4.290.0040.00416.53
7.4.280.0030.00316.54
7.4.270.0000.00616.63
7.4.260.0030.00316.52
7.4.250.0040.00416.63
7.4.240.0020.00516.56
7.4.230.0070.00016.69
7.4.220.0030.01516.61
7.4.210.0090.00616.53
7.4.200.0030.00316.64
7.4.160.0090.00616.57
7.4.150.0250.02317.40
7.4.140.0160.00517.86
7.4.130.0150.00516.57
7.4.120.0090.00916.51
7.4.110.0130.00316.57
7.4.100.0090.01516.49
7.4.90.0130.00316.47
7.4.80.0070.01019.39
7.4.70.0030.01416.43
7.4.60.0060.01216.53
7.4.50.0040.01416.60
7.4.40.0120.00616.41
7.4.30.0050.01316.66
7.4.00.0000.00914.88
7.3.330.0000.00513.26
7.3.320.0030.00413.24
7.3.310.0020.00516.35
7.3.300.0030.00316.21
7.3.290.0140.00716.38
7.3.280.0080.00916.35
7.3.270.0060.01117.40
7.3.260.0100.00716.39
7.3.250.0100.00816.47
7.3.240.0060.01516.46
7.3.230.0060.01216.39
7.3.210.0030.02216.45
7.3.200.0030.01316.57
7.3.190.0120.00616.51
7.3.180.0120.00616.63
7.3.170.0090.00916.50
7.3.160.0100.00716.45
7.3.10.0070.00316.72
7.3.00.0040.00416.49
7.2.330.0100.01316.37
7.2.320.0100.01016.43
7.2.310.0090.00616.74
7.2.300.0110.01116.45
7.2.290.0030.01416.63
7.2.130.0040.01117.05
7.2.120.0000.01416.82
7.2.110.0060.00616.71
7.2.100.0140.00016.78
7.2.90.0090.00316.67
7.2.80.0030.01016.73
7.2.70.0030.01016.96
7.2.60.0080.00516.88
7.2.50.0070.00416.68
7.2.40.0030.00716.94
7.2.30.0030.00917.00
7.2.20.0040.00716.86
7.2.10.0030.00517.07
7.2.00.0050.01018.22
7.1.250.0000.01215.69
7.1.200.0030.00615.63
7.1.100.0060.00617.91
7.1.70.0040.00417.12
7.1.60.0070.01719.36
7.1.50.0120.00916.99
7.1.00.0000.08022.36
7.0.200.0040.00416.73
7.0.60.0070.04319.81
7.0.50.0030.05317.90
7.0.40.0000.07720.27
7.0.30.0200.03720.21
7.0.20.0230.07020.30
7.0.10.0030.04720.19
7.0.00.0030.04720.05
5.6.280.0070.07021.11
5.6.210.0130.07720.51
5.6.200.0070.07018.24
5.6.190.0100.08720.39
5.6.180.0330.05020.67
5.6.170.0270.07020.39
5.6.160.0100.06020.45
5.6.150.0030.08718.19
5.6.140.0070.08018.23
5.6.130.0200.07718.23
5.6.120.0070.04021.15
5.6.110.0100.04020.89
5.6.100.0070.08321.03
5.6.90.0070.07021.02
5.6.80.0130.06720.41
5.5.350.4200.04320.44
5.5.340.0070.07717.96
5.5.330.0070.05020.27
5.5.320.0070.08320.36
5.5.310.0230.08720.20
5.5.300.0000.06318.07
5.5.290.0030.09018.08
5.5.280.0000.05020.88
5.5.270.0200.06020.96
5.5.260.0100.07020.96
5.5.250.0170.06720.78
5.5.240.0200.07720.16

preferences:
49.6 ms | 401 KiB | 5 Q