3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { public function __construct(final string $foo) { } } $a = new A('test'); $c = new ReflectionClass($a); foreach ($c->getProperties() as $prop) { var_dump($prop->isFinal()); }

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.3.50.0140.00516.62

preferences:
42.52 ms | 489 KiB | 4 Q