<?php class Test { public function __set($prop, $val) { var_dump($prop, $val); } } $test = new Test(); $test->doesNotExist = 42; var_dump($test);
You have javascript disabled. You will not be able to edit any code.