my $ctx = $php->instantiate('MDG_Context',$obj);