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.0200.04112.00
5.4.40.0210.04011.99
5.4.30.0190.04211.98
5.4.20.0170.04511.98
5.4.10.0180.04311.98
5.4.00.0170.04711.47
5.3.150.0310.06912.67
5.3.140.0240.04912.66
5.3.130.0220.05712.66
5.3.120.0300.05812.66
5.3.110.0260.05012.66
5.3.100.0200.05412.12
5.3.90.0180.04612.10
5.3.80.0230.04712.08
5.3.70.0380.06112.09
5.3.60.0220.04512.07
5.3.50.0150.05012.02
5.3.40.0240.06112.02
5.3.30.0160.05011.99
5.3.20.0160.04911.77
5.3.10.0210.04511.72
5.3.00.0210.04211.71

preferences:
141.5 ms | 1394 KiB | 7 Q