3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Test { public function t1() { echo $this->t2(); } public static function t2() { return "Test"; } } class Test2 extends Test { public function t2() { return "Test2"; } } $t = new Test2; $t->t1();

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.230.0070.04212.40
5.4.220.0110.04612.39
5.4.210.0180.06512.39
5.4.200.0110.04312.39
5.4.190.0130.04512.38
5.4.180.0130.04112.38
5.4.170.0120.04312.40
5.4.160.0120.04312.39
5.4.150.0120.04312.39
5.4.140.0220.06512.08
5.4.130.0140.03912.06
5.4.120.0110.04112.02
5.4.110.0180.06512.01
5.4.100.0130.04212.01
5.4.90.0180.05612.02
5.4.80.0110.04312.01
5.4.70.0220.06812.01
5.4.60.0120.04212.01
5.4.50.0110.04212.01
5.4.40.0130.03811.99
5.4.30.0160.03911.99
5.4.20.0150.04012.00
5.4.10.0100.04311.99
5.4.00.0090.04211.49
5.3.280.0060.03912.71
5.3.270.0160.04112.72
5.3.260.0200.07012.72
5.3.250.0120.04112.72
5.3.240.0140.03912.72
5.3.230.0180.05612.71
5.3.220.0130.04212.68
5.3.210.0110.04912.68
5.3.200.0160.04112.68
5.3.190.0250.07112.68
5.3.180.0140.04512.68
5.3.170.0170.04212.67
5.3.160.0180.03612.67
5.3.150.0140.04412.67
5.3.140.0240.06212.66
5.3.130.0120.04312.66
5.3.120.0120.04312.66
5.3.110.0150.03912.66
5.3.100.0110.04312.12
5.3.90.0110.04212.10
5.3.80.0150.03812.09
5.3.70.0100.04312.09
5.3.60.0100.04312.07
5.3.50.0130.04012.02
5.3.40.0130.04012.01
5.3.30.0110.03811.98
5.3.20.0120.03911.76
5.3.10.0100.03911.72
5.3.00.0140.05111.71

preferences:
139.97 ms | 1394 KiB | 7 Q