3v4l.org

run code in 500+ PHP versions simultaneously
<?php class SomeClass { function methodInjection() {} public function get() { return new ReflectionMethod(...$this->methodInjection(...)); } } $obj = new SomeClass(); var_dump($obj->get());

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.80.0050.00516.93
8.5.70.0360.00516.77
8.5.60.0050.00516.72
8.4.230.0080.01119.73
8.4.220.0060.00419.52
8.4.210.0060.00519.54
8.4.90.0070.00319.80
8.3.320.0150.00418.48
8.3.310.0020.00718.51
8.3.180.0050.00318.56
8.3.50.0040.00516.79
8.2.320.0090.01118.17
8.2.310.0050.00420.07
8.1.340.0100.00917.82
7.0.180.0140.00515.18

preferences:
54.55 ms | 549 KiB | 5 Q