title: Why is after unserialize there is text "1" after array
body: <p>Sorry for my bad English before. I wanna ask why is after unserialize from my database, there is a text "1" after array. Look picture for detail:</p>
  
  <p><a href="https://i.stack.imgur.com/ZMdKG.png" rel="nofollow noreferrer">my database (the data is serialized)</a></p>
  
  <p><a href="https://i.stack.imgur.com/lcgFv.png" rel="nofollow noreferrer">output of after unserialize</a></p>
  
  <pre><code>&lt;div class="form-group"&gt;
                                                          &lt;label class="control-label col-md-3"&gt;Dokumen Pendukung:&lt;/label&gt;
                                                          &lt;div class="col-md-4"&gt;
                                                              &lt;p class="form-control-static"&gt; &lt;?php echo print_r(unserialize($supportDocument)); ?&gt; &lt;/p&gt;
                                                          &lt;/div&gt;
                                                      &lt;/div&gt;
  </code></pre>
  
  <p>I have to try and check my code, there is no suspicious code. please help me.. Thanks.</p>
  
  <pre><code>public function addProposal($DocumentSupport) {
      try {
  
          $stmt = $this-&gt;connect-&gt;prepare("INSERT INTO tbl_proposal(supportDocument)VALUES(:supportDocument)");
  
  
  
          $stmt-&gt;bindParam(":supportDocument", serialize($DocumentSupport));
  
  
          $stmt-&gt;execute();
          return $stmt;
  
      } catch (PDOException $e) {
          echo "Error " . $e-&gt;getMessage();
      }
  }
  </code></pre>