Embedded If/Elses vs. Serialized And (&&) statements?
<p>Is this just a matter of preferences....the code below I'm considering moving to serialized &amp;&amp; statments...which is an effective if/else with embedded if/else ' s .</p>

<pre><code>Is this a preference or is there a "best practice"?

  function invoke()
    {
    $obj=new validate($this-&gt;_protected_arr);
    if($obj-&gt;empty_user())
      {
      if($obj-&gt;email())
        {
        if($obj-&gt;pass())
          {
          if(self::validate())
            {
            self::activate_session();
            $control=new controller_control();
            $control-&gt;send('pass');
            }
          else
            {
            new view_message('validate');
            }
          }
        else
          {
          new view_message('pass');
          }
        }
      else
        {
        new view_message('email');
        }
      }
    else
      {
      new view_message('empty');
      }         
    }
</code></pre>
