3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function test() { B::statCall(); } } class B { function static 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.0230.05612.00
5.4.40.0190.04311.99
5.4.30.0300.06611.98
5.4.20.0230.04111.98
5.4.10.0350.07311.98
5.4.00.0180.04511.47
5.3.150.0200.06312.67
5.3.140.0210.04612.66
5.3.130.0180.06212.66
5.3.120.0320.07012.66
5.3.110.0210.04812.66
5.3.100.0210.04612.12
5.3.90.0220.06012.09
5.3.80.0150.05212.08
5.3.70.0220.04612.08
5.3.60.0370.09012.07
5.3.50.0220.04912.02
5.3.40.0340.06412.02
5.3.30.0220.04411.98
5.3.20.0160.04811.76
5.3.10.0200.04211.72
5.3.00.0330.06011.71

preferences:
142.02 ms | 1394 KiB | 7 Q