title: php unserialize error notice
body: <p>When try to unserialize data get this error :</p>
  
  <p>WARNING: Error at offset 221 of 541 bytes</p>
  
  <p>Data :</p>
  
  <pre><code>    a:1:{i:0;a:20:{s:5:"tedad";s:1:"6";s:9:"basketRow";s:2:"23";s:2:"id";s:2:"16";s:5:"title";s:33:"گوشی سامسونگ مدل 34";s:5:"price";s:4:"2000";s:3:"cat";s:1:"1";s:12:"introduction";s:23:"&lt;p&gt;توضیحات&lt;/p&gt;
  ";s:12:"tedad_mojood";s:2:"10";s:8:"discount";s:2:"20";s:7:"special";s:1:"0";s:12:"time_special";s:1:"0";s:13:"onlyclicksite";s:1:"0";s:5:"viewd";s:1:"0";s:6:"colors";s:3:"2,3";s:8:"garantee";s:1:"1";s:10:"idcategory";s:1:"0";s:6:"weight";s:2:"40";s:10:"colorTitle";N;s:13:"garanteeTitle";N;s:13:"discountTotal";i:2400;}}
  </code></pre>
  
  <p>i checked this site and get the same error <a href="https://www.functions-online.com/unserialize.html" rel="nofollow noreferrer">PHP Compiler</a>
  but this site <a href="http://www.unserialize.com/" rel="nofollow noreferrer">PHP Complier</a> return unserialize data.</p>
  
  <p>How can fixed Error </p>