3v4l.org

run code in 300+ PHP versions simultaneously
<?php function f(&$obst) { $obst['birne'] = 'gelb'; return $obst; } $obst['apfel'] = 'gruen'; $obst2 = f($obst); $obst2['foo'] = 'bar' var_dump($obst, $obst2);

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.50.0230.06311.99
5.4.40.0110.04611.98
5.4.30.0240.06511.98
5.4.20.0270.05811.98
5.4.10.0190.06811.98
5.4.00.0250.06111.47
5.3.150.0310.07312.68
5.3.140.0230.06812.66
5.3.130.0120.04712.66
5.3.120.0160.07312.66
5.3.110.0220.06612.66
5.3.100.0210.06712.12
5.3.90.0110.04612.09
5.3.80.0340.07112.08
5.3.70.0150.05812.07
5.3.60.0210.08212.06
5.3.50.0130.04512.00
5.3.40.0160.07212.00
5.3.30.0170.04111.96
5.3.20.0160.04111.74
5.3.10.0250.06011.70
5.3.00.0160.04011.69

preferences:
140.52 ms | 939 KiB | 8 Q