3v4l.org

run code in 300+ PHP versions simultaneously
<?php function getStr($string,$start,$end){ $str = explode($start,$string); $str = explode($end,$str[1]); return $str[0]; } $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => "https://api.getproxylist.com/proxy?country=BR", CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => "", CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 30, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => "GET", // CURLOPT_POSTFIELDS => array( // "X-Mashape-Key" => "wQocH1wdCVmshfMaA4oY19xst3H1p1qNljIjsnusupjaYacLWe", // "Accept" => "application/json" // ), )); $response = curl_exec($curl); $err = curl_error($curl); curl_close($curl); if ($err) { echo "cURL Error #:" . $err; } else { //echo $response; } $token = getStr($response, ', "ip": "',', "port":',', "'); echo $token; ?>

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.00916.63
8.3.50.0100.01018.04
8.3.40.0170.00318.84
8.3.30.0090.00618.85
8.3.20.0000.00821.94
8.3.10.0040.00423.55
8.3.00.0000.00819.56
8.2.180.0060.00916.72
8.2.170.0140.00022.96
8.2.160.0070.00720.69
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0040.00422.13
8.2.120.0070.00026.35
8.2.110.0070.00320.52
8.2.100.0040.00717.91
8.2.90.0000.00817.91
8.2.80.0000.00820.57
8.2.70.0000.00818.04
8.2.60.0050.00317.93
8.2.50.0040.00418.10
8.2.40.0080.00020.58
8.2.30.0040.00419.07
8.2.20.0040.00718.11
8.2.10.0040.00417.97
8.2.00.0070.00017.88
8.1.280.0100.01725.92
8.1.270.0050.00322.05
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0040.00423.97
8.1.230.0110.00020.88
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0080.00017.35
8.1.190.0050.00317.53
8.1.180.0030.00618.10
8.1.170.0050.00518.51
8.1.160.0070.00018.70
8.1.150.0040.00320.27
8.1.140.0040.00417.50
8.1.130.0030.00319.04
8.1.120.0000.00917.31
8.1.110.0040.00417.21
8.1.100.0000.00717.36
8.1.90.0040.00417.36
8.1.80.0040.00417.20
8.1.70.0050.00317.27
8.1.60.0030.00517.43
8.1.50.0050.00317.50
8.1.40.0030.00517.36
8.1.30.0070.00017.43
8.1.20.0000.00917.57
8.1.10.0050.00317.54
8.1.00.0090.00017.34
8.0.300.0040.00420.09
8.0.290.0030.00516.75
8.0.280.0000.00718.32
8.0.270.0070.00017.14
8.0.260.0030.00316.90
8.0.250.0030.00316.86
8.0.240.0040.00417.00
8.0.230.0030.00316.91
8.0.220.0070.00016.81
8.0.210.0030.00316.90
8.0.200.0040.00416.98
8.0.190.0040.00417.02
8.0.180.0000.00716.98
8.0.170.0040.00416.93
8.0.160.0000.00716.82
8.0.150.0000.00716.87
8.0.140.0080.00016.78
8.0.130.0050.00013.32
8.0.120.0030.00516.91
8.0.110.0040.00416.84
8.0.100.0000.00816.91
8.0.90.0000.00716.98
8.0.80.0150.00616.97
8.0.70.0000.00816.84
8.0.60.0000.00816.86
8.0.50.0080.00016.88
8.0.30.0070.01117.09
8.0.20.0080.01217.40
8.0.10.0050.00316.85
8.0.00.0150.00716.77
7.4.330.0050.00015.55
7.4.320.0030.00316.35
7.4.300.0000.00616.46
7.4.290.0030.00316.54
7.4.280.0000.00816.55
7.4.270.0050.00516.38
7.4.260.0030.00316.34
7.4.250.0070.00016.34
7.4.240.0000.00716.47
7.4.230.0050.00316.54
7.4.220.0000.00816.55
7.4.210.0060.01316.66
7.4.200.0030.00416.65
7.4.160.0070.01016.45
7.4.150.0120.00617.40
7.4.140.0090.01117.86
7.4.130.0070.01116.53
7.4.120.0070.01116.42
7.4.110.0100.00716.43
7.4.100.0070.01016.43
7.4.90.0090.00916.33
7.4.80.0100.01019.39
7.4.70.0110.01116.32
7.4.60.0120.00316.42
7.4.50.0070.00716.44
7.4.40.0130.00316.48
7.4.00.0060.00615.11
7.3.330.0050.00013.31
7.3.320.0050.00013.12
7.3.310.0030.00316.27
7.3.300.0030.00316.20
7.3.290.0100.00816.33
7.3.280.0090.00616.27
7.3.270.0100.01417.40
7.3.260.0150.00816.31
7.3.240.0060.01216.48
7.3.230.0030.01316.25
7.3.210.0070.01016.58
7.3.200.0070.01016.51
7.3.190.0100.00616.34
7.3.180.0100.00716.52
7.3.170.0100.00716.53
7.3.160.0060.01316.39
7.2.330.0120.00616.67
7.2.320.0090.00816.54
7.2.310.0060.01016.57
7.2.300.0100.00716.58
7.2.290.0100.00716.49
7.2.60.0090.00316.70
7.2.20.0180.01317.84
7.2.10.0170.01517.88
7.2.00.0130.00917.96
7.1.200.0050.00315.63
7.1.140.0200.01116.77
7.1.130.0130.01716.67
7.1.120.0120.01116.65
7.1.110.0120.00916.38
7.1.100.0140.00915.89
7.1.90.0140.00616.18
7.1.80.0080.01015.94
7.1.70.0110.01215.39
7.1.60.0260.01433.30
7.1.50.0360.01632.96
7.1.40.0230.01632.39
7.1.30.0280.00932.68
7.1.20.0330.01832.57
7.1.10.0080.01014.55
7.1.00.0090.01514.62

preferences:
67.28 ms | 400 KiB | 5 Q