title: If statement inside variables use without eval() method
body: <p>I try to check a condition using php variable like..</p>
  <pre><code>if ($amount. $row['condition']. $row['amount']) {
      return true;
  } else {
      return false;
  }
  </code></pre>
  <p>but the condition always return true value ,i also echo the single variable it will show the value and also do <code>dd($amount. $rom['condition']. $rom['amount']);</code> it will show <strong>&quot;500&gt;1000&quot;</strong> ,i remove the double qutes and manually past value in if condition it will show false with this condition,  how to solve and write this condition ?</p>