3v4l.org

run code in 300+ PHP versions simultaneously
<?php $list = ['a', 'b', 'c', 'd']; array_walk($list, function ($item) use($list) { array_walk($list, function ($inner) use ($item) { if ($inner == $item) { continue; } echo $ietm, ' ', $inner, PHP_EOL; }) });

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)
7.0.20.0270.03320.23
7.0.10.0070.04320.15
7.0.00.0000.04720.13
5.6.170.0200.04720.56
5.6.160.0100.08320.51
5.6.150.0000.05718.25
5.6.140.0000.04318.28
5.6.130.0100.07718.17
5.6.120.0000.06321.04
5.6.110.0130.08721.04
5.6.100.0130.05720.96
5.6.90.0070.06721.04
5.6.80.0070.08020.42
5.5.310.0170.04320.34
5.5.300.0130.05718.08
5.5.290.0030.04317.95
5.5.280.0100.06720.75
5.5.270.0130.08020.68
5.5.260.0070.08320.88
5.5.250.0100.06320.70
5.5.240.0230.07320.21

preferences:
146.06 ms | 1394 KiB | 7 Q