3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $input = array( array( 'tag_name' => 'google' ), array( 'tag_name' => 'technology' ) ); $letters = array(); foreach ($input as $value['tag_name']) { $letters = array_merge($letters, $value); } echo implode(', ', $letters);
based on AXZK6

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).
Note: hhvm uses a JIT which only kicks in after a few runs. Since we run scripts only once, hhvm always runs slower.

VersionSystem time (s)User time (s)Memory (MiB)
7.3.00.0030.01016.56
7.2.130.0040.00716.71
7.2.120.0080.00816.87
7.2.110.0030.00716.65
7.2.100.0070.00716.56
7.2.90.0070.00316.67
7.2.80.0110.00416.79
7.2.70.0040.01417.04
7.2.60.0110.00616.99
7.2.50.0070.00716.91
7.2.40.0030.00716.68
7.2.30.0030.00716.82
7.2.20.0070.00716.91
7.2.10.0030.00716.70
7.2.00.0040.00818.28
7.1.250.0120.00415.68
7.1.240.0120.00015.57
7.1.230.0070.00715.74
7.1.220.0080.00415.63
7.1.210.0060.00315.86
7.1.200.0090.00315.77
7.1.190.0090.00015.61
7.1.180.0110.00415.45
7.1.170.0050.00515.71
7.1.160.0060.00615.70
7.1.150.0070.00415.77
7.1.140.0050.00515.77
7.1.130.0090.00315.99
7.1.120.0030.00615.43
7.1.110.0030.00616.00
7.1.100.0060.00616.73
7.1.90.0030.00715.60
7.1.80.0040.00815.84
7.1.70.0080.00516.45
7.1.60.0060.01317.51
7.1.50.0080.00816.41
7.1.40.0070.00315.97
7.1.30.0070.00715.75
7.1.20.0060.00615.64
7.1.10.0060.00915.52
7.1.00.0080.04019.00
7.0.330.0000.01215.45
7.0.320.0040.00415.26
7.0.310.0110.00415.27
7.0.300.0060.00615.28
7.0.290.0030.01014.94
7.0.280.0030.00915.44
7.0.270.0030.00315.48
7.0.260.0040.01115.37
7.0.250.0030.00715.35
7.0.240.0000.01015.52
7.0.230.0030.00915.27
7.0.220.0120.00315.47
7.0.210.0060.00915.21
7.0.200.0370.00814.86
7.0.190.0030.00915.51
7.0.180.0000.01315.39
7.0.170.0040.00715.28
7.0.160.0100.00015.45
7.0.150.0000.01115.43
7.0.140.0060.03418.70
7.0.130.0070.00715.49
7.0.120.0000.00915.57
7.0.110.0110.00015.25
7.0.100.0060.00315.23
7.0.90.0060.00915.31
7.0.80.0120.00015.36
7.0.70.0070.00315.45
7.0.60.0060.04717.59
7.0.50.0050.02916.58
7.0.40.0070.04516.73
7.0.30.0120.02816.84
7.0.20.0160.03016.77
7.0.10.0200.04816.74
7.0.00.0130.04016.79
5.6.380.0030.01014.55
5.6.370.0130.00014.25
5.6.360.0130.00314.05
5.6.350.0030.00714.53
5.6.340.0040.00814.64
5.6.330.0050.00914.31
5.6.320.0030.00913.82
5.6.310.0080.00414.54
5.6.300.0000.01414.04
5.6.290.0080.00314.35
5.6.280.0030.04017.79
5.6.270.0000.01414.29
5.6.260.0060.00914.27
5.6.250.0070.00414.27
5.6.240.0030.01014.41
5.6.230.0070.00414.67
5.6.220.0070.00714.46
5.6.210.0090.03517.30
5.6.200.0070.04216.26
5.6.190.0060.02517.46
5.6.180.0150.04317.38
5.6.170.0200.03817.23
5.6.160.0050.04317.44
5.6.150.0030.02716.38
5.6.140.0030.03216.16
5.6.130.0030.02516.32
5.6.120.0060.02317.79
5.6.110.0050.04717.56
5.6.100.0100.04417.63
5.6.90.0080.04117.64
5.6.80.0080.03817.29
5.6.70.0130.03817.41
5.6.60.0000.00914.26
5.6.50.0030.01014.37
5.6.40.0060.00314.08
5.6.30.0070.00414.51
5.6.20.0030.00814.48
5.6.10.0040.00814.24
5.6.00.0060.00314.05
5.5.380.0100.00011.26
5.5.370.0040.00811.09
5.5.360.0070.00310.79
5.5.350.0120.03815.75
5.5.340.0060.03614.49
5.5.330.0070.04615.47
5.5.320.0060.02615.68
5.5.310.0150.03915.61
5.5.300.0020.02614.50
5.5.290.0050.03314.56
5.5.280.0090.01815.90
5.5.270.0050.03915.82
5.5.260.0050.03615.84
5.5.250.0080.04115.85
5.5.240.0070.04315.68
5.5.230.0100.00311.07
5.5.220.0100.00010.98
5.5.210.0040.00711.02
5.5.200.0040.00710.95
5.5.190.0000.01310.92
5.5.180.0060.00611.13
5.5.170.0040.00410.95
5.5.160.0060.00610.70
5.5.150.0000.01111.12
5.5.140.0040.00710.92
5.5.130.0070.00311.01
5.5.120.0030.00910.75
5.5.110.0030.00911.02
5.5.100.0090.00311.07
5.5.90.0030.00710.91
5.5.80.0040.00411.04
5.5.70.0030.00311.00
5.5.60.0000.00810.94
5.5.50.0030.00711.13
5.5.40.0030.00610.75
5.5.30.0030.00611.02
5.5.20.0060.00310.54
5.5.10.0000.01610.93
5.5.00.0030.00910.74
5.4.450.0180.03215.15
5.4.440.0520.02915.20
5.4.430.0430.03115.13
5.4.420.0420.03015.00
5.4.410.0060.03115.11
5.4.400.0200.02814.58
5.4.390.0260.02214.75
5.4.380.0230.03314.75
5.4.370.0250.03314.70
5.4.360.0150.03114.89
5.4.350.0170.03014.84
5.4.340.0260.02314.91
5.4.330.0040.00710.79
5.4.320.0180.03014.62
5.4.310.0230.03214.70
5.4.300.0150.03514.86
5.4.290.0230.03314.69
5.4.280.0200.03314.80
5.4.270.0200.02614.77
5.4.260.0120.03614.75
5.4.250.0170.03514.74
5.4.240.0170.03314.78
5.4.230.0170.03014.76
5.4.220.0240.03014.67
5.4.210.0200.02714.78
5.4.200.0220.02213.76
5.4.190.0170.03414.66
5.4.180.0120.03614.72
5.4.170.0160.03114.76
5.4.160.0170.03314.86
5.4.150.0230.02514.63
5.4.140.0220.02813.54
5.4.130.0200.02913.48
5.4.120.0200.02913.44
5.4.110.0200.02813.41
5.4.100.0200.02813.48
5.4.90.0170.02813.64
5.4.80.0140.03113.67
5.4.70.0150.03013.49
5.4.60.0220.02013.46
5.4.50.0220.02713.58
5.4.40.0190.03213.60
5.4.30.0200.03013.69
5.4.20.0170.03213.57
5.4.10.0230.02213.64
5.4.00.0170.03013.21
5.3.290.0170.03012.57
5.3.280.0170.03012.46
5.3.270.0200.02812.44
5.3.260.0200.03112.51
5.3.250.0170.03012.53
5.3.240.0230.02512.58
5.3.230.0210.02812.48
5.3.220.0150.03212.48
5.3.210.0170.04012.55
5.3.200.0210.02712.55
5.3.190.0250.03112.53
5.3.180.0180.03312.63
5.3.170.0150.03212.59
5.3.160.0170.02712.60
5.3.150.0140.03412.56
5.3.140.0200.03012.47
5.3.130.0100.03512.63
5.3.120.0150.03512.65
5.3.110.0200.02912.59
5.3.100.0200.02712.26
5.3.90.0180.03112.21
5.3.80.0200.02612.15
5.3.70.0150.03212.22
5.3.60.0130.03012.27
5.3.50.0120.03212.21
5.3.40.0120.03012.26
5.3.30.0150.03012.10
5.3.20.0130.02912.02
5.3.10.0210.02511.94
5.3.00.0200.03311.90
5.2.170.0120.02610.35
5.2.160.0170.02310.29
5.2.150.0140.02310.39
5.2.140.0150.02510.39
5.2.130.0180.01810.39
5.2.120.0130.02510.34
5.2.110.0140.02410.33
5.2.100.0150.02310.26
5.2.90.0170.02010.33
5.2.80.0100.02510.33
5.2.70.0130.02110.28
5.2.60.0130.02210.26
5.2.50.0130.02310.29
5.2.40.0150.01810.25
5.2.30.0130.02210.16
5.2.20.0130.02210.17
5.2.10.0100.02910.16
5.2.00.0110.02110.10
5.1.60.0130.0189.72
5.1.50.0180.0209.68
5.1.40.0080.0229.70
5.1.30.0110.0219.94
5.1.20.0120.0199.94
5.1.10.0130.0299.75
5.1.00.0070.0229.72
5.0.50.0050.0179.00
5.0.40.0070.0168.94
5.0.30.0030.0288.85
5.0.20.0070.0138.82
5.0.10.0050.0188.78
5.0.00.0120.0278.79
4.4.90.0080.0157.65
4.4.80.0070.0167.65
4.4.70.0100.0127.65
4.4.60.0090.0137.62
4.4.50.0070.0127.64
4.4.40.0070.0197.65
4.4.30.0070.0127.66
4.4.20.0050.0137.71
4.4.10.0050.0127.68
4.4.00.0070.0207.69
4.3.110.0050.0137.65
4.3.100.0030.0167.60
4.3.90.0080.0137.63
4.3.80.0080.0167.61
4.3.70.0090.0097.60
4.3.60.0050.0137.60
4.3.50.0070.0137.61
4.3.40.0100.0227.58
4.3.30.0050.0177.02
4.3.20.0050.0176.97
4.3.10.0050.0146.94
4.3.00.0070.0158.02