<?php class Foo { public $bar; public function __construct() { unset($this->bar); } public function __get($name) { return 'string'; } } $foo = new Foo(); var_dump($foo->bar);
You have javascript disabled. You will not be able to edit any code.