3v4l.org

run code in 300+ PHP versions simultaneously
<?php $array_1 = array('something1', 'foo'); $array_2 = array('something3', 'bar'); $array_3 = array(); $array_4 = array('something1', 'foobar'); array_walk(array($array_1,$array_2,$array_3,$array_4),function(&$value, $key){ });

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.0110.00418.43
8.3.50.0120.00520.96
8.3.40.0110.00418.69
8.3.30.0110.00320.09
8.3.20.0150.00020.52
8.3.10.0000.00821.04
8.3.00.0050.00223.66
8.2.180.0110.00716.88
8.2.170.0090.00622.96
8.2.160.0100.00320.36
8.2.150.0040.00424.18
8.2.140.0030.00524.66
8.2.130.0070.00026.16
8.2.120.0080.00021.04
8.2.110.0030.00622.11
8.2.100.0040.00418.72
8.1.280.0070.00725.92
8.1.270.0080.00023.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00018.30
8.1.230.0040.00418.49
5.4.220.0270.04719.16
5.4.210.0130.04719.24
5.4.200.0300.04719.09
5.4.190.0300.06719.08
5.4.180.0270.07019.17
5.4.170.0230.04018.82
5.4.160.0200.04319.20
5.4.150.0230.04019.20
5.4.140.0270.07016.30
5.4.130.0130.07316.45
5.4.120.0300.06016.32
5.4.110.0330.02716.43
5.4.100.0200.03716.06
5.4.90.0200.05016.43
5.4.80.0200.07316.38
5.4.70.0230.07316.41
5.4.60.0270.04716.36
5.4.50.0270.06316.36
5.4.40.0130.04716.45
5.4.30.0130.04016.38
5.4.20.0270.04316.37
5.4.10.0230.07016.20
5.4.00.0300.06315.80
5.3.270.0200.03714.54
5.3.260.0330.06714.45
5.3.250.0230.05014.50
5.3.240.0070.04714.70
5.3.230.0230.03714.55
5.3.220.0170.04014.50
5.3.210.0230.03714.61
5.3.200.0230.04314.41
5.3.190.0200.04314.66
5.3.180.0270.06714.51
5.3.170.0200.05314.59
5.3.160.0400.05014.51
5.3.150.0330.04314.50
5.3.140.0170.04014.60
5.3.130.0270.07014.45
5.3.120.0230.07714.51
5.3.110.0200.07014.64
5.3.100.0200.03713.88
5.3.90.0230.06713.87
5.3.80.0200.04013.96
5.3.70.0100.04313.87
5.3.60.0330.05713.94
5.3.50.0200.06713.74
5.3.40.0230.07313.80
5.3.30.0230.07313.88
5.3.20.0300.06713.71
5.3.10.0130.05313.62
5.3.00.0200.05313.49

preferences:
37.79 ms | 401 KiB | 5 Q