3v4l.org

run code in 300+ PHP versions simultaneously
<?php $url = 'http://ws.audioscrobbler.com'; $endpoint = '2.0'; $params = array( 'method' => 'user.getrecenttracks', 'user' => 'djekl', 'api_key' => 'ec23317a230c09ebf945ca738d24243e', 'format' => 'json', 'limit' => '200', ); $url = $url . '/' . $endpoint . '/?' . http_build_query($params); $json = file_get_contents($url); if ($json = json_decode($json)) { print_r($json); }

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.0130.01018.80
8.3.50.0120.00722.07
8.3.40.0120.00319.04
8.3.30.0110.00419.17
8.3.20.0080.00020.70
8.3.10.0040.00423.86
8.3.00.0040.00421.14
8.2.180.0080.01116.60
8.2.170.0070.01122.96
8.2.160.0100.00320.47
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0000.00821.10
8.2.110.0090.00022.33
8.2.100.0060.00618.03
8.2.90.0000.00819.23
8.2.80.0000.00917.97
8.2.70.0000.00817.88
8.2.60.0090.00317.80
8.2.50.0080.00018.07
8.2.40.0030.00620.07
8.2.30.0080.00018.39
8.2.20.0000.00817.76
8.2.10.0050.00318.25
8.2.00.0040.00417.88
8.1.280.0070.01125.92
8.1.270.0060.00324.09
8.1.260.0070.00026.35
8.1.250.0060.00328.09
8.1.240.0030.00624.09
8.1.230.0080.00319.38
8.1.220.0040.00417.91
8.1.210.0040.00418.77
8.1.200.0100.00017.48
8.1.190.0000.00817.47
8.1.180.0040.00418.10
8.1.170.0080.00018.79
8.1.160.0000.00722.30
8.1.150.0020.00518.72
8.1.140.0000.00717.72
8.1.130.0030.00317.97
8.1.120.0040.00417.65
8.1.110.0000.00817.55
8.1.100.0000.00717.57
8.1.90.0040.00417.70
8.1.80.0000.00917.57
8.1.70.0030.00317.53
8.1.60.0040.00417.82
8.1.50.0040.00417.76
8.1.40.0040.00417.78
8.1.30.0060.00317.83
8.1.20.0080.00017.69
8.1.10.0050.00317.62
8.1.00.0040.00417.70
8.0.300.0040.00418.77
8.0.290.0000.00717.13
8.0.280.0000.00718.71
8.0.270.0000.00717.57
8.0.260.0040.00417.52
8.0.250.0000.00717.20
8.0.240.0030.00317.17
8.0.230.0000.00817.21
8.0.220.0000.00717.13
8.0.210.0030.00417.16
8.0.200.0040.00417.17
8.0.190.0000.00717.27
8.0.180.0040.00417.29
8.0.170.0050.00317.16
8.0.160.0030.00517.17
8.0.150.0060.00617.21
8.0.140.0040.00417.27
8.0.130.0030.00313.55
8.0.120.0030.00617.14
8.0.110.0030.00517.21
8.0.100.0000.00817.14
8.0.90.0040.00417.08
8.0.80.0060.00917.29
8.0.70.0040.00417.20
8.0.60.0000.00717.29
8.0.50.0040.00417.17
8.0.30.0130.00617.41
8.0.20.0080.01217.46
8.0.10.0000.00717.13
8.0.00.0130.00616.83
7.4.330.0000.00515.32
7.4.320.0070.00016.81
7.4.300.0030.00316.63
7.4.290.0030.00316.64
7.4.280.0070.00016.82
7.4.270.0000.00716.71
7.4.260.0030.00516.61
7.4.250.0040.00416.80
7.4.240.0020.00616.75
7.4.230.0000.00716.79
7.4.220.0170.01016.77
7.4.210.0060.00916.68
7.4.200.0080.00016.49
7.4.160.0160.00016.80
7.4.150.0140.00317.40
7.4.140.0080.01017.86
7.4.130.0110.00916.82
7.4.120.0100.00816.77
7.4.110.0120.00616.72
7.4.100.0160.00416.80
7.4.90.0120.00616.80
7.4.80.0030.01619.39
7.4.70.0100.00716.78
7.4.60.0120.00716.68
7.4.50.0030.00616.56
7.4.40.0090.00816.59
7.4.30.0090.00916.86
7.4.00.0120.00315.05
7.3.330.0050.00013.58
7.3.320.0030.00313.35
7.3.310.0030.00516.75
7.3.300.0070.00016.61
7.3.290.0140.00516.70
7.3.280.0160.00716.63
7.3.270.0120.00917.40
7.3.260.0090.00916.56
7.3.250.0070.01116.73
7.3.240.0090.00916.54
7.3.230.0130.00616.80
7.3.210.0090.00916.72
7.3.200.0170.00319.39
7.3.190.0070.01516.67
7.3.180.0110.00716.77
7.3.170.0070.01016.89
7.3.160.0150.00316.74
7.3.120.0040.01215.08
7.3.110.0150.00015.32
7.3.100.0040.01115.05
7.3.90.0040.01115.19
7.3.80.0070.01014.91
7.3.70.0120.00315.10
7.3.60.0060.00614.82
7.3.50.0030.01315.10
7.3.40.0040.01115.11
7.3.30.0140.00015.16
7.3.20.0130.00316.64
7.3.10.0060.00916.84
7.3.00.0130.00616.52
7.2.330.0060.01316.73
7.2.320.0080.01116.61
7.2.310.0170.00716.97
7.2.300.0170.00416.57
7.2.290.0070.01616.95
7.2.240.0000.01315.45
7.2.230.0030.01014.95
7.2.220.0030.01115.36
7.2.210.0040.00815.45
7.2.200.0030.01315.13
7.2.190.0030.00715.05
7.2.180.0120.00615.16
7.2.170.0090.00614.97
7.2.160.0090.00915.25
7.2.150.0130.00317.11
7.2.140.0070.01117.14
7.2.130.0070.00816.96
7.2.120.0150.00516.80
7.2.110.0090.00516.78
7.2.100.0120.00616.98
7.2.90.0130.00717.10
7.2.80.0060.01217.03
7.2.70.0070.01316.88
7.2.60.0090.01316.94
7.2.50.0040.01116.97
7.2.40.0080.01017.05
7.2.30.0060.01316.96
7.2.20.0070.01017.10
7.2.10.0110.00616.71
7.2.00.0080.00617.14
7.1.330.0040.00715.74
7.1.320.0000.01316.21
7.1.310.0090.00616.19
7.1.300.0030.00715.72
7.1.290.0040.01115.81
7.1.280.0030.00915.77
7.1.270.0100.00716.04
7.1.260.0060.00916.21
7.1.250.0060.01215.69
7.1.200.0060.00915.86
7.1.100.0060.00918.49
7.1.70.0030.00817.58
7.1.60.0040.01117.55
7.1.50.0040.01417.38
7.1.40.0030.00917.03
7.1.30.0070.00717.01
7.1.20.0060.00917.04
7.1.10.0060.00616.76
7.1.00.0040.00716.82
7.0.200.0000.01017.26
7.0.190.0000.01017.20
7.0.180.0040.00416.65
7.0.170.0040.00416.71
7.0.160.0000.00916.63
7.0.150.0090.00016.63
7.0.140.0040.00716.63
7.0.130.0040.00416.89
7.0.120.0040.00816.93
7.0.110.0060.00616.77
7.0.100.0000.00816.66
7.0.90.0060.01316.75
7.0.80.0050.00316.70
7.0.70.0060.00816.63
7.0.60.0000.01216.63
7.0.50.0030.00516.68
7.0.40.0040.00416.63
7.0.30.0030.00716.63
7.0.20.0060.01616.63
7.0.10.0000.01516.63
7.0.00.0110.00616.63
5.6.300.0000.05720.86
5.6.290.0070.04021.14
5.6.280.0070.08621.23
5.6.270.0070.07121.18
5.6.260.0170.04721.27
5.6.250.0070.08321.30
5.6.240.0060.05121.07
5.6.230.0070.07421.25
5.6.220.0030.05321.02
5.6.210.0000.04420.82
5.6.200.0130.05620.95
5.6.190.0030.06921.03
5.6.180.0030.04821.04
5.6.170.0030.04821.21
5.6.160.0070.06420.98
5.6.150.0030.06620.95
5.6.140.0040.04621.18
5.6.130.0030.04521.03
5.6.120.0030.04421.14
5.6.110.0070.04421.03
5.6.100.0030.05221.05
5.6.90.0060.04121.11
5.6.80.0030.04220.38
5.6.70.0070.03720.67
5.6.60.0070.03620.41
5.6.50.0100.03820.53
5.6.40.0030.04820.50
5.6.30.0000.04120.39
5.6.20.0070.03720.39
5.6.10.0000.04220.55
5.6.00.0100.03620.36
5.5.380.0030.04117.71
5.5.370.0070.04217.70
5.5.360.0030.04017.73
5.5.350.0070.06317.73
5.5.340.0090.03818.05
5.5.330.0030.04218.29
5.5.320.0130.03218.31
5.5.310.0030.03918.29
5.5.300.0030.04318.29
5.5.290.0030.04418.25
5.5.280.0030.04517.96
5.5.270.0030.04318.29
5.5.260.0070.03818.04
5.5.250.0040.04618.10
5.5.240.0000.04017.80
5.5.230.0070.03617.66
5.5.220.0070.04217.54
5.5.210.0030.04517.54
5.5.200.0070.04017.56
5.5.190.0030.03817.73
5.5.180.0100.03517.65
5.5.160.0000.04517.64
5.5.150.0000.04717.64
5.5.140.0070.04317.30
5.5.130.0030.03817.75
5.5.120.0100.04017.30
5.5.110.0060.03417.32
5.5.100.0030.04817.55
5.5.90.0000.04217.21
5.5.80.0030.03817.31
5.5.70.0000.04717.20
5.5.60.0030.03617.52
5.5.50.0030.04017.54
5.5.40.0070.07517.60
5.5.30.0100.04317.48
5.5.20.0030.04717.64
5.5.10.0070.03917.50
5.5.00.0060.03817.52
5.4.450.0030.05719.83
5.4.440.0100.04219.73
5.4.430.0030.04119.41
5.4.420.0070.04019.51
5.4.410.0000.04319.48
5.4.400.0070.03319.09
5.4.390.0000.05519.26
5.4.380.0000.04219.19
5.4.370.0000.04819.26
5.4.360.0030.04019.26
5.4.350.0000.04519.31
5.4.340.0000.04519.47
5.4.320.0000.04519.19
5.4.310.0030.04019.25
5.4.300.0100.03319.29
5.4.290.0070.05519.19
5.4.280.0000.04519.12
5.4.270.0070.03619.21
5.4.260.0060.03819.40
5.4.250.0070.03619.26
5.4.240.0030.03919.19
5.4.230.0000.04219.10
5.4.220.0030.05519.49
5.4.210.0060.04519.22
5.4.200.0000.04519.40
5.4.190.0100.03019.10
5.4.180.0100.04719.48
5.4.170.0070.03319.19
5.4.160.0000.06319.21
5.4.150.0030.04419.48
5.4.140.0070.06016.72
5.4.130.0000.04316.96
5.4.120.0030.04616.98
5.4.110.0030.04016.75
5.4.100.0100.03816.96
5.4.90.0100.04016.98
5.4.80.0000.04116.82
5.4.70.0000.04316.80
5.4.60.0100.04017.00
5.4.50.0000.04316.94
5.4.40.0000.04316.93
5.4.30.0030.03716.72
5.4.20.0000.04416.78
5.4.10.0030.03916.78
5.4.00.0000.03816.63
5.3.290.0070.03616.63
5.3.280.0070.04116.63
5.3.270.0070.03316.63
5.3.260.0070.07416.63
5.3.250.0070.04016.63
5.3.240.0000.06416.63
5.3.230.0070.03316.63
5.3.220.0030.03916.63
5.3.210.0030.04016.63
5.3.200.0030.04016.63
5.3.190.0100.03416.63
5.3.180.0060.03816.63
5.3.170.0030.03816.63
5.3.160.0030.03816.63
5.3.150.0070.03716.63
5.3.140.0000.04316.63
5.3.130.0060.03516.63
5.3.120.0030.04216.63
5.3.110.0030.04416.63
5.3.100.0100.03416.63
5.3.90.0030.04416.63
5.3.80.0170.03716.63
5.3.70.0000.04316.63
5.3.60.0180.04016.63
5.3.50.0000.04616.63
5.3.40.0000.04016.63
5.3.30.0000.04516.63
5.3.20.0270.04116.63
5.3.10.0000.04416.63
5.3.00.0060.04516.63

preferences:
44.69 ms | 401 KiB | 5 Q