title: PHP number_format not working
body: <p>I'm making a website and I've got the following problem.
  I'm importing query's from MySql, but to make it easier to understand I'm using local arrays now.</p>
  
  <pre><code>&lt;?php 
              $productnames = array("Raspatat oorlog", "Raspatat mayo", "Raspatat pizza", "Raspatat ui", "Raspatat curry");
              $productprices = array(1.7, 2.3, 2.45, 3.45, 34.669);
  
              echo "&lt;table&gt;
                      &lt;tr&gt;
                          &lt;td&gt;Product&lt;/td&gt;
                          &lt;td&gt;Prijs&lt;/td&gt;
                      &lt;/tr&gt;";
              for($i =0; $i &lt; sizeof($productnames); $i++) {
                  $iprice = number_format((float)$pruductprices[$i], 2, ',', '');
                  echo "&lt;tr&gt;&lt;td&gt;$productnames[$i]&lt;/td&gt;
                  &lt;td&gt;$iprice&lt;/td&gt;&lt;/tr&gt;"; 
              }
  
              echo "&lt;/table&gt;";
              echo $iprice;
          ?&gt;
  </code></pre>
  
  <p>The code is running, but in my table i get a price of 0,00 everywhere.
  Does anyone know why?</p>
  
  <p>Thanks!</p>
  
  <p>(this is the table</p>
  
  <pre><code>Product         Prijs
  Raspatat oorlog |0,00
  Raspatat mayo   |0,00
  Raspatat pizza  |0,00
  Raspatat ui     |0,00
  Raspatat curry  |0,00
  </code></pre>
  
  <p>}</p>