3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { private $_prop; public $prop { set { $this->_prop = $value; } } public function readProp() { var_dump($this->_prop); } } $foo = new Foo(); $foo->prop = 42; $foo->readProp(); var_dump($foo->prop);

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

preferences:
151.3 ms | 1005 KiB | 7 Q