title: Another simple "if-else" form in PHP?
body: <p>i read somewhere before, there is another way to perform the if-else statement, the code should be similar to this:</p>
  
  <pre><code>&lt;?php
    $var = "stackoverflow";
    // Here is the if-else
    if(strlen($var) &gt; 1) ? echo "TRUE" : echo "FALSE";
  ?&gt;
  </code></pre>
  
  <p>I could only remember something like this, but it doesn't work, anyone knows how to write this 1 line if-else statement in php??</p>