I'm wondering what happens when I do so in PHP:
$inst = new stdClass(); $inst->some = 'value'; var_dump(new $inst);
Result is a new empty instance of stdClass. Can anybody answer why is it so? Thanks in advance.