original_string: protected function unpack_reference($packed) {
          $reference = unserialize($packed);
          if (empty($reference->url)) {
              // The reference is missing some information. Attempt to update it.
              return unserialize($this->fix_old_style_reference($packed));
          }
  
          return $reference;
      }
code: protected function unpack_reference($packed) {
          $reference = unserialize($packed);
          if (empty($reference->url)) {
              // The reference is missing some information. Attempt to update it.
              return unserialize($this->fix_old_style_reference($packed));
          }
  
          return $reference;
      }
code_tokens: protected function unpack_reference ( $ packed ) { $ reference = unserialize ( $ packed ) ; if ( empty ( $ reference -> url ) ) { // The reference is missing some information. Attempt to update it. return unserialize ( $ this -> fix_old_style_reference ( $ packed ) ) ; } return $ reference ; }
docstring: Unpack the supplied serialized reference, fixing it if required.
  
  @param   string      $packed     The packed reference
  @return  object                  The unpacked reference
docstring_tokens: Unpack the supplied serialized reference fixing it if required .