title: PHP How to assign eval(0 to variable
body: <pre><code>&lt;?php  
      $xs = eval("if ('1' == '0')
                  echo 'never';
              else
                  echo 'always';");
  
      //echo $xs;
  </code></pre>
  
  <p>This code returns 'always' but i don't want it.
  I need to take this variable elsewhere.</p>
  
  <p>Sorry for bad english.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>PEOPLE!!!!!!!This sample code. I know that eval() in this case is not needed, but the code in my other projects will be. I need to what eval() returns were entered into a variable. "</p>