title: php json_encode returning null
body: <pre><code>Array
  (
      [sEcho] =&gt; 1
      [iTotalRecords] =&gt; 7521
      [iTotalDisplayRecords] =&gt; 1
      [aaData] =&gt; Array
          (
              [0] =&gt; Array
                  (
                      [0] =&gt; Nordic Capital Buys SiC Processing
                      [1] =&gt; 2010-06-21/nordic-capital-buys-sic-processing
                      [2] =&gt; PEHub Media
                      [3] =&gt; Business
                      [4] =&gt; completed
                      [5] =&gt; Nordic Capital has acquired a 70% stake in SiC Processing AG, a German industrial recycling company, from Frog Capital. No sale price was disclosed.  SiC Processing’s founding family retains a 25% holding, while former lead investor Zouk Ventures retains a 5% stake.
  
                      [6] =&gt; Admin, China, Frog Capital, Germany, Italy, Iyad Omari, Manufacturing, Norway, PEHub Media, Photovoltaic Wafer Manufacturing, Renewable Energy, Semiconductor, United States
                  )
  
          )
  
  )
  
  echo json_encode($myArr);
  </code></pre>
  
  <blockquote>
    <p>{"sEcho":"1","iTotalRecords":7521,"iTotalDisplayRecords":"1","aaData":[["
    Nordic Capital Buys SiC Processing&lt;/a>&lt;/div>","
    2010-06-21/nordic-capital-buys-sic-processing&lt;/div>","PEHub Media","Business","completed",<strong><em>null</em></strong>,"
    Admin, China, Frog Capital, Germany, Italy, Iyad Omari, Manufacturing, Norway, PEHub Media, Photovoltaic Wafer Manufacturing, Renewable Energy, Semiconductor, United States]]}</p>
  </blockquote>
  
  <p><strong>Note the null in the middle of the string after completed</strong></p>
  
  <p>Why is this, what escape/manipulation do I need to perform in order to encode this?</p>
  
  <p>I have tried, <code>addslashes</code></p>