3v4l.org

run code in 300+ PHP versions simultaneously
<?php abstract class GP { public abstract mixed $foo { get; } } class P extends GP { public mixed $foo; public function x() { ++$this->foo; return $this; } } class C1 extends P { public mixed $foo = 0 { set { parent::$foo::set($value); } } } var_dump((new C1)->x());

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

preferences:
146.39 ms | 997 KiB | 7 Q