SyntaxFix
Write A Post
Hire A Developer
Questions
This code is working fine for me in a loop
$remove = array( "market_value", "sector_id" ); foreach($remove as $key){ unset($obj_name->$key); }