title: Laravel blade template once echoing variable and once not error
body: <p>I recently found strange behavior of blade in Laravel 5.8.</p>
  
  <p>Let's say I have in file</p>
  
  <pre><code>@extends('layout')
  @section('title','Dodaj playlistę')
  
  @section('content')
  
   {{$hosts = \App\Host::all()}}
  
  &lt;h2&gt;Dodaj audycję do bazy&lt;/h2&gt;
  </code></pre>
  
  <p>in the middle of the file I have </p>
  
  <pre><code> {{$hosts = \App\Host::all()}}
  
      @foreach ($hosts as $man)
         &lt;option value='{{$man-&gt;id}}'&gt;{{$man-&gt;name}} &lt;/option&gt;
      @endforeach
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/WfpHF.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WfpHF.png" alt="enter image description here"></a>
  The problem is I always get the first $hosts variable echoed, while second not. What the hell? Such variable shouldn't be echoed at all because the command is only variable value attribution.</p>
  
  <p>I've checked all my routes, there is no dd() or var_dump() command anyhere.</p>