3v4l.org

run code in 300+ PHP versions simultaneously
<?php private $term = 3; $array = array(array(141,151,161), 2, 3, array(101, 202, 303)); function DisplayArray($array) { foreach ($array as $value) { if (is_array($value)) { DisplayArray($value); } else { echo $value . " "; } } } DisplayArray($array); echo 0x10;

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.0370.08020.09
7.0.10.0070.07020.34
7.0.00.0130.07720.23
5.6.170.0330.06320.62
5.6.160.0100.07320.50
5.6.150.0100.07718.25
5.6.140.0100.04018.14
5.6.130.0100.05018.18
5.6.120.0100.04720.99
5.6.110.0130.07720.94
5.6.100.0030.09021.13
5.6.90.0130.08021.11
5.6.80.0170.07020.38
5.5.310.0270.05020.30
5.5.300.0000.04317.98
5.5.290.0130.06017.95
5.5.280.0100.08020.84
5.5.270.0030.06320.96
5.5.260.0030.04020.86
5.5.250.0030.07720.58
5.5.240.0030.06720.34

preferences:
144.08 ms | 1394 KiB | 7 Q