title: can't use OR in blade template
body: <p>When I am developing locally on win10 php7.2 nginx expression like this works just fine</p>
  
  <pre><code>&lt;div class="{{ $menuclass or 'menu'}}"&gt;
  </code></pre>
  
  <p>which gives</p>
  
  <pre><code>&lt;div class="menu"&gt;
  </code></pre>
  
  <p>but as soon as I deploy it via laravel forge to ubuntu machine it fails to work and I get this</p>
  
  <pre><code>&lt;div class="1"&gt;
  </code></pre>
  
  <p>It seems that instead of doing this:</p>
  
  <pre><code>isset($menuclass ) ? $menuclass : 'menu'
  </code></pre>
  
  <p>it just returns 1</p>
  
  <p>Any ideas why?</p>
  
  <p>This feature was blogged about here: <a href="https://laravel-news.com/blade-or-operator" rel="nofollow noreferrer">https://laravel-news.com/blade-or-operator</a></p>
  
  <p>Has it been deprecated in later versions of laravel? </p>