3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface TestInterface {} interface FooInterface { public function bar(TestInterface $variable); } class Foo uses FooInterface { public function bar($variable) {} } $foo = new Foo; $foo->bar('test');

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.0100.06318.23
5.6.140.0030.08018.14
5.6.130.0030.05018.17
5.6.120.0100.08020.97
5.6.110.0130.07320.99
5.6.100.0100.08320.89
5.6.90.0100.04320.95
5.6.80.0130.08020.39
5.5.300.0100.05718.04
5.5.290.0130.07717.99
5.5.280.0130.07020.90
5.5.270.0200.07320.83
5.5.260.0030.08320.77
5.5.250.0070.08320.70
5.5.240.0100.06020.13

preferences:
124.34 ms | 1398 KiB | 7 Q