3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { var $boo; function Foo() { $this->boo = md5('foo'); } function go() { echo $this->boo . PHP_EOL; } } $a = new Foo(); $a->go(); var_dump(memory_get_peak_usage());

preferences:
45.23 ms | 402 KiB | 5 Q