3v4l.org

run code in 300+ PHP versions simultaneously
<?php class MyTable { private $name; public function __call($name, $argument) { return $this->$name(); } private function name() { var_dump('Im executing!'); return 'New Value'; } } $oMyTable = new MyTable(); $o = $oMyTable->name('StackOverflow'); var_dump($o); ?>

preferences:
40.81 ms | 402 KiB | 5 Q