3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { public string $v { set => $this->v = 'Parent: '.$value; } } class B extends A { public string $v { set => $this->v = 'Child: '.parent::$v::set($value); } } $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.0060.00416.74

preferences:
40.4 ms | 493 KiB | 4 Q