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.0110.03712.01
5.4.40.0100.03812.00
5.4.30.0160.05511.99
5.4.20.0090.04011.99
5.4.10.0100.03811.99
5.4.00.0100.03811.49
5.3.150.0100.03912.67
5.3.140.0080.04112.66
5.3.130.0150.05412.66
5.3.120.0100.04312.66
5.3.110.0110.04112.66
5.3.100.0090.04012.12
5.3.90.0070.04312.09
5.3.80.0130.04712.08
5.3.70.0110.04012.08
5.3.60.0100.04012.07
5.3.50.0100.04212.01
5.3.40.0110.04212.01
5.3.30.0100.04211.97
5.3.20.0130.05011.75
5.3.10.0090.04411.72
5.3.00.0090.04411.70

preferences:
137.49 ms | 1394 KiB | 7 Q