3v4l.org

run code in 300+ PHP versions simultaneously
<?php function request() { $url = "https://test.oppwa.com/v1/checkouts"; $data = "authentication.userId=8a8294174e735d0c014e78c107b615ba" . "&authentication.password=eqSm4TjRQw" . "&authentication.entityId=8a8294174e735d0c014e78c107aa15b6" . "&amount=92.00" . "&currency=EUR" . "&paymentType=PA"; $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.0090.00616.75
8.3.50.0050.01421.99
8.3.40.0100.00718.98
8.3.30.0140.00718.46
8.3.20.0040.00420.22
8.3.10.0040.00421.76
8.3.00.0000.00819.38
8.2.180.0080.00818.50
8.2.170.0140.00022.96
8.2.160.0130.00720.47
8.2.150.0030.00524.18
8.2.140.0000.00724.66
8.2.130.0030.00619.38
8.2.120.0030.00526.35
8.2.110.0060.00319.38
8.2.100.0110.00017.78
8.2.90.0050.00319.26
8.2.80.0050.00317.97
8.2.70.0050.00317.63
8.2.60.0030.00617.93
8.2.50.0050.00318.07
8.2.40.0030.00819.11
8.2.30.0040.00420.51
8.2.20.0000.00817.63
8.2.10.0020.00518.13
8.2.00.0000.00817.94
8.1.280.0190.00625.92
8.1.270.0030.00723.94
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0040.00419.15
8.1.230.0070.00422.18
8.1.220.0000.00717.79
8.1.210.0040.00418.77
8.1.200.0090.00017.23
8.1.190.0050.00317.35
8.1.180.0040.00418.10
8.1.170.0040.00418.62
8.1.160.0040.00422.00
8.1.150.0000.00718.74
8.1.140.0000.00819.50
8.1.130.0050.00217.69
8.1.120.0070.00017.41
8.1.110.0030.00517.35
8.1.100.0040.00417.33
8.1.90.0070.00017.27
8.1.80.0040.00417.44
8.1.70.0020.00517.28
8.1.60.0040.00417.53
8.1.50.0060.00317.53
8.1.40.0040.00417.40
8.1.30.0000.00917.55
8.1.20.0070.00017.64
8.1.10.0030.00617.56
8.1.00.0020.00517.41
8.0.300.0040.00418.77
8.0.290.0070.00016.75
8.0.280.0040.00418.45
8.0.270.0000.00717.21
8.0.260.0060.00017.11
8.0.250.0040.00417.01
8.0.240.0040.00416.93
8.0.230.0030.00316.99
8.0.220.0050.00316.93
8.0.210.0040.00416.83
8.0.200.0030.00316.80
8.0.190.0070.00316.85
8.0.180.0000.00716.91
8.0.170.0040.00716.91
8.0.160.0050.00316.91
8.0.150.0000.00716.79
8.0.140.0030.00316.87
8.0.130.0030.00313.39
8.0.120.0000.00816.75
8.0.110.0040.00416.90
8.0.100.0000.00716.77
8.0.90.0070.00016.77
8.0.80.0120.00616.93
8.0.70.0070.00016.94
8.0.60.0040.00416.79
8.0.50.0070.00016.86
8.0.30.0090.01217.06
8.0.20.0100.00817.40
8.0.10.0080.00016.89
8.0.00.0100.01116.90
7.4.330.0050.00016.80
7.4.320.0000.00716.38
7.4.300.0000.00716.41
7.4.290.0030.00316.58
7.4.280.0030.00316.65
7.4.270.0000.00716.38
7.4.260.0040.00416.40
7.4.250.0000.00716.40
7.4.240.0020.00516.53
7.4.230.0070.00016.64
7.4.220.0120.00616.56
7.4.210.0120.00416.48
7.4.200.0030.00316.70
7.4.160.0100.01016.59
7.4.150.0090.00917.40
7.4.140.0150.01017.86
7.4.130.0130.00516.47
7.4.120.0080.00816.52
7.4.110.0160.00616.39
7.4.100.0090.01316.56
7.4.90.0100.00716.45
7.4.80.0060.01319.39
7.4.70.0100.00616.57
7.4.60.0100.01016.48
7.4.50.0030.00916.30
7.4.40.0170.00016.37
7.4.30.0140.00316.51
7.4.00.0060.00814.83
7.3.330.0030.00313.27
7.3.320.0040.00313.18
7.3.310.0000.00716.39
7.3.300.0000.00716.16
7.3.290.0090.00816.30
7.3.280.0100.00916.31
7.3.270.0070.01117.40
7.3.260.0100.00716.27
7.3.250.0110.00716.24
7.3.240.0130.00516.39
7.3.230.0060.01216.39
7.3.210.0070.01116.37
7.3.200.0050.01316.25
7.3.190.0070.01116.57
7.3.180.0120.00916.42
7.3.170.0090.00616.47
7.3.160.0090.00616.61
7.3.120.0080.01014.60
7.3.110.0070.00915.03
7.3.100.0070.01014.98
7.3.90.0050.01014.75
7.3.80.0070.00514.97
7.3.70.0070.00714.82
7.3.60.0020.01114.72
7.3.50.0080.00314.71
7.3.40.0100.00514.84
7.3.30.0020.01414.85
7.3.20.0070.00416.68
7.3.10.0110.00416.58
7.3.00.0090.00616.36
7.2.330.0070.01016.56
7.2.320.0070.01516.29
7.2.310.0050.01116.48
7.2.300.0070.01716.30
7.2.290.0060.01316.63
7.2.250.0120.00715.12
7.2.240.0080.01015.11
7.2.230.0090.00614.91
7.2.220.0080.00714.90
7.2.210.0030.01314.76
7.2.200.0080.01015.04
7.2.190.0030.01214.89
7.2.180.0030.01214.87
7.2.170.0100.00614.79
7.2.160.0140.00714.90
7.2.150.0030.01016.90
7.2.140.0000.01316.56
7.2.130.0100.00716.64
7.2.120.0100.00816.69
7.2.110.0020.01116.41
7.2.100.0070.00516.61
7.2.90.0070.00716.48
7.2.80.0030.00916.63
7.2.70.0070.01016.46
7.2.60.0100.00516.52
7.2.50.0140.00316.55
7.2.40.0130.00816.53
7.2.30.0140.00716.83
7.2.20.0060.01016.32
7.2.10.0080.00816.68
7.2.00.0100.00617.73
7.1.330.0100.00515.42
7.1.320.0030.01215.36
7.1.310.0070.00915.66
7.1.300.0050.00915.63
7.1.290.0080.00615.69
7.1.280.0060.00815.60
7.1.270.0070.00615.62
7.1.260.0080.00515.62
7.1.250.0050.01015.36
7.1.240.0040.00815.29
7.1.230.0120.00315.46
7.1.220.0000.01215.50
7.1.210.0060.00615.38
7.1.200.0020.00715.58
7.1.190.0100.00715.41
7.1.180.0030.01015.60
7.1.170.0030.00915.41
7.1.160.0030.01015.70
7.1.150.0080.00415.41
7.1.140.0070.00715.60
7.1.130.0000.01015.57
7.1.120.0080.00615.53
7.1.110.0000.01515.46
7.1.100.0020.00916.71
7.1.90.0050.00315.60
7.1.80.0000.01115.49
7.1.70.0030.00716.38
7.1.60.0080.01117.48
7.1.50.0030.01416.26
7.1.40.0060.00315.66
7.1.30.0100.00315.67
7.1.20.0000.01415.59
7.1.10.0110.00315.39
7.1.00.0020.04218.96
7.0.330.0060.01015.48
7.0.320.0000.01115.29
7.0.310.0100.00615.37
7.0.300.0040.01215.23
7.0.290.0060.00615.40
7.0.280.0030.00615.02
7.0.270.0070.00415.19
7.0.260.0060.00615.07
7.0.250.0000.00815.16
7.0.240.0070.00715.35
7.0.230.0090.00615.27
7.0.220.0000.01515.06
7.0.210.0070.01015.45
7.0.200.0020.01115.95
7.0.190.0060.00615.34
7.0.180.0000.01015.41
7.0.170.0030.01015.32
7.0.160.0030.01015.21
7.0.150.0100.00715.36
7.0.140.0000.00815.46
7.0.130.0030.01015.02
7.0.120.0030.00515.39
7.0.110.0000.01415.21
7.0.100.0070.00715.23
7.0.90.0000.01215.23
7.0.80.0000.00815.11
7.0.70.0040.00815.20
7.0.60.0060.02117.65
7.0.50.0050.04716.62
7.0.40.0050.02916.74
7.0.30.0120.02516.79
7.0.20.0150.04416.70
7.0.10.0080.04316.83
7.0.00.0050.04516.79
5.6.400.0080.00414.11
5.6.390.0060.00914.33
5.6.380.0030.01014.13
5.6.370.0070.01014.49
5.6.360.0090.00314.37
5.6.350.0040.00814.40
5.6.340.0060.00614.48
5.6.330.0060.00914.32
5.6.320.0030.00614.36
5.6.310.0120.00014.21
5.6.300.0030.00714.54
5.6.290.0060.00314.25
5.6.280.0050.03317.63
5.6.270.0000.00914.29
5.6.260.0100.00314.34
5.6.250.0000.01114.00
5.6.240.0000.01114.36
5.6.230.0080.00314.21
5.6.220.0060.00914.56
5.6.210.0120.03617.54
5.6.200.0070.03816.13
5.6.190.0060.04717.38
5.6.180.0250.04517.60
5.6.170.0220.03917.32
5.6.160.0030.02717.33
5.6.150.0080.03716.10
5.6.140.0020.02816.25
5.6.130.0120.04216.15
5.6.120.0020.02617.66
5.6.110.0030.03017.55
5.6.100.0100.04117.65
5.6.90.0070.03317.68
5.6.80.0080.04817.21
5.6.70.0030.01314.05
5.6.60.0090.00914.25
5.6.50.0070.00713.98
5.6.40.0070.01013.97
5.6.30.0030.00914.25
5.6.20.0090.00413.99
5.6.10.0100.00714.42
5.6.00.0030.01014.13
5.5.380.0030.01314.21
5.5.370.0110.00314.21
5.5.360.0000.00913.84
5.5.350.2240.02117.22
5.5.340.0070.02216.15
5.5.330.0050.04617.16
5.5.320.0070.03317.14
5.5.310.0170.04317.07
5.5.300.0060.03015.91
5.5.290.0030.02516.16
5.5.280.0090.03717.43
5.5.270.0100.04317.46
5.5.260.0130.03817.42
5.5.250.0020.05017.37
5.5.240.0200.04017.04
5.5.230.0030.01013.95
5.5.220.0110.00313.93
5.5.210.0030.01013.81
5.5.200.0070.00714.00
5.5.190.0040.01113.83
5.5.180.0130.00314.19
5.5.170.0130.00014.13
5.5.160.0000.00913.95
5.5.150.0100.00713.92
5.5.140.0060.00914.00
5.5.130.0000.00814.16
5.5.120.0030.01014.02
5.5.110.0030.01014.24
5.5.100.0100.00714.31
5.5.90.0060.00613.72
5.5.80.0110.00414.04
5.5.70.0040.01413.81
5.5.60.0080.00414.00
5.5.50.0000.00914.17
5.5.40.0030.00713.75
5.5.30.0140.00313.83
5.5.20.0100.00014.04
5.5.10.0060.01214.30
5.5.00.0040.00813.76

preferences:
54.7 ms | 401 KiB | 5 Q