3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyCl { protected db = "Hello"; // public function __get($property) { // // } } $obj = new MyCl(); $greet = $obj->db; var_dump($greet);

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)
7.2.110.1140.01214.15

preferences:
137.22 ms | 1394 KiB | 7 Q