3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function test() { B::statCall(); } } class B { function statCall() { var_dump($this); } } a = new A; a->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.4.50.0070.03316.40
5.4.40.0030.03716.44
5.4.30.0000.03716.31
5.4.20.0030.04316.40
5.4.10.0100.02716.40
5.4.00.0030.03315.79
5.3.150.0070.03314.57
5.3.140.0000.04314.63
5.3.130.0030.03714.56
5.3.120.0100.03014.58
5.3.110.0030.03714.59
5.3.100.0030.03714.05
5.3.90.0030.03714.07
5.3.80.0030.03313.96
5.3.70.0000.03714.04
5.3.60.0030.03314.04
5.3.50.0100.03314.00
5.3.40.0030.03713.97
5.3.30.0030.03313.86
5.3.20.0000.03713.75
5.3.10.0130.06013.70
5.3.00.0070.07013.53

preferences:
139.96 ms | 1386 KiB | 7 Q