3v4l.org

run code in 500+ PHP versions simultaneously
<?php class User { public function __construct(private string $first, private string $last) {} var string $fullName { get { return $this->first . " " . $this->last; } } }

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

preferences:
42.55 ms | 492 KiB | 4 Q