compare the values of a two dimensional array and return a single dimension array in php
<p>how can create a function in php that accept a two dimension array as parameter , something like this:</p>

<pre><code>function check_the_length (array[$a_string][$length]){

return $result
}
</code></pre>

<p>and return an array as an result , like this:</p>

<pre><code>$result=(true,false,true,false);
</code></pre>

<p>By the way if you have any better solution to making such a function please let me know</p>

<p>Thanks in advance</p>
