title: Why validation triggers error in Laravel?
body: <p>Faced the problem while using Laravel 4 validation. Here's the code:</p>
  
  <pre><code>$validator = Validator::make(
                array(
                    'surname' =&gt; ['Laravel'],
                ),
                array(
                    'surname' =&gt; 'integer|alpha_dash'
                )
          );
          $validator-&gt;passes();        
          var_dump($validator-&gt;failed());
  </code></pre>
  
  <p>It causes error: <strong>Error: preg_match() expects parameter 2 to be string, array given</strong></p>
  
  <p>Lets suppose surname comes from user and it can be array or string.</p>
  
  <p>I have two questions:</p>
  
  <ol>
  <li>Why alpha_dash causes error instead of normal validation error?</li>
  <li>Why validation continues to 'alpha_dash' rule after we got FALSE on 'integer' rule? Is this a bug?</li>
  </ol>