3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Baz { public function foo(); } trait Foo implements Baz { public function foo(){ echo 'foo me'; } } class Bar { use Foo {foo as biz;} } $bar = new Bar(); $bar->biz();

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.05718.15
5.6.140.0070.08018.30
5.6.130.0030.04018.16
5.6.120.0130.05021.15
5.6.110.0030.04320.96
5.6.100.0070.08320.98
5.6.90.0070.08021.13
5.6.80.0030.08720.42
5.5.300.0070.08017.95
5.5.290.0070.05718.07
5.5.280.0100.04320.77
5.5.270.0000.04720.84
5.5.260.0230.05320.96
5.5.250.0030.07720.50
5.5.240.0170.07020.16

preferences:
152.06 ms | 1146 KiB | 7 Q