title: Laravel 5.0 whereRaw concat like
body: <p>I am using Laravel 5.0.</p>
  
  <p>I have this:</p>
  
  <pre><code>return User::whereRaw("CONCAT(first_name, ' ', last_name) LIKE '%?%'", ['test'])-&gt;get();
  </code></pre>
  
  <p>and it returns <code>[]</code>.</p>
  
  <p>When I change it to: </p>
  
  <pre><code>return User::whereRaw("CONCAT(first_name, ' ', last_name) LIKE '%test%'")-&gt;get();
  </code></pre>
  
  <p>it returns an array with 3 users.</p>
  
  <p>I added this before the query:</p>
  
  <pre><code>\DB::listen(function($sql, $bindings) {
      var_dump($sql);
      var_dump($bindings);
  });
  </code></pre>
  
  <p>And I get: </p>
  
  <pre><code>string(73) "select * from `users` where CONCAT(first_name, ' ', last_name) LIKE '%?%'"
  array(1) {
    [0]=&gt;
    string(4) "test"
  }
  </code></pre>
  
  <p>I can't figure out what I am doing wrong.</p>