3v4l.org

run code in 300+ PHP versions simultaneously
<?php header('Content-type: text/plain'); echo md5(serialize($ytformats = array( 5 => array('ext' => 'flv', 'width' => 400, 'height' => 240), 6 => array('ext' => 'flv', 'width' => 450, 'height' => 270), 13 => array('ext' => '3gp'), 17 => array('ext' => '3gp', 'width' => 176, 'height' => 144), 18 => array('ext' => 'mp4', 'width' => 640, 'height' => 360), 22 => array('ext' => 'mp4', 'width' => 1280, 'height' => 720), 34 => array('ext' => 'flv', 'width' => 640, 'height' => 360), 35 => array('ext' => 'flv', 'width' => 854, 'height' => 480), 36 => array('ext' => '3gp', 'width' => 320, 'height' => 240), 37 => array('ext' => 'mp4', 'width' => 1920, 'height' => 1080), 38 => array('ext' => 'mp4', 'width' => 4096, 'height' => 3072), 43 => array('ext' => 'webm', 'width' => 640, 'height' => 360), 44 => array('ext' => 'webm', 'width' => 854, 'height' => 480), 45 => array('ext' => 'webm', 'width' => 1280, 'height' => 720), 46 => array('ext' => 'webm', 'width' => 1920, 'height' => 1080), 82 => array('ext' => 'mp4', 'height' => 360, 'note' => '3D'), 83 => array('ext' => 'mp4', 'height' => 480, 'note' => '3D'), 84 => array('ext' => 'mp4', 'height' => 720, 'note' => '3D'), 85 => array('ext' => 'mp4', 'height' => 1080, 'note' => '3D'), 92 => array('ext' => 'mp4', 'height' => 240, 'note' => 'HLS'), 93 => array('ext' => 'mp4', 'height' => 360, 'note' => 'HLS'), 94 => array('ext' => 'mp4', 'height' => 480, 'note' => 'HLS'), 95 => array('ext' => 'mp4', 'height' => 720, 'note' => 'HLS'), 96 => array('ext' => 'mp4', 'height' => 1080, 'note' => 'HLS'), 100 => array('ext' => 'webm', 'height' => 360, 'note' => '3D'), 101 => array('ext' => 'webm', 'height' => 480, 'note' => '3D'), 102 => array('ext' => 'webm', 'height' => 720, 'note' => '3D'), 132 => array('ext' => 'mp4', 'height' => 240, 'note' => 'HLS'), 133 => array('ext' => 'mp4', 'height' => 240, 'note' => 'DASH video'), 134 => array('ext' => 'mp4', 'height' => 360, 'note' => 'DASH video'), 135 => array('ext' => 'mp4', 'height' => 480, 'note' => 'DASH video'), 136 => array('ext' => 'mp4', 'height' => 720, 'note' => 'DASH video'), 137 => array('ext' => 'mp4', 'height' => 1080, 'note' => 'DASH video'), 138 => array('ext' => 'mp4', 'height' => 2160, 'note' => 'DASH video'), 139 => array('ext' => 'm4a', 'abr' => 48, 'note' => 'DASH audio'), 140 => array('ext' => 'm4a', 'abr' => 128, 'note' => 'DASH audio'), 141 => array('ext' => 'm4a', 'abr' => 256, 'note' => 'DASH audio'), 151 => array('ext' => 'mp4', 'height' => 72, 'note' => 'HLS'), 160 => array('ext' => 'mp4', 'height' => 144, 'note' => 'DASH video'), 167 => array('ext' => 'webm', 'height' => 360, 'note' => 'DASH video'), 168 => array('ext' => 'webm', 'height' => 480, 'note' => 'DASH video'), 169 => array('ext' => 'webm', 'height' => 720, 'note' => 'DASH video'), 170 => array('ext' => 'webm', 'height' => 1080, 'note' => 'DASH video'), 171 => array('ext' => 'webm', 'abr' => 128, 'note' => 'DASH audio'), 172 => array('ext' => 'webm', 'abr' => 256, 'note' => 'DASH audio'), 218 => array('ext' => 'webm', 'height' => 480, 'note' => 'DASH video'), 219 => array('ext' => 'webm', 'height' => 480, 'note' => 'DASH video'), 242 => array('ext' => 'webm', 'height' => 240, 'note' => 'DASH video'), 243 => array('ext' => 'webm', 'height' => 360, 'note' => 'DASH video'), 244 => array('ext' => 'webm', 'height' => 480, 'note' => 'DASH video'), 245 => array('ext' => 'webm', 'height' => 480, 'note' => 'DASH video'), 246 => array('ext' => 'webm', 'height' => 480, 'note' => 'DASH video'), 247 => array('ext' => 'webm', 'height' => 720, 'note' => 'DASH video'), 248 => array('ext' => 'webm', 'height' => 1080, 'note' => 'DASH video'), 264 => array('ext' => 'mp4', 'height' => 1440, 'note' => 'DASH video'), 271 => array('ext' => 'webm', 'height' => 1440, 'note' => 'DASH video'), 272 => array('ext' => 'webm', 'height' => 2160, 'note' => 'DASH video'), )));

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.0100.01016.38
8.3.50.0110.00822.06
8.3.40.0080.00818.75
8.3.30.0040.01119.16
8.3.20.0050.00220.34
8.3.10.0060.00320.25
8.3.00.0000.00819.38
8.2.180.0080.01116.50
8.2.170.0120.00322.96
8.2.160.0100.00320.35
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0050.00226.16
8.2.120.0040.00421.09
8.2.110.0060.00320.52
8.2.100.0030.00718.16
8.2.90.0040.00419.23
8.2.80.0000.00817.97
8.2.70.0000.00817.63
8.2.60.0080.00018.04
8.2.50.0080.00018.07
8.2.40.0050.00318.28
8.2.30.0050.00219.37
8.2.20.0040.00417.71
8.2.10.0000.00718.14
8.2.00.0000.00817.64
8.1.280.0100.01025.92
8.1.270.0040.00422.02
8.1.260.0070.00026.35
8.1.250.0040.00428.09
8.1.240.0000.00822.18
8.1.230.0000.01117.70
8.1.220.0040.00417.79
8.1.210.0080.00018.77
8.1.200.0070.00317.23
8.1.190.0040.00417.22
8.1.180.0000.00918.10
8.1.170.0030.00618.48
8.1.160.0070.00021.98
8.1.150.0040.00418.77
8.1.140.0050.00217.33
8.1.130.0030.00317.85
8.1.120.0040.00417.49
8.1.110.0070.00017.44
8.1.100.0000.00717.45
8.1.90.0040.00417.44
8.1.80.0000.00717.32
8.1.70.0000.00717.32
8.1.60.0060.00317.52
8.1.50.0030.00617.39
8.1.40.0000.00817.46
8.1.30.0060.00317.57
8.1.20.0050.00317.53
8.1.10.0000.00817.41
8.1.00.0000.00817.36
8.0.300.0030.00618.77
8.0.290.0040.00416.75
8.0.280.0050.00318.46
8.0.270.0030.00317.20
8.0.260.0030.00317.20
8.0.250.0030.00317.00
8.0.240.0070.00016.97
8.0.230.0030.00316.93
8.0.220.0000.00716.75
8.0.210.0070.00016.81
8.0.200.0000.00716.98
8.0.190.0030.00616.88
8.0.180.0000.00716.76
8.0.170.0080.00016.88
8.0.160.0040.00416.89
8.0.150.0070.00016.80
8.0.140.0000.00716.84
8.0.130.0030.00313.28
8.0.120.0030.00516.82
8.0.110.0030.00516.82
8.0.100.0040.00416.71
8.0.90.0040.00416.89
8.0.80.0100.00716.89
8.0.70.0000.00716.77
8.0.60.0040.00416.90
8.0.50.0040.00416.89
8.0.30.0130.00617.05
8.0.20.0110.01217.40
8.0.10.0030.00516.76
8.0.00.0100.00816.86
7.4.330.0030.00315.00
7.4.320.0030.00316.48
7.4.300.0000.00616.47
7.4.290.0040.00416.56
7.4.280.0000.00816.42
7.4.270.0070.00016.57
7.4.260.0040.00416.46
7.4.250.0040.00416.41
7.4.240.0010.00616.50
7.4.230.0000.00816.35
7.4.220.0160.00716.36
7.4.210.0120.00316.41
7.4.200.0070.00016.39
7.4.160.0140.00316.48
7.4.150.0070.01817.40
7.4.140.0070.01017.86
7.4.130.0100.01116.59
7.4.120.0070.01016.49
7.4.110.0100.01416.43
7.4.100.0070.01116.55
7.4.90.0080.00916.43
7.4.80.0060.02019.39
7.4.70.0080.00816.41
7.4.60.0090.01216.33
7.4.50.0040.00416.35
7.4.40.0090.01416.52
7.4.30.0150.00616.50
7.4.00.0030.01214.73
7.3.330.0000.00713.04
7.3.320.0060.00013.05
7.3.310.0030.00315.98
7.3.300.0020.00516.20
7.3.290.0100.01016.18
7.3.280.0090.00816.21
7.3.270.0110.00817.40
7.3.260.0030.01516.25
7.3.250.0150.00516.31
7.3.240.0100.00616.32
7.3.230.0150.00316.39
7.3.210.0040.01616.24
7.3.200.0160.00319.39
7.3.190.0110.00516.02
7.3.180.0120.00316.44
7.3.170.0120.00916.49
7.3.160.0140.00516.21
7.3.120.0070.01114.93
7.3.110.0000.01514.70
7.3.100.0060.01014.35
7.3.90.0070.01014.71
7.3.80.0000.01214.52
7.3.70.0070.01014.76
7.3.60.0100.00714.77
7.3.50.0030.00614.73
7.3.40.0040.01114.74
7.3.30.0030.00614.75
7.3.20.0070.00716.24
7.3.10.0060.00616.22
7.3.00.0070.01016.23
7.2.330.0070.01016.63
7.2.320.0040.01816.48
7.2.310.0150.00616.44
7.2.300.0030.01316.28
7.2.290.0110.00516.59
7.2.250.0100.01014.77
7.2.240.0000.02015.14
7.2.230.0100.00314.90
7.2.220.0130.00614.56
7.2.210.0000.01314.88
7.2.200.0040.01514.88
7.2.190.0090.00615.02
7.2.180.0040.00714.73
7.2.170.0090.00614.76
7.2.00.0000.01219.01
7.1.330.0070.00715.65
7.1.320.0090.00915.49
7.1.310.0100.00715.77
7.1.300.0070.00715.48
7.1.290.0030.00615.68
7.1.280.0030.01015.63
7.1.270.0040.00715.59
7.1.260.0050.00515.34
7.1.100.0070.00718.12
7.1.70.0040.00416.97
7.1.60.0040.01119.61
7.1.50.0230.01034.66
7.1.00.0030.07722.40
7.0.200.0290.00714.91
7.0.140.0030.07022.21
7.0.60.0200.08019.95
7.0.50.0030.04017.89
7.0.40.0070.08719.90
7.0.30.0270.03720.02
7.0.20.0300.07720.18
7.0.10.0100.06720.21
7.0.00.0100.07320.18
5.6.280.0100.06720.85
5.6.210.0100.08020.65
5.6.200.0130.08018.08
5.6.190.0070.08020.56
5.6.180.0330.07720.77
5.6.170.0270.07720.52
5.6.160.0100.04020.39
5.6.150.0030.04018.13
5.6.140.0100.08018.12
5.6.130.0030.04318.05
5.6.120.0100.08321.18
5.6.110.0130.08321.12
5.6.100.0200.07021.00
5.6.90.0070.06021.01
5.6.80.0000.04320.51
5.5.350.0430.06320.46
5.5.340.0130.05717.84
5.5.330.0070.05020.23
5.5.320.0330.08020.29
5.5.310.0300.06320.12
5.5.300.0030.04317.88
5.5.290.0030.08317.92
5.5.280.0100.04020.90
5.5.270.0100.08320.90
5.5.260.0100.08320.90
5.5.250.0100.03320.75
5.5.240.0000.06020.27
5.4.450.0470.04019.26
5.4.440.0470.05719.25
5.4.430.0500.05319.32
5.4.420.0700.05019.37
5.4.410.0770.03719.42
5.4.400.0670.05319.00
5.4.390.0270.06318.93
5.4.380.0300.07018.61
5.4.370.0270.06018.64
5.4.360.0270.05318.61
5.4.350.0270.05718.74
5.4.340.0370.06318.75
5.4.320.0120.04712.54
5.4.310.0080.04312.54
5.4.300.0060.04212.54
5.4.290.0110.05112.54
5.4.280.0100.03412.44
5.4.270.0090.03612.44
5.4.260.0060.03812.44
5.4.250.0040.04312.44
5.4.240.0060.04012.44
5.4.230.0090.05212.43
5.4.220.0080.03512.43
5.4.210.0070.03512.43
5.4.200.0070.03912.43
5.4.190.0100.04312.43
5.4.180.0060.05012.43
5.4.170.0060.04812.44
5.4.160.0060.04012.43
5.4.150.0070.03612.43
5.4.140.0050.03812.12
5.4.130.0040.03712.11
5.4.120.0050.03512.06
5.4.110.0050.03712.05
5.4.100.0070.03512.06
5.4.90.0040.03912.06
5.4.80.0120.04712.05
5.4.70.0090.04912.05
5.4.60.0130.05912.05
5.4.50.0110.04012.05
5.4.40.0080.03412.04
5.4.30.0040.03912.04
5.4.20.0080.03912.04
5.4.10.0090.03312.04
5.4.00.0040.04411.53
5.3.290.0120.05412.80
5.3.280.0090.04112.73
5.3.270.0080.05412.75
5.3.260.0090.04612.75
5.3.250.0070.04012.75
5.3.240.0050.04012.75
5.3.230.0090.04312.74
5.3.220.0100.03912.71
5.3.210.0100.03712.71
5.3.200.0110.03512.71
5.3.190.0040.04112.71
5.3.180.0090.03412.70
5.3.170.0090.03612.71
5.3.160.0070.04212.70
5.3.150.0080.04612.70
5.3.140.0090.05012.70
5.3.130.0060.04712.69
5.3.120.0040.04312.69
5.3.110.0090.04312.69
5.3.100.0100.04512.18
5.3.90.0100.05012.16
5.3.80.0090.04512.16
5.3.70.0070.03612.15
5.3.60.0090.03412.14
5.3.50.0080.03512.09
5.3.40.0040.04312.09
5.3.30.0120.03012.05
5.3.20.0070.04111.82
5.3.10.0050.04111.79
5.3.00.0030.04011.78
5.2.170.0070.0309.28
5.2.160.0030.0359.28
5.2.150.0070.0349.28
5.2.140.0060.0429.28
5.2.130.0080.0289.24
5.2.120.0060.0289.24
5.2.110.0060.0319.25
5.2.100.0050.0309.25
5.2.90.0060.0299.24
5.2.80.0080.0339.24
5.2.70.0060.0309.24
5.2.60.0050.0309.20
5.2.50.0050.0439.16
5.2.40.0060.0339.14
5.2.30.0060.0369.11
5.2.20.0070.0279.13
5.2.10.0070.0299.03
5.2.00.0050.0308.89
5.1.60.0040.0258.19
5.1.50.0060.0268.19
5.1.40.0070.0258.17
5.1.30.0060.0358.52
5.1.20.0030.0288.54
5.1.10.0010.0308.26
5.1.00.0070.0358.26
5.0.50.0060.0246.74
5.0.40.0080.0196.60
5.0.30.0040.0346.41
5.0.20.0020.0226.39
5.0.10.0040.0206.36
5.0.00.0090.0366.36
4.4.90.0000.0184.78
4.4.80.0040.0184.76
4.4.70.0040.0184.76
4.4.60.0040.0154.75
4.4.50.0060.0134.77
4.4.40.0050.0244.74
4.4.30.0060.0124.76
4.4.20.0040.0154.84
4.4.10.0040.0144.85
4.4.00.0060.0244.77
4.3.110.0030.0154.68
4.3.100.0030.0144.67
4.3.90.0030.0154.65
4.3.80.0010.0254.64
4.3.70.0040.0164.64
4.3.60.0000.0234.64
4.3.50.0050.0204.64
4.3.40.0040.0254.61
4.3.30.0000.0183.41
4.3.20.0020.0163.39
4.3.10.0020.0163.34
4.3.00.0030.01314.28

preferences:
54.49 ms | 400 KiB | 5 Q