title: abs of an array
body: <p>Which is the easy way of getting the abs of an array in php? It has to be a better way. This works, but in multidimensional array it has some limitations </p>
  
  <pre><code>function make_abs($numbers) {
   $abs_array = array();
  
   foreach($numbers as $key=&gt;$value)
     $abs_array[$key] = abs($value);
  
   return $abs_array;
  }
  </code></pre>