3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public doFoo($file, $args) { extract($args); return $file; } } $f = new Foo; var_dump($f->doFoo('test', array('file' => $f)));

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.6.150.0170.07318.18
5.6.140.0000.07018.18
5.6.130.0130.06718.27
5.6.120.0100.06321.14
5.6.110.0130.05721.11
5.6.100.0100.07720.93
5.6.90.0100.07021.03
5.6.80.0070.08020.40
5.5.300.0070.07717.98
5.5.290.0070.08317.96
5.5.280.0030.04720.96
5.5.270.0070.08320.75
5.5.260.0130.06320.87
5.5.250.0070.04020.68
5.5.240.0170.03720.23

preferences:
139.59 ms | 1394 KiB | 7 Q