3v4l.org

run code in 300+ PHP versions simultaneously
<?php $curl = curl_init(); curl_setopt($curl, CURLOPT_URL,'https://api.companieshouse.gov.uk/company/{$values["CN_Find"]}'); curl_setopt($curl, CURLOPT_USERPWD,"xxxxvNNXnY74231mF2P27ZwMyyoULOM1vfdcgh"); curl_setopt($curl, CURLOPT_INTERFACE, NULL); curl_setopt($curl, CURLOPT_CUSTOMREQUEST, 'GET'); curl_setopt($curl, CURLOPT_RETURNTRANSFER, true); curl_setopt($curl, CURLOPT_HEADER, true); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 0); curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); ; // Send the request & save response to $resp $resp = curl_exec($curl); // Close request to clear up some resources curl_close($curl); $data = $resp; $resp = json_decode($data, true); var_dump( ) ; //********** Redirect to another page ************ header("Location: subscriptions1_edit.php?editid1=".$keys["ID_Sub"]); exit() ;

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.0120.00318.08
8.3.50.0110.00416.26
8.3.40.0120.00318.87
8.3.30.0100.00719.14
8.3.20.0040.00420.21
8.3.10.0080.00023.52
8.3.00.0040.00423.66
8.2.180.0170.00316.63
8.2.170.0150.00022.96
8.2.160.0100.00322.26
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0060.00317.63
8.2.110.0050.00522.15
8.2.100.0040.00919.41
8.2.90.0050.00319.09
8.2.80.0000.00817.97
8.2.70.0090.00017.49
8.2.60.0070.00017.80
8.2.50.0000.00818.07
8.2.40.0030.00621.07
8.2.30.0000.00718.03
8.2.20.0000.00817.59
8.2.10.0040.00418.07
8.2.00.0040.00818.08
8.1.280.0100.01025.92
8.1.270.0060.00320.38
8.1.260.0050.00326.35
8.1.250.0040.00428.09
8.1.240.0080.00321.82
8.1.230.0110.00020.95
8.1.220.0030.00517.74
8.1.210.0000.00818.77
8.1.200.0000.01017.22
8.1.190.0090.00017.10
8.1.180.0050.00318.10
8.1.170.0030.00518.48
8.1.160.0040.00421.94
8.1.150.0030.00518.66
8.1.140.0050.00217.37
8.1.130.0040.00417.64
8.1.120.0000.00817.41
8.1.110.0040.00417.27
8.1.100.0000.00717.35
8.1.90.0030.00317.39
8.1.80.0000.00817.36
8.1.70.0030.00317.38
8.1.60.0030.00617.39
8.1.50.0000.00817.51
8.1.40.0030.00517.49
8.1.30.0060.00317.57
8.1.20.0000.00717.55
8.1.10.0040.00417.50
8.1.00.0070.00017.49
8.0.300.0040.00418.77
8.0.290.0090.00016.75
8.0.280.0030.00318.46
8.0.270.0070.00017.15
8.0.260.0000.00617.22
8.0.250.0040.00416.89
8.0.240.0030.00316.88
8.0.230.0070.00016.95
8.0.220.0000.00716.83
8.0.210.0000.00816.91
8.0.200.0000.00616.91
8.0.190.0040.00416.99
8.0.180.0040.00416.90
8.0.170.0040.00416.96
8.0.160.0070.00016.93
8.0.150.0030.00316.83
8.0.140.0040.00416.77
8.0.130.0040.00413.36
8.0.120.0040.00416.79
8.0.110.0050.00216.76
8.0.100.0040.00416.96
8.0.90.0000.00816.79
8.0.80.0060.01416.90
8.0.70.0000.00816.81
8.0.60.0040.00416.94
8.0.50.0040.00416.91
8.0.30.0120.00517.04
8.0.20.0110.01117.40
8.0.10.0030.00516.92
8.0.00.0120.00816.77
7.4.330.0050.00015.16
7.4.320.0000.00616.41
7.4.300.0000.00616.49
7.4.290.0030.00616.59
7.4.280.0070.00016.46
7.4.270.0030.00316.59
7.4.260.0030.00316.35
7.4.250.0000.00716.54
7.4.240.0020.00516.48
7.4.230.0070.00016.51
7.4.220.0130.00716.56
7.4.210.0070.00716.53
7.4.200.0070.00016.66
7.4.160.0070.01016.39
7.4.150.0100.00617.40
7.4.140.0130.01017.86
7.4.130.0070.01016.59
7.4.120.0120.00516.61
7.4.110.0030.01316.60
7.4.100.0090.01016.59
7.4.90.0100.00716.50
7.4.80.0110.00719.39
7.4.70.0130.00316.50
7.4.60.0060.00916.49
7.4.50.0040.00416.55
7.4.40.0120.00616.45
7.4.30.0130.01016.58
7.4.00.0040.01114.91
7.3.330.0000.00613.19
7.3.320.0030.00313.24
7.3.310.0000.00716.29
7.3.300.0030.00316.28
7.3.290.0110.00416.29
7.3.280.0080.00916.29
7.3.270.0130.00617.40
7.3.260.0150.00416.34
7.3.250.0110.00816.37
7.3.240.0110.00616.24
7.3.230.0070.01016.43
7.3.210.0160.00316.43
7.3.200.0030.01316.22
7.3.190.0030.01316.44
7.3.180.0120.00416.39
7.3.170.0100.00716.31
7.3.160.0140.00716.27
7.2.330.0130.00716.47
7.2.320.0070.01116.57
7.2.310.0030.01316.64
7.2.300.0090.00616.32
7.2.290.0070.01016.59
7.2.60.0040.00716.57
7.2.00.0120.00619.23
7.1.200.0040.00815.73
7.1.100.0060.00617.98
7.1.70.0000.01116.82
7.1.60.0060.01919.42
7.1.50.0170.02134.73
7.1.00.0130.06722.48
7.0.200.0000.00716.59
7.0.60.0170.08020.04
7.0.50.0070.04317.84
7.0.40.0000.09020.27
7.0.30.0100.05720.13
7.0.20.0200.05020.09
7.0.10.0130.08020.00
7.0.00.0130.08020.18
5.6.280.0030.07021.13
5.6.210.0030.08320.75
5.6.200.0100.08318.17
5.6.190.0030.04320.41
5.6.180.0570.07020.67
5.6.170.0300.04020.50
5.6.160.0100.08320.38
5.6.150.0070.07718.18
5.6.140.0130.07318.21
5.6.130.0070.06718.10
5.6.120.0100.03721.00
5.6.110.0100.08020.99
5.6.100.0200.06320.99
5.6.90.0130.06321.13
5.6.80.0130.06320.38
5.5.350.0270.06320.47
5.5.340.0070.05318.01
5.5.330.0070.04020.29
5.5.320.0300.06720.32
5.5.310.0130.04320.20
5.5.300.0000.07318.02
5.5.290.0070.08017.97
5.5.280.0130.05020.81
5.5.270.0030.08720.79
5.5.260.0000.08020.69
5.5.250.0070.04020.70
5.5.240.0070.07020.16
5.4.450.0500.05319.32
5.4.440.0770.05719.61
5.4.430.0870.05719.10
5.4.420.0800.06319.44
5.4.410.0870.06319.10
5.4.400.1100.05019.31
5.4.390.0800.05318.92
5.4.380.0870.06019.28
5.4.370.0830.05019.26
5.4.360.0800.05019.22
5.4.350.1070.04718.82
5.4.340.0870.05719.12
5.4.320.0670.06718.99
5.4.310.0800.05018.80
5.4.300.0770.04718.95
5.4.290.0800.05718.91
5.4.280.0830.06319.08
5.4.270.0870.04319.31
5.4.260.0670.05719.18
5.4.250.0800.05319.29
5.4.240.0600.05719.07
5.4.230.0930.06019.20
5.4.220.0930.05019.17
5.4.210.0730.04319.28
5.4.200.0670.04316.77
5.4.190.0700.05318.94
5.4.180.0670.06019.06
5.4.170.0930.06719.06
5.4.160.0900.05318.93
5.4.150.0800.04719.27
5.4.140.1170.05016.51
5.4.130.0900.04716.27
5.4.120.1030.04316.45
5.4.110.0800.04316.37
5.4.100.0600.06016.26
5.4.90.0870.04316.21
5.4.80.0800.04316.30
5.4.70.0670.05016.32
5.4.60.0900.04716.47
5.4.50.0700.05316.48
5.4.40.1000.04316.18
5.4.30.1030.04016.41
5.4.20.0770.05316.30
5.4.10.0900.05716.33
5.4.00.0930.04315.82
5.3.290.0930.05314.66
5.3.280.0830.05014.55
5.3.270.1130.06714.46
5.3.260.0670.06014.48
5.3.250.0670.05714.58
5.3.240.0770.05714.73
5.3.230.0770.05314.49
5.3.220.0770.06014.39
5.3.210.1030.06314.53
5.3.200.1170.07314.42
5.3.190.0930.04714.45
5.3.180.0770.05014.41
5.3.170.1200.05714.43
5.3.160.1100.04714.55
5.3.150.1070.05714.41
5.3.140.0900.05014.55
5.3.130.1000.05714.42
5.3.120.1070.04014.49
5.3.110.0970.05714.40
5.3.100.1030.05713.93
5.3.90.0800.04713.98
5.3.80.0830.04013.87
5.3.70.0770.05313.82
5.3.60.0900.05313.81
5.3.50.0900.05313.90
5.3.40.0970.04313.84
5.3.30.0800.05013.90
5.3.20.1070.03713.59
5.3.10.0770.04313.51
5.3.00.0800.04313.48
5.2.170.0800.04311.15
5.2.160.0730.04311.15
5.2.150.0770.03710.96
5.2.140.0800.04011.20
5.2.130.0800.04010.91
5.2.120.0670.03710.96
5.2.110.0370.03711.21
5.2.100.0070.04010.95
5.2.90.0100.03710.96
5.2.80.0100.04010.97
5.2.70.0230.04311.18
5.2.60.0700.04010.90
5.2.50.0630.05010.86
5.2.40.0570.03711.16
5.2.30.0730.03710.82
5.2.20.0630.04710.80
5.2.10.0400.05010.82
5.2.00.0430.05010.73
5.1.60.0670.0279.87
5.1.50.0470.03710.06
5.1.40.0570.03010.04
5.1.30.0700.03010.39
5.1.20.0470.05010.38
5.1.10.0830.03710.24
5.1.00.0830.0379.96
5.0.50.0400.0238.63
5.0.40.0370.0238.30
5.0.30.0200.0508.21
5.0.20.0430.0308.25
5.0.10.0270.0338.23
5.0.00.0270.0538.09
4.4.90.0370.0175.81
4.4.80.0330.0205.84
4.4.70.0330.0275.80
4.4.60.0230.0235.78
4.4.50.0370.0235.77
4.4.40.0330.0335.84
4.4.30.0270.0205.82
4.4.20.0270.0235.93
4.4.10.0230.0275.90
4.4.00.0230.0405.83
4.3.110.0300.0135.77
4.3.100.0230.0235.75
4.3.90.0300.0175.75
4.3.80.0370.0335.77
4.3.70.0170.0275.86
4.3.60.0270.0275.75
4.3.50.0330.0275.75
4.3.40.0270.0335.81
4.3.30.0100.0235.75
4.3.20.0130.0275.75
4.3.10.0130.0205.75
4.3.00.0130.0207.02

preferences:
54.73 ms | 400 KiB | 5 Q