<?php class Test { private int $a; public function __construct() { $this->a = 1; } public function __set(string $name, $value) { echo "__set is called\n\n"; } } var_dump(new Test());
You have javascript disabled. You will not be able to edit any code.