title: php, how to treat arrays with floats inside?
body: <p>example:</p>
  
  <p>the following is correct?</p>
  
  <pre><code>$var = floatval($arr[2]) ;
  </code></pre>
  
  <p>"You cannot use floatval() on arrays..." maybe that's an old directive or how to edit...?</p>