--TEST-- Accessing members of standard object through of variable variable --FILE-- a =& $$test; $$test->a->b[] = 2; var_dump($$test); ?> --EXPECT-- object(stdClass)#1 (2) { ["a"]=> &object(stdClass)#1 (2) { ["a"]=> *RECURSION* ["b"]=> array(1) { [0]=> int(2) } } ["b"]=> array(1) { [0]=> int(2) } }