title: Ternary Operator Inside PHP String
body: <p>I want to evaluate a simple ternary operator inside of a string and can't seem to find the correct syntax.</p>
  
  <p>My code looks like this:</p>
  
  <pre><code>foreach ($this-&gt;team_bumpbox as $index=&gt;$member) 
      echo ".... class='{((1) ? abc : def)}'&gt;....";
  </code></pre>
  
  <p>but I can't seem to get it to work properly. Any ideas on how to implement this?</p>