title: Send a variable in where clause LINQ PHP
body: <p>For LINQ in PHP, I used <a href="https://github.com/Athari/YaLinqo" rel="nofollow noreferrer">https://github.com/Athari/YaLinqo</a></p>
  
  <p>I don't know how to pass a variable in <code>where</code> clause.</p>
  
  <pre><code>public function filter($arr, $find) {
     Enumerable::from($arr)-&gt;where(function($val) { return stripos($val-&gt;item, $find) &gt; -1; })-&gt;toArray();
  }
  </code></pre>
  
  <p>Seems is not working like <code>$find</code> is not defined but I send it as method's parameter.</p>