3v4l.org

run code in 500+ PHP versions simultaneously
<?php class A { public function __construct(final string $id) { } } $a = new A('test'); echo $a->id;

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

preferences:
49.17 ms | 489 KiB | 4 Q