title: remove quote from array without using JSON_NUMERIC_CHECK
body: <p>I am trying to plot a scatter plot using highcharts.</p>
  
  <p>Javascript code:    </p>
  
  <pre><code>&lt;script type='text/javascript'&gt;
  \$(function () {
  var chart;
  \$(document).ready(function() {
     chart = new Highcharts.Chart({
          chart: {
              renderTo: '$div_id',
              type: 'scatter',
              zoomType: 'xy',                
              marginRight: 450,
              marginBottom: 75
          },
  ...
  ...
         series: [{
               name: 'name1',
               data: $data    
         }]
       });
     }); 
  });
  &lt;/script&gt;";
  </code></pre>
  
  <p>My php code:</p>
  
  <pre><code>$data_array4 =  mysql_query("SELECT * from table", $link);
  $ret1 = array();
  while($item = mysql_fetch_array($data_array4)) {
      $La = $item['L'];
      $Ge = $item['G'];
      $ret1[] = array($La,$Ge);
  }
  $data = json_encode($ret1);
  </code></pre>
  
  <p>My data looks like:</p>
  
  <pre><code>data: [["0.457","0.02"],["0.464","0.02"],["0.469","0.01"],["0.469","0.01"]]
  </code></pre>
  
  <p>The chart didn't show up because the double quotes.
  How can I remove them without using $data = json_encode($ret1,JSON_NUMERIC_CHECK), I am on PHP 5.2, cannot use that parameter.</p>
  
  <p>Thanks! </p>