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)
5.6.120.0000.06320.99
5.6.110.0030.04321.02
5.6.100.0030.08021.14
5.6.90.0070.08320.96
5.6.80.0070.04720.54
5.6.70.4400.04020.42
5.5.280.0100.07720.74
5.5.270.0200.07320.98
5.5.260.0070.04020.77
5.5.250.0130.07720.80
5.5.240.0230.08020.16
5.4.440.0730.05319.56
5.4.430.0830.04719.16
5.4.420.0670.05719.16
5.4.410.0830.04319.21
5.4.400.0730.04719.29
5.4.390.0830.05318.98
5.4.380.1070.04719.26
5.4.370.1000.05719.26
5.4.360.0730.05719.31
5.4.350.0530.06019.23
5.4.340.0600.05019.31
5.4.320.0170.06719.26
5.4.310.0070.05319.06
5.4.300.0430.04019.24
5.4.290.0970.04019.28
5.4.280.0730.05719.28
5.4.270.0700.05019.14
5.4.260.0670.04319.23
5.4.250.0770.05019.15
5.4.240.0830.04318.87
5.4.230.0670.06018.89
5.4.220.1030.04719.25
5.4.210.0900.05318.93
5.4.200.1070.04717.11
5.4.190.0770.04719.16
5.4.180.0830.04319.25
5.4.170.0730.06018.97
5.4.160.0730.04719.12
5.4.150.1000.04719.34
5.4.140.0670.06316.50
5.4.130.0700.04316.51
5.4.120.0900.04716.58
5.4.110.0770.04316.40
5.4.100.0900.04716.39
5.4.90.1030.06716.51
5.4.80.0800.04316.57
5.4.70.1000.05016.42
5.4.60.0870.04016.52
5.4.50.0700.05316.28
5.4.40.0930.04316.50
5.4.30.0800.05316.37
5.4.20.0870.04316.37
5.4.10.0700.05316.53
5.4.00.0800.07015.98
5.3.290.0930.05014.51
5.3.280.0730.05314.54
5.3.270.0630.05014.45
5.3.260.0770.05314.47
5.3.250.1000.04714.48
5.3.240.0800.04314.57
5.3.230.0870.05314.46
5.3.220.1070.06014.43
5.3.210.1100.07014.46
5.3.200.0800.04314.52
5.3.190.0900.04714.59
5.3.180.0900.05714.43
5.3.170.0830.05714.56
5.3.160.0770.04014.59
5.3.150.0870.04714.37
5.3.140.0870.04314.43
5.3.130.1000.08314.52
5.3.120.0770.06314.57
5.3.110.0770.05014.54
5.3.100.0870.06013.89
5.3.90.0970.04713.93
5.3.80.0700.04314.12
5.3.70.0470.06313.96
5.3.60.0530.05713.96
5.3.50.0530.05013.78
5.3.40.0730.05014.05
5.3.30.0770.05013.91
5.3.20.0800.04313.54
5.3.10.0700.05013.51
5.3.00.0630.04313.42
5.2.170.0770.04311.23
5.2.160.0730.04011.15
5.2.150.0730.05711.32
5.2.140.0670.04011.02
5.2.130.0730.05011.06
5.2.120.0670.04010.95
5.2.110.0630.04010.94
5.2.100.0870.05011.13
5.2.90.0970.06310.91
5.2.80.0730.04310.95
5.2.70.0730.04311.20
5.2.60.0570.04311.21
5.2.50.0670.03311.12
5.2.40.0570.05310.99
5.2.30.0430.04310.84
5.2.20.0530.03310.87
5.2.10.0630.03010.73
5.2.00.0600.04010.63
5.1.60.0730.0439.84
5.1.50.0430.04010.02
5.1.40.0570.0339.91
5.1.30.0900.03310.25
5.1.20.0570.04010.45
5.1.10.0600.0339.98
5.1.00.0700.03310.10
5.0.50.0400.0238.57
5.0.40.0400.0338.58
5.0.30.0430.0408.25
5.0.20.0370.0378.14
5.0.10.0470.0338.16
5.0.00.0300.0478.00
4.4.90.0300.0235.87
4.4.80.0400.0305.80
4.4.70.0300.0375.77
4.4.60.0370.0235.80
4.4.50.0370.0335.83
4.4.40.0300.0475.79
4.4.30.0300.0275.80
4.4.20.0370.0205.86
4.4.10.0370.0175.88
4.4.00.0430.0375.89
4.3.110.0400.0205.75
4.3.100.0300.0175.76
4.3.90.0370.0175.80
4.3.80.0330.0275.78
4.3.70.0330.0205.78
4.3.60.0430.0435.76
4.3.50.0300.0205.75
4.3.40.0300.0375.75
4.3.30.0170.0205.75
4.3.20.0170.0235.75
4.3.10.0170.0205.75
4.3.00.0100.0207.02

preferences:
143.97 ms | 1394 KiB | 7 Q