3v4l.org

run code in 500+ PHP versions simultaneously
<?php // This is fine. class Foo { function bar($a) {} // Untyped param. } class FooChild extends Foo { function bar(mixed $a) {} // Child declares the param as mixed. } // This is an error... class Person { public $name { set(mixed $value) { $this->name = $value; } } }

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

preferences:
42.46 ms | 493 KiB | 4 Q