title: PHP Error : Can't use function return value in write context
body: <p>Can't seem to see what's the problem in this one, 
  Should be simple but i seem to be witless.</p>
  
  <pre><code>    if(empty(search($class,'id',$p_cid))){
       unset($categories[$elementKey]);
   }
  </code></pre>
  
  <p>search function returns an array.</p>