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=".$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.75
8.3.50.0080.01021.99
8.3.40.0070.01018.91
8.3.30.0100.00318.76
8.3.20.0080.00020.29
8.3.10.0000.00821.95
8.3.00.0000.00819.38
8.2.180.0120.00318.66
8.2.170.0090.00622.96
8.2.160.0110.00420.51
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0080.00019.23
8.2.120.0000.00826.35
8.2.110.0060.00320.25
8.2.100.0090.00317.84
8.2.90.0060.00317.75
8.2.80.0040.00418.92
8.2.70.0040.00419.26
8.2.60.0040.00417.50
8.2.50.0050.00317.63
8.2.40.0050.00317.88
8.2.30.0020.00517.75
8.2.20.0090.00017.64
8.2.10.0050.00318.07
8.2.00.0000.00718.01
8.1.280.0110.00425.92
8.1.270.0060.00323.97
8.1.260.0050.00328.09
8.1.250.0070.00028.09
8.1.240.0090.00023.90
8.1.230.0040.00722.09
8.1.220.0000.00917.77
8.1.210.0030.00618.77
8.1.200.0090.00017.38
8.1.190.0030.00617.36
8.1.180.0040.00418.10
8.1.170.0030.00517.62
8.1.160.0040.00418.82
8.1.150.0070.00018.87
8.1.140.0100.00019.69
8.1.130.0000.00717.62
8.1.120.0040.00417.52
8.1.110.0000.00817.36
8.1.100.0040.00417.50
8.1.90.0000.00817.42
8.1.80.0030.00517.50
8.1.70.0000.00817.28
8.1.60.0040.00417.56
8.1.50.0000.00817.44
8.1.40.0040.00417.45
8.1.30.0060.00317.56
8.1.20.0040.00417.53
8.1.10.0050.00317.49
8.1.00.0030.00617.50
8.0.300.0080.00018.78
8.0.290.0000.00816.75
8.0.280.0000.00818.07
8.0.270.0000.00718.05
8.0.260.0060.00017.19
8.0.250.0000.00616.92
8.0.240.0050.00217.05
8.0.230.0070.00017.01
8.0.220.0030.00317.00
8.0.210.0030.00316.95
8.0.200.0040.00417.01
8.0.190.0000.01016.97
8.0.180.0000.00816.92
8.0.170.0110.00316.89
8.0.160.0030.00517.09
8.0.150.0030.00616.90
8.0.140.0030.00316.89
8.0.130.0000.00813.40
8.0.120.0000.00816.79
8.0.110.0000.00916.84
8.0.100.0000.00716.96
8.0.90.0040.00417.09
8.0.80.0040.01116.88
8.0.70.0040.00417.02
8.0.60.0030.00516.86
8.0.50.0050.00216.89
8.0.30.0150.00317.03
8.0.20.0120.00617.41
8.0.10.0000.00717.00
8.0.00.0080.00916.85
7.4.330.0000.00516.67
7.4.320.0000.00716.52
7.4.300.0030.00316.66
7.4.290.0000.00716.52
7.4.280.0070.00016.59
7.4.270.0080.00016.43
7.4.260.0100.00016.43
7.4.250.0070.00016.59
7.4.240.0060.00216.46
7.4.230.0000.00716.51
7.4.220.0070.01116.46
7.4.210.0110.00816.60
7.4.200.0030.00316.64
7.4.160.0110.00416.67
7.4.150.0110.02117.40
7.4.140.0200.00717.86
7.4.130.0080.00816.53
7.4.120.0080.00816.60
7.4.110.0110.00616.54
7.4.100.0110.01116.54
7.4.90.0070.01016.50
7.4.80.0120.00619.39
7.4.70.0120.00616.46
7.4.60.0000.01616.43
7.4.50.0090.00616.30
7.4.40.0070.01016.60
7.4.30.0240.01416.57
7.4.00.0030.01115.03
7.3.330.0050.00013.31
7.3.320.0040.00413.30
7.3.310.0040.00416.41
7.3.300.0000.00716.43
7.3.290.0090.00816.32
7.3.280.0070.00916.36
7.3.270.0170.00017.40
7.3.260.0130.00316.65
7.3.250.0110.00716.45
7.3.240.0100.01016.52
7.3.230.0100.00716.39
7.3.210.0090.00916.48
7.3.200.0080.00816.61
7.3.190.0100.00716.45
7.3.180.0000.01716.52
7.3.170.0160.00616.43
7.3.160.0170.00616.64
7.2.330.0150.00916.39
7.2.320.0090.01416.40
7.2.310.0070.01416.75
7.2.300.0150.00616.62
7.2.290.0160.02516.71
7.2.60.0000.01216.63
7.2.00.0060.00619.45
7.1.200.0030.01015.58
7.1.100.0080.00517.96
7.1.70.0000.00817.11
7.1.60.0040.02119.36
7.1.50.0070.01416.96
7.1.00.0030.07722.40
7.0.200.0000.00916.63
7.0.60.0030.04020.03
7.0.50.0000.05717.89
7.0.40.0070.04320.24
7.0.30.0230.03320.08
7.0.20.0200.08320.25
7.0.10.0030.05020.41
7.0.00.0200.06320.15
5.6.280.0130.06021.09
5.6.210.0230.06320.67
5.6.200.0170.06018.22
5.6.190.0170.07720.50
5.6.180.0570.06720.50
5.6.170.0230.07720.39
5.6.160.0030.07020.54
5.6.150.0070.08018.29
5.6.140.0100.07718.15
5.6.130.0070.06018.28
5.6.120.0100.04020.99
5.6.110.0200.06321.12
5.6.100.0070.09020.99
5.6.90.0030.08720.95
5.6.80.0100.08020.38
5.5.350.4270.04320.43
5.5.340.0170.07717.95
5.5.330.0100.08020.29
5.5.320.0030.05720.24
5.5.310.0170.04020.34
5.5.300.0100.08317.99
5.5.290.0100.06017.95
5.5.280.0130.08320.78
5.5.270.0100.08020.87
5.5.260.0200.07720.88
5.5.250.0070.08720.72
5.5.240.0270.04720.26

preferences:
47.78 ms | 401 KiB | 5 Q