3v4l.org

run code in 300+ PHP versions simultaneously
<?php trait ExpectsFooProperty { abstract public string $foo { get; } } trait ProvidesFooProperty { use ExpectsFooProperty; public readonly string $foo; } final readonly class FooPropertyImpl { use ProvidesFooProperty; }

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.0140.00718.53
8.4.60.0130.00917.64

preferences:
137.95 ms | 997 KiB | 7 Q