3v4l.org

run code in 300+ PHP versions simultaneously
<?php function _its_video_gallery_livestream_thumbnail($cid, $vid) { $url = 'http://x'.$cid.'x.api.channel.livestream.com/2.0/thumbnail.json?id='.$vid; // $response = drupal_http_request($url); // $data = $response->data; $data = '{"thumbnail":{"@url":"http:\/\/www.livestream.com\/filestore\/user-files\/chlukeestv\/2010\/01\/04\/92609a8d-afa6-4832-a8b2-ac4dc2925f4b_10.jpg"}}'; $decode = json_decode($data); var_dump($decode); } _its_video_gallery_livestream_thumbnail('abc','def');

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.00718.43
8.3.50.0120.00522.11
8.3.40.0120.00318.39
8.3.30.0000.01418.88
8.3.20.0070.00020.30
8.3.10.0050.00321.96
8.3.00.0040.00422.51
8.2.180.0110.00416.61
8.2.170.0110.00422.96
8.2.160.0040.01119.21
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0130.00726.16
8.2.120.0050.00917.25
8.2.110.0080.00321.97
8.2.100.0060.00619.45
8.2.90.0000.00719.21
8.2.80.0000.00818.03
8.2.70.0000.00917.50
8.2.60.0070.00417.93
8.2.50.0050.00318.07
8.2.40.0090.00018.28
8.2.30.0040.00417.96
8.2.20.0040.00417.75
8.2.10.0000.00917.73
8.2.00.0000.00717.61
8.1.280.0040.01125.92
8.1.270.0040.00422.05
8.1.260.0000.00726.35
8.1.250.0000.00728.09
8.1.240.0040.00423.76
8.1.230.0080.00418.97
8.1.220.0060.00317.79
8.1.210.0080.00018.77
8.1.200.0030.00617.25
8.1.190.0040.00417.40
8.1.180.0040.00418.70
8.1.170.0040.00418.50
8.1.160.0040.00421.96
8.1.150.0000.00718.68
8.1.140.0030.00717.30
8.1.130.0000.00717.77
8.1.120.0030.00317.50
8.1.110.0080.00017.47
8.1.100.0020.00517.45
8.1.90.0000.00717.43
8.1.80.0000.00717.34
8.1.70.0000.00817.34
8.1.60.0000.00717.57
8.1.50.0090.00017.38
8.1.40.0080.00017.54
8.1.30.0050.00317.55
8.1.20.0000.00817.66
8.1.10.0000.00817.51
8.1.00.0050.00217.40
8.0.300.0050.00318.77
8.0.290.0030.00317.05
8.0.280.0070.00018.41
8.0.270.0040.00417.27
8.0.260.0000.00616.70
8.0.250.0030.00316.96
8.0.240.0060.00316.95
8.0.230.0000.00716.99
8.0.220.0040.00416.93
8.0.210.0030.00316.79
8.0.200.0000.00616.91
8.0.190.0040.00416.90
8.0.180.0000.01016.89
8.0.170.0000.00716.87
8.0.160.0000.00716.94
8.0.150.0030.00316.85
8.0.140.0000.00816.86
8.0.130.0050.00013.32
8.0.120.0000.00816.87
8.0.110.0000.00816.86
8.0.100.0040.00416.71
8.0.90.0050.00216.73
8.0.80.0060.00916.87
8.0.70.0040.00416.93
8.0.60.0030.00516.91
8.0.50.0000.00716.91
8.0.30.0150.00616.99
8.0.20.0100.00817.40
8.0.10.0000.00717.05
8.0.00.0070.01016.83
7.4.330.0020.00215.00
7.4.320.0030.00316.50
7.4.300.0000.00616.60
7.4.290.0030.00316.41
7.4.280.0040.00416.63
7.4.270.0070.00016.59
7.4.260.0000.00716.43
7.4.250.0070.00016.45
7.4.240.0070.00016.60
7.4.230.0030.00316.57
7.4.220.0150.00316.70
7.4.210.0070.00916.53
7.4.200.0000.00716.30
7.4.190.0030.00316.46
7.4.160.0150.00616.34
7.4.150.0120.00617.40
7.4.140.0100.01117.86
7.4.130.0110.00616.63
7.4.120.0080.00916.50
7.4.110.0160.00716.55
7.4.100.0100.00716.28
7.4.90.0100.01016.58
7.4.80.0100.01419.39
7.4.70.0040.01216.34
7.4.60.0130.00316.57
7.4.50.0030.00516.32
7.4.40.0090.00622.77
7.4.30.0030.01316.65
7.4.00.0060.01114.89
7.3.330.0000.00613.12
7.3.320.0030.00313.30
7.3.310.0030.00316.34
7.3.300.0000.00616.18
7.3.290.0110.00616.34
7.3.280.0100.00816.29
7.3.270.0080.00817.40
7.3.260.0060.01116.32
7.3.250.0120.00916.52
7.3.240.0140.00316.55
7.3.230.0140.01016.43
7.3.210.0130.00316.42
7.3.200.0080.00816.39
7.3.190.0170.00016.22
7.3.180.0070.01016.39
7.3.170.0130.00716.35
7.3.160.0030.01216.50
7.3.120.0070.00814.61
7.3.110.0070.01114.82
7.3.100.0080.00615.02
7.3.90.0100.00614.83
7.3.80.0100.00314.92
7.3.70.0030.00614.84
7.3.60.0040.00715.02
7.3.50.0060.00315.01
7.3.40.0000.01014.89
7.3.30.0090.00314.62
7.3.20.0170.00016.77
7.3.10.0080.00816.56
7.3.00.0070.00716.79
7.2.330.0110.00716.63
7.2.320.0110.01116.38
7.2.310.0110.00716.73
7.2.300.0100.01016.47
7.2.290.0030.01416.19
7.2.250.0080.00814.96
7.2.240.0070.01315.20
7.2.230.0100.00614.93
7.2.220.0030.01015.16
7.2.210.0000.01014.82
7.2.200.0090.00615.02
7.2.190.0070.00314.96
7.2.180.0040.01214.98
7.2.170.0030.00915.04
7.2.60.0030.01316.80
7.2.00.0080.00819.20
7.1.330.0030.01015.79
7.1.320.0080.00315.87
7.1.310.0040.01115.59
7.1.300.0120.00315.93
7.1.290.0030.01015.64
7.1.280.0110.00415.49
7.1.270.0000.01515.59
7.1.260.0100.00315.66
7.1.200.0120.00315.79
7.1.100.0060.01218.09
7.1.70.0060.00617.12
7.1.60.0040.01219.82
7.1.50.0070.01717.04
7.1.00.0030.07722.44
7.0.200.0000.01016.89
7.0.140.0070.07022.01
7.0.60.0070.08319.86
7.0.50.0000.04017.86
7.0.40.0200.05720.02
7.0.30.0600.06720.23
7.0.20.0170.06720.25
7.0.10.0070.08020.09
7.0.00.0030.05720.08
5.6.210.0230.07020.73
5.6.200.0000.06018.18
5.6.190.0130.07720.46
5.6.180.0430.05320.77
5.6.170.0200.07020.55
5.6.160.0100.03320.47
5.6.150.0070.08018.12
5.6.140.0100.06018.15
5.6.130.0030.08318.18
5.6.120.0030.08021.03
5.6.110.0200.07020.99
5.6.100.0130.06021.05
5.6.90.0100.08021.08
5.6.80.0030.08320.44
5.5.350.0130.06720.44
5.5.340.0100.07717.95
5.5.330.0030.05020.29
5.5.320.0100.08020.41
5.5.310.0300.07720.34
5.5.300.0070.08718.00
5.5.290.0000.04318.06
5.5.280.0170.06020.80
5.5.270.0130.07720.83
5.5.260.0070.05720.88
5.5.250.0100.07720.78
5.5.240.0030.04020.26
5.4.450.0270.07719.57
5.4.440.0400.07319.48
5.4.430.0130.05319.68
5.4.420.0200.04719.56
5.4.410.0170.04719.34
5.4.400.3170.00018.67
5.4.390.3070.00018.75
5.4.380.0230.05718.57
5.4.370.0230.05318.47
5.4.360.0200.05718.86
5.4.350.0330.05318.59
5.4.340.0200.05718.56
5.4.320.0140.03412.50
5.4.310.0050.03912.50
5.4.300.0100.03812.50
5.4.290.0080.03612.50
5.4.280.0090.03512.40
5.4.270.0070.03912.40
5.4.260.0070.06318.96
5.4.250.0030.05718.78
5.4.240.0070.05318.61
5.4.230.0070.05718.99
5.4.220.0100.05018.99
5.4.210.0100.05318.95
5.4.200.0130.04718.96
5.4.190.0100.05018.95
5.4.180.0070.05718.93
5.4.170.0200.07318.73
5.4.160.0100.05318.90
5.4.150.0030.07018.73
5.4.140.0030.07016.59
5.4.130.0070.06016.58
5.4.120.0030.06016.38
5.4.110.0100.06016.50
5.4.100.0070.05316.44
5.4.90.0100.07016.48
5.4.80.0000.05316.54
5.4.70.0170.05016.45
5.4.60.0100.04716.38
5.4.50.0100.06716.46
5.4.40.0130.05016.62
5.4.30.0030.06016.48
5.4.20.0130.05716.45
5.4.10.0070.05716.66
5.4.00.0000.05715.81
5.3.290.0060.03912.80
5.3.280.0100.06314.58
5.3.270.0170.06014.69
5.3.260.0170.07014.51
5.3.250.0130.05714.83
5.3.240.0200.04014.43
5.3.230.0170.05714.66
5.3.220.0070.05714.65
5.3.210.0070.06714.63
5.3.200.0100.05014.66
5.3.190.0100.05714.63
5.3.180.0030.05714.58
5.3.170.0100.06314.79
5.3.160.0000.06014.74
5.3.150.0230.04714.47
5.3.140.0000.08714.62
5.3.130.0100.07714.52
5.3.120.0030.05714.71
5.3.110.0030.05314.71
5.3.100.0100.06714.25
5.3.90.0030.05314.09
5.3.80.0170.04314.09
5.3.70.0070.05714.10

preferences:
26.02 ms | 401 KiB | 5 Q