for loop on array of objects lr php code example Example: php loop through array of objects foreach($request as $i => $i_value) { echo $i_value->name; }