I want to access a property in an object by using $response->audit->id. I have placed audit->id in a variable and acessed it as $response->$str but PHP is escaping the html into >. I get the following exception.
Undefined property: stdClass::$audit->->id
I've tried htmlspecialchars_decode and html_entity_decode but in vain.
