3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = array( array( 'tag_name' => 'google' ), array( 'tag_other' => 'technology' ) ); echo implode(', ', array_map(function ($entry) { foreach($input as $key){ return $entry['$key']; }, $input));

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)
5.4.320.0270.07319.02
5.4.310.0300.03718.87
5.4.300.0200.06318.98
5.4.290.0270.07319.08
5.4.280.0200.04719.09
5.4.270.0300.04719.13
5.4.260.0270.05318.97
5.4.250.0230.05019.22
5.4.240.0300.07018.97
5.4.230.0400.06319.07
5.4.220.0300.07319.31
5.4.210.0300.05319.15
5.4.200.0300.05019.24
5.4.190.0330.04318.98
5.4.180.0270.07319.32
5.4.170.0330.07018.84
5.4.160.0300.04319.21
5.4.150.0370.06019.21
5.4.140.0270.04716.50
5.4.130.0200.05016.32
5.4.120.0200.04016.30
5.4.110.0200.05016.27
5.4.100.0270.04316.41
5.4.90.0330.06016.58
5.4.80.0230.03716.25
5.4.70.0300.04016.20
5.4.60.0230.03716.38
5.4.50.0300.06716.43
5.4.40.0270.07016.16
5.4.30.0300.04016.51
5.4.20.0370.05316.55
5.4.10.0300.06316.23
5.4.00.0270.07015.85
5.3.290.0230.04314.75
5.3.280.0300.07014.51
5.3.270.0330.06714.62
5.3.260.0300.04014.71
5.3.250.0270.04314.52
5.3.240.0330.06714.65
5.3.230.0230.04014.75
5.3.220.0230.03714.55
5.3.210.0200.05714.47
5.3.200.0300.04014.48
5.3.190.0300.07314.49
5.3.180.0300.07014.48
5.3.170.0330.05714.78
5.3.160.0270.04314.61
5.3.150.0330.07014.72
5.3.140.0330.06714.55
5.3.130.0230.07314.47
5.3.120.0270.05014.45
5.3.110.0230.05714.52
5.3.100.0200.05313.95
5.3.90.0230.04014.04
5.3.80.0170.04314.10
5.3.70.0330.05313.93
5.3.60.0270.04713.98
5.3.50.0300.06014.18
5.3.40.0330.06013.96
5.3.30.0370.05714.13
5.3.20.0270.04713.59
5.3.10.0370.06013.66
5.3.00.0270.04313.66
5.2.170.0330.05312.08
5.2.160.0230.05312.08
5.2.150.0270.05012.08
5.2.140.0270.06012.08
5.2.130.0230.06312.08
5.2.120.0270.03312.08
5.2.110.0270.04312.08
5.2.100.0130.03712.08
5.2.90.0300.05312.08
5.2.80.0300.03312.08
5.2.70.0130.06312.08
5.2.60.0230.03712.08
5.2.50.0230.03012.08
5.2.40.0170.03712.08
5.2.30.0200.05712.08
5.2.20.0200.05712.08
5.2.10.0270.02712.08
5.2.00.0170.05312.08
5.1.60.0200.03012.08
5.1.50.0130.05312.08
5.1.40.0170.02312.08
5.1.30.0130.03012.08
5.1.20.0270.04312.08
5.1.10.0230.05012.08
5.1.00.0200.02312.08
5.0.50.0100.02312.08
5.0.40.0130.04012.08
5.0.30.0130.03712.08
5.0.20.0130.03712.08
5.0.10.0100.02312.08
5.0.00.0130.03012.08
4.4.90.0100.01712.08
4.4.80.0130.03312.08
4.4.70.0100.03712.08
4.4.60.0070.03712.08
4.4.50.0100.03012.08
4.4.40.0070.05712.08
4.4.30.0130.02312.08
4.4.20.0070.03012.08
4.4.10.0100.01312.08
4.4.00.0170.05012.08
4.3.110.0130.02012.08
4.3.100.0070.02312.08
4.3.90.0100.02712.08
4.3.80.0130.03312.08
4.3.70.0100.03312.08
4.3.60.0130.03312.08
4.3.50.0130.01312.08
4.3.40.0130.04712.08
4.3.30.0070.03712.08
4.3.20.0100.02012.08
4.3.10.0070.01712.08
4.3.00.0070.03312.08

preferences:
142.05 ms | 1394 KiB | 7 Q