title: Applying a function for each value of an array
body: <p>Considering an array of strings:</p>
  <pre><code>$array = ('hello', 'hello1', 'hello2');
  </code></pre>
  <p>I need to <code>preg_quote($value,'/');</code> each of the values.</p>
  <p>I want to avoid using <code>foreach</code>. Array walk doesn't work because it passes the key too.</p>
  <pre><code>array_walk($array,'preg_quote','/'); //&gt; Errors, third parameter given to preg_quote
  </code></pre>
  <p>Any alternative?</p>