3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ISome { protected $prop1; } class Some implements ISome { public function getProp() { return $this->prop1; } }

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.40.0150.04211.96
5.4.30.0160.04311.96
5.4.20.0210.05311.96
5.4.10.0150.04211.96
5.4.00.0160.04311.45
5.3.140.0180.04312.66
5.3.130.0180.04312.65
5.3.120.0250.06712.66
5.3.110.0270.05012.66
5.3.100.0140.04612.12
5.3.90.0190.04212.08
5.3.80.0260.06512.08
5.3.70.0120.04912.08
5.3.60.0140.04712.06
5.3.50.0160.04412.00
5.3.40.0160.05812.00
5.3.30.0230.06411.96
5.3.20.0180.04211.73
5.3.10.0180.03811.70
5.3.00.0180.04111.68

preferences:
141.76 ms | 1394 KiB | 7 Q