3v4l.org

run code in 300+ PHP versions simultaneously
<?php $file = file_get_contents('http://3v4l.org/youtube/v3/videos?part=contentDetails%2Csnippet%2Cstatistics&maxResults=1&id=rF_2pqJ86L4'); $json = json_decode($file, true); 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.0140.00018.68
8.3.50.0140.00522.05
8.3.40.0040.01118.88
8.3.30.0150.00319.34
8.3.20.0080.00020.58
8.3.10.0040.00420.66
8.3.00.0080.00319.75
8.2.180.0160.00416.75
8.2.170.0110.00722.96
8.2.160.0070.00720.57
8.2.150.0000.00824.18
8.2.140.0080.00024.66
8.2.130.0050.00326.16
8.2.120.0060.00322.18
8.2.110.0040.00720.66
8.2.100.0060.00717.84
8.2.90.0040.00419.21
8.2.80.0030.00717.97
8.2.70.0000.00817.75
8.2.60.0050.00317.93
8.2.50.0060.00318.07
8.2.40.0000.00818.28
8.2.30.0030.00919.64
8.2.20.0030.00517.74
8.2.10.0060.00318.27
8.2.00.0060.00317.69
8.1.280.0090.00925.92
8.1.270.0030.00522.29
8.1.260.0060.00326.35
8.1.250.0000.00728.09
8.1.240.0040.00424.02
8.1.230.0040.00819.40
8.1.220.0040.00417.77
8.1.210.0000.00818.77
8.1.200.0080.00017.35
8.1.190.0000.00817.35
8.1.180.0000.00918.10
8.1.170.0000.00818.91
8.1.160.0000.00722.21
8.1.150.0040.00419.07
8.1.140.0040.00417.59
8.1.130.0000.00717.95
8.1.120.0070.00017.58
8.1.110.0030.00617.49
8.1.100.0000.00717.61
8.1.90.0000.00817.63
8.1.80.0000.00717.50
8.1.70.0040.00417.50
8.1.60.0040.00417.73
8.1.50.0030.00617.53
8.1.40.0020.00517.55
8.1.30.0050.00317.60
8.1.20.0050.00217.74
8.1.10.0040.00417.55
8.1.00.0070.00317.63
8.0.300.0040.00418.77
8.0.290.0000.00716.87
8.0.280.0000.00718.64
8.0.270.0040.00417.45
8.0.260.0000.00717.50
8.0.250.0000.00817.13
8.0.240.0030.00617.20
8.0.230.0000.00717.08
8.0.220.0040.00417.02
8.0.210.0040.00417.00
8.0.200.0000.00717.23
8.0.190.0000.00717.21
8.0.180.0000.00916.99
8.0.170.0030.00517.13
8.0.160.0070.00017.09
8.0.150.0030.00516.96
8.0.140.0040.00417.14
8.0.130.0030.00313.53
8.0.120.0030.00617.18
8.0.110.0030.00517.29
8.0.100.0040.00416.97
8.0.90.0050.00317.01
8.0.80.0030.01317.19
8.0.70.0000.00717.01
8.0.60.0000.00817.18
8.0.50.0050.00217.06
8.0.30.0160.00517.20
8.0.20.0140.00717.48
8.0.10.0040.00417.11
8.0.00.0150.00316.88
7.4.330.0000.00615.00
7.4.320.0060.00016.57
7.4.300.0030.00316.56
7.4.290.0070.00016.58
7.4.280.0000.00916.62
7.4.270.0000.00816.73
7.4.260.0040.00416.52
7.4.250.0000.00816.72
7.4.240.0030.00516.71
7.4.230.0040.00416.73
7.4.220.0090.00916.64
7.4.210.0080.00616.80
7.4.200.0040.00416.51
7.4.160.0150.00316.83
7.4.150.0130.00617.40
7.4.140.0060.01217.86
7.4.130.0100.00916.74
7.4.120.0070.01116.70
7.4.110.0070.01116.80
7.4.100.0120.00616.75
7.4.90.0130.00616.64
7.4.80.0060.01619.39
7.4.70.0130.00316.56
7.4.60.0160.00016.85
7.4.50.0000.00916.74
7.4.40.0110.00716.80
7.4.30.0080.00816.73
7.4.00.0090.00615.20
7.3.330.0000.00713.28
7.3.320.0050.00013.31
7.3.310.0000.00716.48
7.3.300.0070.00016.52
7.3.290.0110.00616.45
7.3.280.0100.00716.47
7.3.270.0060.01217.40
7.3.260.0100.01016.59
7.3.250.0140.00716.47
7.3.240.0110.00716.65
7.3.230.0140.01016.47
7.3.210.0100.00716.41
7.3.200.0090.00919.39
7.3.190.0130.00616.69
7.3.180.0300.01616.75
7.3.170.0100.00616.52
7.3.160.0070.01016.47
7.2.330.0090.00916.80
7.2.320.0110.00816.84
7.2.310.0040.01416.69
7.2.300.0070.01116.80
7.2.290.0040.01916.80
7.2.60.0400.01016.67
7.2.00.0060.00919.50
7.1.200.0090.00616.07
7.1.100.0040.00818.59
7.1.70.0030.01017.27
7.1.60.0160.00919.12
7.1.50.0000.01917.32
7.1.00.0030.07722.59
7.0.200.0000.01017.00
7.0.140.0000.09322.33
7.0.60.0070.08320.45
7.0.50.0130.04018.03
7.0.40.0130.05020.53
7.0.30.0300.06020.54
7.0.20.0200.04020.63
7.0.10.0230.04720.52
7.0.00.0070.04320.47
5.6.280.0070.07321.24
5.6.210.0130.08020.77
5.6.200.0030.06018.57
5.6.190.0070.08021.11
5.6.180.0230.06721.09
5.6.170.0230.04320.88
5.6.160.0000.08320.88
5.6.150.0100.07718.38
5.6.140.0130.07018.47
5.6.130.0100.07718.56
5.6.120.0100.07721.32
5.6.110.0070.04021.52
5.6.100.0200.07321.30
5.6.90.0130.08021.32
5.6.80.0030.08320.63
5.6.70.4070.03720.63
5.5.350.0030.08320.74
5.5.340.0070.06718.35
5.5.330.0100.03720.82
5.5.320.0330.06020.63
5.5.310.0200.04320.58
5.5.300.0030.04318.37
5.5.290.0030.07018.25
5.5.280.0170.07721.38
5.5.270.0070.07021.08
5.5.260.0130.08321.23
5.5.250.0130.07320.97
5.5.240.0030.04720.68
5.4.450.0130.03719.70
5.4.440.0300.04719.70
5.4.430.0270.04019.73
5.4.420.0300.04319.73
5.4.410.0200.04719.57
5.4.400.0270.04719.46
5.4.390.0470.03719.27
5.4.380.0530.05719.02
5.4.370.0300.07319.02
5.4.360.0270.05319.05
5.4.350.0430.05718.68
5.4.340.0400.06018.71
5.4.320.0060.03612.68
5.4.310.0090.03812.68
5.4.300.0040.04012.68
5.4.290.0050.03812.67
5.4.280.0070.03312.57
5.4.270.0080.03712.57
5.4.260.0030.04012.57
5.4.250.0080.03512.57
5.4.240.0040.03812.57
5.4.230.0040.04212.57
5.4.220.0060.03512.57
5.4.210.0090.03512.56
5.4.200.0060.03712.57
5.4.190.0070.03612.56
5.4.180.0050.03812.56
5.4.170.0080.03912.57
5.4.160.0060.03712.56
5.4.150.0090.04512.56
5.4.140.0040.03912.24
5.4.130.0100.03212.23
5.4.120.0070.03512.19
5.4.110.0140.03712.18
5.4.100.0070.03812.19
5.4.90.0030.04012.18
5.4.80.0050.03712.18
5.4.70.0030.03712.18
5.4.60.0050.04212.18
5.4.50.0080.04012.18
5.4.40.0050.04712.17
5.4.30.0080.03512.16
5.4.20.0080.03212.17
5.4.10.0100.03012.17
5.4.00.0030.03711.66
5.3.290.0070.03712.88
5.3.280.0030.04112.81
5.3.270.0040.04012.82
5.3.260.0070.03812.82
5.3.250.0080.04412.82
5.3.240.0090.03712.82
5.3.230.0040.03912.82
5.3.220.0070.03512.79
5.3.210.0080.03612.78
5.3.200.0040.03812.78
5.3.190.0070.04012.78
5.3.180.0060.03612.78
5.3.170.0070.03512.78
5.3.160.0040.03812.78
5.3.150.0080.03412.78
5.3.140.0060.03812.77
5.3.130.0090.03912.76
5.3.120.0050.03912.77
5.3.110.0060.03912.76
5.3.100.0060.03512.25
5.3.90.0060.03612.24
5.3.80.0020.04012.23
5.3.70.0090.03812.23
5.3.60.0060.03712.21
5.3.50.0070.03712.16
5.3.40.0120.03112.16
5.3.30.0090.03312.13
5.3.20.0070.03511.90
5.3.10.0060.03411.87
5.3.00.0090.03311.85
5.2.170.0050.0299.36
5.2.160.0050.0329.36
5.2.150.0040.0309.36
5.2.140.0020.0339.36
5.2.130.0050.0369.31
5.2.120.0080.0299.32
5.2.110.0020.0329.32
5.2.100.0040.0309.32
5.2.90.0050.0299.32
5.2.80.0050.0309.32
5.2.70.0050.0309.32
5.2.60.0040.0309.27
5.2.50.0050.0299.23
5.2.40.0050.0289.21
5.2.30.0060.0279.19
5.2.20.0050.0279.17
5.2.10.0040.0289.07
5.2.00.0050.0288.93
5.1.60.0050.0228.21
5.1.50.0060.0228.21
5.1.40.0050.0238.20
5.1.30.0060.0248.55
5.1.20.0090.0228.57
5.1.10.0080.0248.29
5.1.00.0050.0278.29
5.0.50.0080.0176.77
5.0.40.0070.0186.63
5.0.30.0050.0306.44
5.0.20.0050.0216.39
5.0.10.0080.0186.38
5.0.00.0050.0336.36
4.4.90.0050.0174.77
4.4.80.0050.0134.76
4.4.70.0020.0164.76
4.4.60.0020.0164.76
4.4.50.0020.0164.77
4.4.40.0030.0254.76
4.4.30.0040.0144.76
4.4.20.0030.0184.84
4.4.10.0040.0194.85
4.4.00.0040.0294.79
4.3.110.0050.0154.70
4.3.100.0050.0134.69
4.3.90.0020.0154.65
4.3.80.0060.0254.64
4.3.70.0030.0154.64
4.3.60.0020.0144.64
4.3.50.0010.0244.64
4.3.40.0030.0244.62
4.3.30.0010.0193.42
4.3.20.0040.0153.40
4.3.10.0040.0153.36
4.3.00.0030.01716.72

preferences:
31.61 ms | 401 KiB | 5 Q