3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface i { function foo($a); } class x { function foo() {} } class y extends x implements i { function foo($a = 1) { echo __METHOD__; } } (new y)->foo();

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)
8.5.90.0040.00416.91
8.5.80.0350.00516.67
8.5.70.0140.00516.33
8.4.240.0040.00619.57
8.4.230.0060.00521.35
8.4.220.0120.00421.34
8.4.90.0070.00619.36
8.3.330.0140.00918.44
8.3.320.0070.00420.20
8.3.180.0080.00216.55
8.3.50.0100.00816.57
8.2.320.0060.00517.91

preferences:
44.81 ms | 533 KiB | 5 Q