3v4l.org

run code in 500+ PHP versions simultaneously
<?php class Foo { public function __construct( public private(set) string $asymmetricProperty, ) {} } $foo = new Foo("bar"); echo $foo->asymmetricProperty;

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.50.0240.01017.74
8.4.40.0390.00617.39
8.3.190.0270.00616.27
8.3.50.0060.01316.74
8.2.280.0260.00516.70

preferences:
42.18 ms | 504 KiB | 4 Q