3v4l.org

run code in 300+ PHP versions simultaneously
<?php $userGuid = "ee034881-d641-48e9-935d-b79819ceb83c"; $apiKey = "1XzbK/S/MAzPtkwRtmoUM0CnLWveqIMAkXZGhokuzg5P87lT+cedfeOAqXbgkjGip1X6qnY1mbQdW3DdajUhUw=="; function query($connectorGuid, $input, $userGuid, $apiKey, $additionalInput) { $url = "https://api.import.io/store/connector/" . $connectorGuid . "/_query?_user=" . urlencode($userGuid) . "&_apikey=" . urlencode($apiKey); $data = array("input" => $input); if ($additionalInput) { $data["additionalInput"] = $additionalInput; } $ch = curl_init($url); curl_setopt($ch, CURLOPT_HTTPHEADER, array('Content-Type: application/json')); curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($data)); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_HEADER, 0); $result = curl_exec($ch); curl_close($ch); return json_decode($result); } // Query for tile Betezy Promos $result = query("a31b0662-07ca-44f1-b1ab-76a39d2014d9", array( "webpage/url" => "http://blog.betezy.com.au/category/promotions/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Betstar Promos $result = query("b0f3c82d-4983-474b-b911-34bb84cc7569", array( "webpage/url" => "https://www.betstar.com.au/promotions/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Bookmaker Promos $result = query("09a2bab1-9615-4281-924f-2e83d88f1a3f", array( "webpage/url" => "https://www.bookmaker.com.au/promotions/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Betfred Promos $result = query("7b3a36f8-70ef-400c-a6ee-ec84e660adf3", array( "webpage/url" => "https://m.betfred.com.au/promotions/sports", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Centrebet Promos $result = query("bc6a4943-61a7-4b94-947e-7fe6751507d2", array( "webpage/url" => "http://centrebet.com/promotions", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Iasbet Promos $result = query("2721151f-db07-49b6-83bf-f88ca2c1371e", array( "webpage/url" => "http://www.iasbet.com/content/page/latest-promotions-overview/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile ladbrokes promos $result = query("f6833c85-4a92-47b1-9b96-4c287eac5d24", array( "webpage/url" => "https://www.ladbrokes.com.au/promotions/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Luxbet Promos $result = query("2537c316-c0e7-4ad2-a671-01a2097e195d", array( "webpage/url" => "https://www.luxbet.com/staticcontent/promotions", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Sportingbet Promos $result = query("3971816e-e240-414f-9689-2143028af925", array( "webpage/url" => "https://info.sportingbet.com.au/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Tom WH Promos $result = query("e9cb74ff-3a8c-4be1-a23f-8797da1845e7", array( "webpage/url" => "http://info.tomwaterhouse.com/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile SportsBet Promos $result = query("5967d9a8-456c-4f79-ab83-e27781408eef", array( "webpage/url" => "http://www.sportsbet.com.au/content/page/offers/", ), $userGuid, $apiKey, false); var_dump($result); // Query for tile Unibet Promos $result = query("1ce3343a-9b7b-458f-b2a5-580a324e1dcc", array( "webpage/url" => "https://www.unibet.com.au/promotions", ), $userGuid, $apiKey, false); var_dump($result);

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.80.0060.00316.88
8.3.70.0040.01118.55
8.3.60.0140.00716.75
8.3.50.0130.00622.00
8.3.40.0090.00918.75
8.3.30.0090.00619.07
8.3.20.0070.00020.25
8.3.10.0080.00023.36
8.3.00.0000.00820.76
8.2.200.0060.00316.88
8.2.190.0140.00416.63
8.2.180.0120.00618.54
8.2.170.0140.00422.96
8.2.160.0030.01020.35
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0000.00726.16
8.2.120.0000.00822.26
8.2.110.0060.00322.24
8.2.100.0090.00617.97
8.2.90.0030.00519.34
8.2.80.0030.00617.97
8.2.70.0000.00817.75
8.2.60.0050.00317.93
8.2.50.0090.00018.07
8.2.40.0000.00819.88
8.2.30.0040.00418.41
8.2.20.0080.00018.00
8.2.10.0050.00218.21
8.2.00.0050.00517.97
8.1.290.0090.00018.88
8.1.280.0170.00325.92
8.1.270.0050.00323.82
8.1.260.0080.00026.35
8.1.250.0030.00528.09
8.1.240.0060.00323.73
8.1.230.0080.00419.00
8.1.220.0000.00817.78
8.1.210.0040.00418.77
8.1.200.0040.00417.48
8.1.190.0040.00417.23
8.1.180.0040.00419.13
8.1.170.0040.00418.42
8.1.160.0050.00222.02
8.1.150.0040.00418.62
8.1.140.0000.00817.50
8.1.130.0070.00017.80
8.1.120.0040.00417.41
8.1.110.0040.00417.54
8.1.100.0040.00417.39
8.1.90.0030.00317.49
8.1.80.0040.00417.50
8.1.70.0050.00317.46
8.1.60.0040.00417.66
8.1.50.0040.00417.48
8.1.40.0070.00317.45
8.1.30.0040.00417.70
8.1.20.0000.00817.61
8.1.10.0080.00017.48
8.1.00.0040.00417.54
8.0.300.0040.00418.77
8.0.290.0070.00017.29
8.0.280.0070.00018.39
8.0.270.0030.00317.37
8.0.260.0060.00017.23
8.0.250.0030.00317.01
8.0.240.0060.00316.98
8.0.230.0030.00317.04
8.0.220.0000.00716.99
8.0.210.0040.00417.01
8.0.200.0040.00416.98
8.0.190.0070.00017.04
8.0.180.0000.00816.93
8.0.170.0030.00517.05
8.0.160.0040.00416.95
8.0.150.0000.00816.91
8.0.140.0040.00416.95
8.0.130.0000.00613.43
8.0.120.0060.00317.00
8.0.110.0070.00016.98
8.0.100.0030.00516.92
8.0.90.0000.00717.07
8.0.80.0060.00916.96
8.0.70.0040.00416.86
8.0.60.0000.00716.86
8.0.50.0000.00817.12
8.0.30.0170.00617.16
8.0.20.0090.00917.40
8.0.10.0030.00517.01
8.0.00.0110.00616.65
7.4.330.0000.00515.00
7.4.320.0000.00616.64
7.4.300.0060.00016.66
7.4.290.0090.00316.57
7.4.280.0040.00416.60
7.4.270.0030.00516.55
7.4.260.0050.00216.68
7.4.250.0040.00416.62
7.4.240.0030.00416.52
7.4.230.0000.00716.53
7.4.220.0090.00916.60
7.4.210.0040.01316.58
7.4.200.0070.00016.72
7.4.190.0070.00016.50
7.4.160.0060.00916.48
7.4.150.0070.01017.40
7.4.140.0090.00917.86
7.4.130.0110.00816.63
7.4.120.0060.01216.65
7.4.110.0100.00716.52
7.4.100.0100.01316.53
7.4.90.0110.00616.64
7.4.80.0150.01119.39
7.4.70.0070.01016.66
7.4.60.0090.00816.54
7.4.50.0030.00316.57
7.4.40.0110.00616.48
7.4.30.0000.01516.66
7.4.10.0040.01414.95
7.4.00.0090.00715.07
7.3.330.0040.00213.48
7.3.320.0000.00513.45
7.3.310.0030.00316.36
7.3.300.0000.00716.48
7.3.290.0110.00416.48
7.3.280.0100.00816.47
7.3.270.0100.00517.40
7.3.260.0140.00316.52
7.3.250.0050.01716.63
7.3.240.0090.01216.52
7.3.230.0110.00816.39
7.3.210.0090.00916.61
7.3.200.0090.01219.39
7.3.190.0140.00316.39
7.3.180.0170.00416.58
7.3.170.0030.01216.56
7.3.160.0040.01216.53
7.3.130.0090.00914.93
7.3.120.0080.00915.06
7.3.110.0090.00914.97
7.3.100.0030.01014.88
7.3.90.0050.01014.96
7.3.80.0050.00914.88
7.3.70.0020.00914.75
7.3.60.0050.00914.99
7.3.50.0050.00714.91
7.3.40.0070.00514.91
7.3.30.0040.01114.93
7.3.20.0060.00316.69
7.3.10.0030.00716.79
7.3.00.0060.00616.72
7.2.330.0070.01116.64
7.2.320.0070.01116.42
7.2.310.0130.00916.51
7.2.300.0030.01316.62
7.2.290.0130.00316.39
7.2.260.0100.00714.96
7.2.250.0090.00915.04
7.2.240.0020.01714.84
7.2.230.0060.00915.11
7.2.220.0060.00914.99
7.2.210.0080.00614.83
7.2.200.0060.00914.96
7.2.190.0050.00814.93
7.2.180.0090.00315.03
7.2.170.0050.00814.87
7.2.160.0070.00715.00
7.2.150.0100.00716.96
7.2.140.0070.00716.84
7.2.130.0030.01016.73
7.2.120.0030.01116.76
7.2.110.0030.01416.64
7.2.100.0060.00616.59
7.2.90.0070.00716.55
7.2.80.0040.01117.05
7.2.70.0040.01116.66
7.2.60.0050.00916.94
7.2.50.0090.00617.05
7.2.40.0070.00716.91
7.2.30.0040.00816.68
7.2.20.0030.01017.07
7.2.10.0030.01016.99
7.2.00.0030.01118.08
7.1.330.0030.01015.90
7.1.320.0070.00416.02
7.1.310.0070.00715.79
7.1.300.0060.00815.58
7.1.290.0050.00715.75
7.1.280.0060.00515.88
7.1.270.0030.00715.77
7.1.260.0050.00915.78
7.1.250.0030.01015.46
7.1.240.0000.01315.54
7.1.230.0040.00815.76
7.1.220.0050.00315.80
7.1.210.0030.01315.98
7.1.200.0080.00315.91
7.1.190.0110.00415.70
7.1.180.0030.00615.68
7.1.170.0000.01315.89
7.1.160.0000.00815.74
7.1.150.0040.00815.66
7.1.140.0030.01015.88
7.1.130.0000.01215.88
7.1.120.0090.00615.61
7.1.110.0090.00615.84
7.1.100.0110.00916.66
7.1.90.0090.00615.74
7.1.80.0080.00415.81
7.1.70.0030.00816.54
7.1.60.0080.01217.66
7.1.50.0060.00816.33
7.1.40.0070.00715.77
7.1.30.0000.01015.55
7.1.20.0090.00615.69
7.1.10.0070.01015.81
7.1.00.0030.04219.08
7.0.330.0040.00415.09
7.0.320.0030.01015.23
7.0.310.0040.00715.46
7.0.300.0070.00715.44
7.0.290.0040.00415.43
7.0.280.0110.00415.30
7.0.270.0030.01315.37
7.0.260.0100.00715.45
7.0.250.0050.00315.50
7.0.240.0000.01715.57
7.0.230.0040.00715.65
7.0.220.0040.01115.18
7.0.210.0090.00915.27
7.0.200.0050.00615.98
7.0.190.0070.00715.51
7.0.180.0070.00715.54
7.0.170.0030.01115.57
7.0.160.0060.01015.41
7.0.150.0040.01115.33
7.0.140.0080.03318.79
7.0.130.0040.01115.50
7.0.120.0060.00615.25
7.0.110.0060.00315.50
7.0.100.0030.01015.43
7.0.90.0130.03817.79
7.0.80.0070.02817.53
7.0.70.0350.03417.65
7.0.60.0230.04417.61
7.0.50.0250.02517.91
7.0.40.0070.02716.66
7.0.30.0040.02516.84
7.0.20.0020.02816.79
7.0.10.0060.02616.85
7.0.00.0050.02516.82
5.6.400.0100.00714.47
5.6.390.0110.00014.59
5.6.380.0030.00514.54
5.6.370.0090.00414.20
5.6.360.0000.01314.27
5.6.350.0060.00914.05
5.6.340.0100.00314.50
5.6.330.0040.00814.08
5.6.320.0040.00414.62
5.6.310.0060.00914.73
5.6.300.0040.00914.19
5.6.290.0110.00414.75
5.6.280.0040.01114.33
5.6.270.0030.00714.13
5.6.260.0070.00714.51
5.6.250.0030.01014.48
5.6.240.0100.03817.40
5.6.230.0140.03217.48
5.6.220.0110.03017.36
5.6.210.0090.04117.52
5.6.200.0070.04517.71
5.6.190.0030.02517.75
5.6.180.0030.03017.74
5.6.170.0030.02617.79
5.6.160.0090.02117.73
5.6.150.0000.03117.71
5.6.140.0050.02117.72
5.6.130.0050.02317.69
5.6.120.0070.02017.63
5.6.110.0070.02217.74
5.6.100.0030.02517.71
5.6.90.0020.02717.66
5.6.80.0020.03017.47
5.6.70.0030.04317.16
5.6.60.0030.03817.35
5.6.50.0030.04617.50
5.6.40.0100.02517.52
5.6.30.0050.02217.30
5.6.20.0050.02317.30
5.6.10.0040.02717.35
5.6.00.0050.02217.31
5.5.380.0070.04217.31
5.5.370.0080.04117.23
5.5.360.0100.03517.20
5.5.350.0030.05017.38
5.5.340.0120.03717.46
5.5.330.0020.02517.43
5.5.320.0040.02517.53
5.5.310.0050.02617.63
5.5.300.0020.04217.69
5.5.290.0070.02517.53
5.5.280.0030.04317.60
5.5.270.0090.02217.63
5.5.260.0030.03017.59
5.5.250.0060.02017.26
5.5.240.0050.02317.25
5.5.230.0050.03517.11
5.5.220.0030.02117.23
5.5.210.0030.02517.26
5.5.200.0020.02817.25
5.5.190.0050.01817.07
5.5.180.0060.02017.19
5.5.170.0060.00914.33
5.5.160.0020.03017.17
5.5.150.0060.01817.40
5.5.140.0090.02317.26
5.5.130.0090.01717.25
5.5.120.0050.02817.13
5.5.110.0030.02517.16
5.5.100.0030.03317.23
5.5.90.0000.04817.19
5.5.80.0050.04317.09
5.5.70.0100.02517.03
5.5.60.0020.04717.13
5.5.50.0080.04017.09
5.5.40.0030.02717.06
5.5.30.0100.04017.10
5.5.20.0090.03817.14
5.5.10.0060.04017.05
5.5.00.0070.04017.18
5.4.450.0070.03719.42
5.4.440.0070.04319.36
5.4.430.0100.02719.36
5.4.420.0030.04019.48
5.4.410.0000.04319.23
5.4.400.0030.03319.20
5.4.390.0030.04018.95
5.4.380.0070.03319.05
5.4.370.0100.03319.21
5.4.360.0070.06318.89
5.4.350.0070.04318.85
5.4.340.0030.03719.23
5.4.320.0000.03719.23
5.4.310.0070.03319.18
5.4.300.0030.03019.02
5.4.290.0000.07719.25
5.4.280.0030.03319.22
5.4.270.0030.03719.13
5.4.260.0030.06019.02
5.4.250.0070.05019.02
5.4.240.0030.07719.16
5.4.230.0070.07018.87
5.4.220.0100.08018.89
5.4.210.0100.07019.11
5.4.200.0130.03719.17
5.4.190.0000.05319.22
5.4.180.0070.05719.02
5.4.170.0100.07319.23
5.4.160.0030.05019.02
5.4.150.0030.08718.85
5.4.140.0070.07016.38
5.4.130.0030.05316.39
5.4.120.0070.07016.28
5.4.110.0100.06316.52
5.4.100.0270.05316.50
5.4.90.0130.06716.34
5.4.80.0000.04716.48
5.4.70.0070.06716.35
5.4.60.0030.04716.27
5.4.50.0070.03716.31
5.4.40.0100.07716.43
5.4.30.0000.07316.39
5.4.20.0030.07716.47
5.4.10.0000.06016.43
5.4.00.0030.05015.75
5.3.290.0030.03714.70
5.3.280.0170.05714.63
5.3.270.0070.04314.73
5.3.260.0130.04314.66
5.3.250.0070.07314.73
5.3.240.0130.07014.78
5.3.230.0130.07714.58
5.3.220.0070.05714.75
5.3.210.0000.07714.62
5.3.200.0100.06314.69
5.3.190.0070.07014.52
5.3.180.0030.07314.73
5.3.170.0130.03714.52
5.3.160.0070.07014.53
5.3.150.0000.05314.66
5.3.140.0070.04014.56
5.3.130.0030.08014.72
5.3.120.0100.07314.51
5.3.110.0130.07014.64
5.3.100.0100.07014.05
5.3.90.0000.07714.09
5.3.80.0030.08014.18
5.3.70.0100.06713.98
5.3.60.0030.07313.96
5.3.50.0100.03713.96
5.3.40.0070.07314.08
5.3.30.0170.03713.85
5.3.20.0030.07013.78
5.3.10.0130.06313.75
5.3.00.0030.07313.68
5.2.170.0030.03711.29
5.2.160.0100.05311.19
5.2.150.0030.05011.18
5.2.140.0100.06011.09
5.2.130.0070.06011.04
5.2.120.0030.04011.15
5.2.110.0030.04311.06
5.2.100.0070.04711.18
5.2.90.0030.04311.04
5.2.80.0030.04311.05
5.2.70.0070.05011.04
5.2.60.0030.06011.14
5.2.50.0030.05711.11
5.2.40.0000.06011.11
5.2.30.0030.03311.11
5.2.20.0130.05310.96
5.2.10.0070.06310.95
5.2.00.0030.06010.81
5.1.60.0100.05010.02
5.1.50.0000.06010.12
5.1.40.0030.0509.88
5.1.30.0070.05010.28
5.1.20.0070.04310.41
5.1.10.0000.06010.11
5.1.00.0000.0579.95
5.0.50.0000.0508.69
5.0.40.0000.0478.54
5.0.30.0100.0578.36
5.0.20.0030.0308.36
5.0.10.0100.0378.23
5.0.00.0000.0678.09
4.4.90.0000.0407.66
4.4.80.0030.0177.66
4.4.70.0070.0337.66
4.4.60.0000.0407.66
4.4.50.0000.0307.66
4.4.40.0000.0577.66
4.4.30.0000.0377.66
4.4.20.0030.0277.66
4.4.10.0030.0337.66
4.4.00.0000.0437.66
4.3.110.0030.0337.66
4.3.100.0000.0407.66
4.3.90.0030.0207.66
4.3.80.0030.0537.66
4.3.70.0030.0337.66
4.3.60.0000.0277.66
4.3.50.0000.0337.66
4.3.40.0000.0407.66
4.3.30.0000.0377.66
4.3.20.0000.0377.66
4.3.10.0030.0277.66
4.3.00.0000.0277.66

preferences:
34.86 ms | 401 KiB | 5 Q