3v4l.org

run code in 300+ PHP versions simultaneously
<? $token = 'be172a73a9e1f002be93b869d60af992'; $marker = '28184'; $aParams = array( 'search[params_attributes][origin_name]' => 'MOW', 'search[params_attributes][destination_name]' => 'LED', 'search[params_attributes][depart_date]' => '2014-04-04', 'search[params_attributes][range]' => '0', 'search[params_attributes][adults]' => '1', 'search[params_attributes][children]' => '0', 'search[params_attributes][infants]' => '0', 'search[params_attributes][trip_class]' => '0', 'search[params_attributes][direct]' => '0', ); ksort($aParams); $signature = md5("$token:$marker:".implode(':', array_values($aParams))); $bParams = array( 'signature' => $signature, 'enable_api_auth' => true, 'marker' => $marker ); $aParams = $aParams + $bParams; $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'http://nano.aviasales.ru/searches.json'); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, http_build_query($aParams)); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_FAILONERROR, 1); $answer = curl_exec($ch); if(curl_errno($ch)) echo 'Curl error: ' . curl_error($ch); curl_close($ch); echo $answer; ?>

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.0070.01418.30
8.3.50.0120.00621.08
8.3.40.0100.00718.55
8.3.30.0080.00819.09
8.3.20.0110.00420.26
8.3.10.0040.00421.92
8.3.00.0000.01122.51
8.2.180.0110.00718.28
8.2.170.0090.00622.96
8.2.160.0130.00320.52
8.2.150.0040.00424.18
8.2.140.0090.00024.66
8.2.130.0090.00926.16
8.2.120.0080.00019.54
8.2.110.0090.00022.15
8.2.100.0070.00419.40
8.2.90.0050.00218.89
8.2.80.0080.00017.97
8.2.70.0030.00617.38
8.2.60.0000.00817.91
8.2.50.0030.00618.07
8.2.40.0060.00318.22
8.2.30.0040.00417.92
8.2.20.0040.00417.58
8.2.10.0050.00317.56
8.2.00.0040.00419.34
8.1.280.0180.00425.92
8.1.270.0080.00020.21
8.1.260.0000.00726.35
8.1.250.0040.00428.09
8.1.240.0080.00023.83
8.1.230.0090.00319.16
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.10
8.1.190.0040.00417.40
8.1.180.0040.00418.57
8.1.170.0040.00418.49
8.1.160.0000.00722.11
8.1.150.0030.00618.55
8.1.140.0040.00417.23
8.1.130.0050.00317.80
8.1.120.0000.00817.35
8.1.110.0040.00417.23
8.1.100.0070.00017.31
8.1.90.0030.00417.34
8.1.80.0000.00717.18
8.1.70.0000.00717.18
8.1.60.0070.00017.33
8.1.50.0040.00417.31
8.1.40.0030.00417.41
8.1.30.0040.00417.32
8.1.20.0040.00417.49
8.1.10.0040.00417.44
8.1.00.0000.01217.26
8.0.300.0000.00818.77
8.0.290.0070.00017.18
8.0.280.0040.00418.42
8.0.270.0000.00717.92
8.0.260.0060.00316.81
8.0.250.0000.00716.86
8.0.240.0040.00416.73
8.0.230.0000.00616.81
8.0.220.0030.00416.68
8.0.210.0070.00016.76
8.0.200.0000.00616.84
8.0.190.0070.00016.86
8.0.180.0000.00716.80
8.0.170.0000.00816.84
8.0.160.0040.00416.77
8.0.150.0030.00516.65
8.0.140.0000.00716.58
8.0.130.0050.00013.43
8.0.120.0050.00316.64
8.0.110.0000.00816.71
8.0.100.0000.00716.76
8.0.90.0000.00716.80
8.0.80.0090.00916.70
8.0.70.0000.00716.65
8.0.60.0040.00416.56
8.0.50.0040.00416.59
8.0.30.0140.00617.11
8.0.20.0120.00617.40
8.0.10.0040.00416.89
8.0.00.0130.00516.67
7.4.330.0070.00015.00
7.4.320.0000.00716.28
7.4.300.0030.00316.39
7.4.290.0000.00716.38
7.4.280.0000.00716.31
7.4.270.0000.00616.51
7.4.260.0030.00316.35
7.4.250.0030.00316.29
7.4.240.0060.00216.38
7.4.230.0000.00716.58
7.4.220.0070.01016.38
7.4.210.0040.01016.34
7.4.200.0070.00016.45
7.4.190.0030.00316.63
7.4.160.0070.01116.25
7.4.150.0090.00817.40
7.4.140.0050.01517.86
7.4.130.0010.01716.37
7.4.120.0070.01316.27
7.4.110.0100.00716.35
7.4.100.0070.01416.51
7.4.90.0100.00616.24
7.4.80.0120.01219.39
7.4.70.0090.00916.30
7.4.60.0040.01916.54
7.4.50.0000.00416.16
7.4.40.0030.01422.77
7.4.30.0130.01016.31
7.4.00.0060.00914.87
7.3.330.0000.00513.31
7.3.320.0030.00313.16
7.3.310.0070.00015.98
7.3.300.0000.00715.97
7.3.290.0090.00616.13
7.3.280.0080.01016.19
7.3.270.0060.01017.40
7.3.260.0140.00716.06
7.3.250.0090.00916.27
7.3.240.0110.00716.48
7.3.230.0100.01016.39
7.3.210.0080.00816.33
7.3.200.0060.01019.39
7.3.190.0060.01016.06
7.3.180.0060.01016.40
7.3.170.0100.00616.33
7.3.160.0160.00016.52
7.3.120.0040.01214.72
7.3.10.0040.01116.49
7.3.00.0060.00616.70
7.2.330.0030.01416.61
7.2.320.0100.01116.21
7.2.310.0160.00616.64
7.2.300.0030.01816.73
7.2.290.0060.01216.66
7.2.130.0000.01416.67
7.2.120.0030.00916.91
7.2.110.0030.00916.63
7.2.100.0030.00816.93
7.2.90.0060.00617.09
7.2.80.0030.00616.95
7.2.70.0080.00416.96
7.2.60.0040.00916.99
7.2.50.0040.01116.99
7.2.40.0070.01116.63
7.2.30.0070.00416.97
7.2.20.0060.00316.92
7.2.10.0080.00816.93
7.2.00.0020.01018.02
7.1.250.0080.00415.91
7.1.200.0060.00615.78
7.1.100.0030.00818.37
7.1.70.0030.00717.09
7.1.60.0030.01619.82
7.1.50.0090.01216.69
7.1.00.0030.06722.48
7.0.200.0030.00616.76
7.0.140.0100.06721.97
7.0.60.0100.07719.86
7.0.50.0000.08017.93
7.0.40.0030.08320.20
7.0.30.0330.07320.21
7.0.20.0230.08020.13
7.0.10.0100.05320.01
7.0.00.0030.04320.16
5.6.280.0030.07021.03
5.6.210.0030.08020.57
5.6.200.0070.09018.21
5.6.190.0030.07720.67
5.6.180.0430.03720.56
5.6.170.0470.04020.42
5.6.160.0000.09020.51
5.6.150.0130.07318.17
5.6.140.0030.04718.20
5.6.130.0100.08318.06
5.6.120.0200.07020.99
5.6.110.0100.08021.02
5.6.100.0070.09021.12
5.6.90.0170.07721.11
5.6.80.0100.06320.39
5.5.350.0230.07020.33
5.5.340.0100.07317.99
5.5.330.0000.04720.43
5.5.320.0370.06020.22
5.5.310.0270.07320.17
5.5.300.0070.07718.03
5.5.290.0030.08018.00
5.5.280.0070.07020.77
5.5.270.0100.05720.87
5.5.260.0300.06720.90
5.5.250.0130.07720.48
5.5.240.0030.07020.17
5.4.450.0900.05719.49
5.4.440.0800.05719.13
5.4.430.0130.05019.52
5.4.420.0130.05019.50
5.4.410.0500.05018.89
5.4.400.0400.06318.50
5.4.390.0270.07318.59
5.4.380.0530.05018.67
5.4.370.0370.04718.65
5.4.360.0370.05018.51
5.4.350.0090.04011.99
5.4.340.0090.04211.98
5.4.320.0070.03812.45
5.4.310.0100.04612.45
5.4.300.0080.03712.45
5.4.290.0060.03712.45
5.4.280.0050.03612.35
5.4.270.0070.04212.34
5.4.260.0020.04112.35
5.4.250.0070.05319.04
5.4.240.0070.05018.67
5.4.230.0130.04318.86
5.4.220.0130.04718.70
5.4.210.0030.06718.94
5.4.200.0030.06018.79
5.4.190.0130.04718.73
5.4.180.0070.05018.98
5.4.170.0100.05018.64
5.4.160.0130.04718.76
5.4.150.0070.07318.73
5.4.140.0070.05316.34
5.4.130.0100.04716.26
5.4.120.0200.05016.43
5.4.110.0070.07316.34
5.4.100.0030.05016.34
5.4.90.0000.05316.49
5.4.80.0030.05316.43
5.4.70.0030.05016.42
5.4.60.0130.04716.21
5.4.50.0100.04316.41
5.4.40.0030.05016.28
5.4.30.0030.05016.37
5.4.20.0100.04716.37
5.4.10.0170.04016.46
5.4.00.0030.05315.70
5.3.290.0040.04612.80
5.3.280.0000.05714.63
5.3.270.0070.05314.62
5.3.260.0030.06014.69
5.3.250.0000.05714.61
5.3.240.0130.06714.45
5.3.230.0070.06014.61
5.3.220.0100.07714.56
5.3.210.0030.05314.40
5.3.200.0030.05014.58
5.3.190.0030.05314.56
5.3.180.0000.05314.57
5.3.170.0170.04014.39
5.3.160.0070.05014.57
5.3.150.0030.05714.55
5.3.140.0030.05714.58
5.3.130.0000.05714.56
5.3.120.0070.05314.32
5.3.110.0070.05314.24
5.3.100.0130.04314.12
5.3.90.0100.06314.16
5.3.80.0070.05314.03
5.3.70.0200.06013.95
5.3.60.0070.05013.83
5.3.50.0000.05313.86
5.3.40.0070.04713.80
5.3.30.0200.03713.91
5.3.20.0070.05013.57
5.3.10.0000.07013.64
5.3.00.0100.04313.63
5.2.170.0070.04011.26
5.2.160.0070.05011.24
5.2.150.0030.04311.03
5.2.140.0100.03711.06
5.2.130.0030.04011.04
5.2.120.0030.04011.11
5.2.110.0070.04011.10
5.2.100.0100.03310.99
5.2.90.0030.04011.03
5.2.80.0070.06010.98
5.2.70.0070.04011.09
5.2.60.0070.04011.07
5.2.50.0070.04011.01
5.2.40.0100.03711.01
5.2.30.0170.03710.97
5.2.20.0000.04310.95
5.2.10.0030.04010.74
5.2.00.0070.03710.77
5.1.60.0100.0279.95
5.1.50.0100.02710.09
5.1.40.0000.0539.82
5.1.30.0030.03710.41
5.1.20.0030.03710.25
5.1.10.0070.03010.30
5.1.00.0070.04710.09
5.0.50.0030.0308.77
5.0.40.0030.0278.29
5.0.30.0100.0438.36
5.0.20.0030.0278.35
5.0.10.0030.0278.20
5.0.00.0030.0408.14
4.4.90.0070.0176.95
4.4.80.0030.0206.95
4.4.70.0030.0206.95
4.4.60.0000.0236.95
4.4.50.0000.0236.95
4.4.40.0000.0336.95
4.4.30.0000.0236.95
4.4.20.0130.0106.95
4.4.10.0070.0276.95
4.4.00.0000.0336.95
4.3.110.0000.0306.95
4.3.100.0000.0336.95
4.3.90.0000.0236.95
4.3.80.0030.0436.95
4.3.70.0000.0236.95
4.3.60.0030.0206.95
4.3.50.0000.0236.95
4.3.40.0070.0306.95
4.3.30.0030.0206.95
4.3.20.0000.0336.95
4.3.10.0000.0206.95
4.3.00.0170.0236.46

preferences:
45.98 ms | 401 KiB | 5 Q