3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { public string $v { get => 'Parent: '.$this->v; } } class B extends A { public string $v { get => 'Child: '.parent::$v::get(); } } $B = new B(); $B->v = 'test'; echo $B->v;

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

preferences:
43.02 ms | 493 KiB | 4 Q