title: Most optimized way to search associative array without using loop
body: <p>for example searching names from the below associative array with out using loop.</p>
  
  <pre><code>$data = array(
              array('name'=&gt;'john doe', 'marks'=&gt;23),
              array('name'=&gt;'stevin smith', 'marks'=&gt;76),
              array('name'=&gt;'david warner', 'marks'=&gt;71)
  );
  </code></pre>