title: use unserilize for compute lenght array and special value
body: <p>My data was save in database in serialize format.
  I want to unserialize data that i get from select query then compute length of this and return index of some value in data.
  result of unserialize data is like</p>
  <pre><code>Array ( [0] =&gt; [1] =&gt; 3445 [2] =&gt; [3] =&gt; 3446 [4] =&gt; [5] =&gt; 3452 [6] =&gt; [7] =&gt; 3530 [8] =&gt; 3555 )
  </code></pre>
  <p>how can I compute array length and return index of special value?
  in my code length of value false number</p>
  <pre><code>$str = $row-&gt;cur;
  $str_len=unserialize($str);
  print_r($str_len);
  $str_length=count($str_len);
  </code></pre>