3v4l.org

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

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.0030.03716.51
5.4.40.0000.03716.46
5.4.30.0100.03316.29
5.4.20.0030.03716.27
5.4.10.0000.03716.29
5.4.00.0030.03315.82
5.3.150.0100.03014.45
5.3.140.0000.04014.59
5.3.130.0030.03714.60
5.3.120.0070.03314.60
5.3.110.0030.03714.71
5.3.100.0070.03314.06
5.3.90.0000.03714.07
5.3.80.0030.04314.09
5.3.70.0070.03014.03
5.3.60.0030.03314.00
5.3.50.0070.03314.00
5.3.40.0030.03313.84
5.3.30.0030.04013.80
5.3.20.0070.03013.70
5.3.10.0030.03313.65
5.3.00.0070.03013.67

preferences:
138.43 ms | 1394 KiB | 7 Q