title: PHP: Implode Comma Separated in min() function
body: <p>I'm trying to implement the <code>min()</code> function in my PHP code. The min value should be retried like this:</p>
  
  <pre><code>$ar=array($data[Price]);
  echo min($ar);
  </code></pre>
  
  <p>The problem is that when I echo out <code>$data[Price]</code> I get my prices without commas nor spaces, so it becomes something like this: </p>
  
  <pre><code>$ar=array($data[Price]);
  echo min(373945);  
  </code></pre>
  
  <p>But it should be:</p>
  
  <pre><code>echo min(37, 39, 45);
  </code></pre>
  
  <p>to get 37.</p>
  
  <p>Is there any way to get comma separated values with <code>implode</code>?</p>
  
  <p>My <code>var_dump</code> result of <code>$data[Price]</code>:</p>
  
  <pre><code>NULL 37.00NULL 39.00NULL 45.00
  </code></pre>