<?php $ob = new stdClass(); $derp = "test"; $ob->{$derp}->val = 'test'; print_r($ob);
You have javascript disabled. You will not be able to edit any code.