original_string: public static function maybeUnSerialize($original)
      {
          if (! is_string($original) || trim($original) == '') {
              return $original;
          }
  
          /**
           * Check if serialized
           * check with trim
           */
          if (self::isSerialized($original)) {
              /**
               * use trim if possible
               * Serialized value could not start & end with white space
               */
              return @unserialize(trim($original));
          }
  
          return $original;
      }
code: public static function maybeUnSerialize($original)
      {
          if (! is_string($original) || trim($original) == '') {
              return $original;
          }
  
          /**
           * Check if serialized
           * check with trim
           */
          if (self::isSerialized($original)) {
              /**
               * use trim if possible
               * Serialized value could not start & end with white space
               */
              return @unserialize(trim($original));
          }
  
          return $original;
      }
code_tokens: public static function maybeUnSerialize ( $ original ) { if ( ! is_string ( $ original ) || trim ( $ original ) == '' ) { return $ original ; } /**
           * Check if serialized
           * check with trim
           */ if ( self :: isSerialized ( $ original ) ) { /**
               * use trim if possible
               * Serialized value could not start & end with white space
               */ return @ unserialize ( trim ( $ original ) ) ; } return $ original ; }
docstring: Un-serialize value only if it was serialized.
  
  @param  string $original Maybe un-serialized original, if is needed.
  @return mixed  Un-serialized data can be any type.
docstring_tokens: Un - serialize value only if it was serialized .