<?php $a = new stdClass; $b = 'foo'; $a->b = 'bar'; $a->$b = 'baz'; var_dump($a);
You have javascript disabled. You will not be able to edit any code.