if / else simplification to ternary operator
<p>Can this be done for the code below.  Problem I see is that there are two statements in the else clause and I couldn't figure out a way to fit in the echo...I need to return a 1 or a 0.  Perhaps someone knows a trick?</p>

<pre><code>  function empty_user($c)    
    {
    if((int)!in_array('',$this-&gt;a,TRUE)) 
      {
      return 1;
      }
     else
      {
      echo $c;
      return 0;
      } 
    }
</code></pre>
