Escape special characters php objects

Escape special characters php objects

$obj->{'my-weird(propname)-property'};