3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface IA { public $a; public function a(); } abstract class A { public $a; abstract function a(); } class B extends A { function a($b = null) { } }

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.220.0040.03812.39
5.4.210.0120.03812.38
5.4.200.0130.04212.38
5.4.190.0110.04212.37
5.4.180.0100.04112.38
5.4.170.0120.03912.39
5.4.160.0110.03912.38
5.4.150.0140.03812.38
5.4.140.0130.04312.06
5.4.130.0140.04012.05
5.4.120.0140.05312.01
5.4.110.0110.04212.00
5.4.100.0110.03912.00
5.4.90.0110.04212.01
5.4.80.0130.04012.00
5.4.70.0130.03812.00
5.4.60.0110.04112.00
5.4.50.0110.04212.00
5.4.40.0200.05211.99
5.4.30.0120.04711.98
5.4.20.0100.04611.98
5.4.10.0130.04111.99
5.4.00.0180.04611.48
5.3.270.0140.05412.72
5.3.260.0190.04912.72
5.3.250.0150.04512.72
5.3.240.0160.05812.72
5.3.230.0140.04512.71
5.3.220.0260.06112.68
5.3.210.0120.04112.68
5.3.200.0140.04512.68
5.3.190.0150.04312.68
5.3.180.0180.05112.67
5.3.170.0120.04112.67
5.3.160.0100.04312.67
5.3.150.0150.03912.67
5.3.140.0120.04212.66
5.3.130.0130.04212.66
5.3.120.0120.04312.66
5.3.110.0120.04312.66
5.3.100.0150.04612.12
5.3.90.0110.04712.09
5.3.80.0200.05312.08
5.3.70.0140.04512.08
5.3.60.0140.04512.07
5.3.50.0100.04812.01
5.3.40.0170.05712.01
5.3.30.0120.04511.98
5.3.20.0130.04311.74
5.3.10.0130.04211.71
5.3.00.0110.04911.70

preferences:
139.03 ms | 1386 KiB | 7 Q